Revision 801362

Go back to digest for 27th April 2008

Features in Games

Stefan Majewsky committed changes in /trunk/playground/games/palapeli/src:

Major refactoring of Palapeli's infrastructure to increase maintainability and extensibility. Highlights:
* new Manager class to manage gameplay and hold references to all game objects (any game object just get a Manager* and can thus access all other objects)
* Scene class is removedAlso, the window does now delete itself on closing. This fixes the bug which caused Palapeli to crash on exit (until we inserted some QPointer magic into main()).

File Changes

Added 4 files
  • /trunk/playground/games/palapeli/src
  •   /manager.cpp
  •   /manager.h
  •   /piecerelation.cpp
  •   /piecerelation.h
Deleted 2 files
  • /trunk/playground/games/palapeli/src
  •   /scene.cpp
  •   /scene.h
Modified 19 files
  • /trunk/playground/games/palapeli/src
  •   /CMakeLists.txt
  •   /main.cpp
  •   /mainwindow.cpp
  •   /mainwindow.h
  •   /minimap.cpp
  •   /minimap.h
  •   /palapeliui.rc
  •   /part.cpp
  •   /part.h
  •   /pattern-abstract.cpp
  •   /pattern-abstract.h
  •   /pattern-rect.cpp
  •   /pattern-rect.h
  •   /piece.cpp
  •   /piece.h
  •   /preview.cpp
  •   /preview.h
  •   /view.cpp
  •   /view.h
25 files changed in total