Revision 905705

Go back to digest for 11th January 2009

Features in Games

Stefan Majewsky committed changes in /trunk/playground/games/kolf-ng/elements:

Replace the element registry list with a macro-based object registration system (the macro is certainly one of the coolest pieces of code I've written up to now).

File Changes

Added 2 files
  • /trunk/playground/games/kolf-ng/elements
  •   /objectfactory.cpp
  •   /objectfactory.h
Deleted 1 files
  • /trunk/playground/games/kolf-ng/elements/registry.cpp
Modified 6 files
  • /trunk/playground/games/kolf-ng/elements
  •   /ball.cpp
  •   /object-ellipseblock.cpp
  •   /object-hole.cpp
  •   /object-rectblock.cpp
  •   /object-wall.cpp
  •   /object.h
9 files changed in total