Revision 831086

Go back to digest for 13th July 2008

Other in Games

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

Start of a refactoring.
The code has at some points turned into quite a mess.

Some class interfaces need a redesign and cleanup, esp. to speed up compilation and prepare for the introduction of the pattern plugin architecture.

So here we go:
Refactoring, part 1: Turn Manager into a singleton, access Manager through ppMgr() from all other classes.

File Changes

Modified 21 files
  • /trunk/playground/games/palapeli/game
  •   /main.cpp
  •   /mainwindow.cpp
  •   /mainwindow.h
  •   /manager.cpp
  •   /manager.h
  •   /minimap.cpp
  •   /minimap.h
  •   /part.cpp
  •   /part.h
  •   /pattern-abstract.cpp
  •   /pattern-abstract.h
  •   /pattern-rect.cpp
  •   /pattern-rect.h
  •   /piece.cpp
  •   /piece.h
  •   /saveaction.cpp
  •   /saveaction.h
  •   /savegameview.cpp
  •   /savegameview.h
  •   /view.cpp
  •   /view.h
21 files changed in total