Revision 1218289

Go back to digest for 6th February 2011

Other in Games

Parker Coates committed changes in /trunk/KDE/kdegames/kpat:

Move the pile layout animation from KCardPile to KCardScene.

This was the last bit of animating code living outside of KCardScene,
causing some ugly workarounds to get specialised behaviour. This commit
doesn't fixed all those, but it should make it easier to do so in the
future.

KCardPile is now only responsible for telling the KCardScene where it
thinks its cards should be placed (in layout space) and the scene
performs the animating and makes adjustments if things don't fit. All
in all this should be much cleaner.

File Changes

Modified 7 files
  • /trunk/KDE/kdegames/kpat
  •   /dealer.cpp
  •   /freecell.cpp
  •   /spider.cpp
  •   /libkcardgame/kcardpile.cpp
  •   /libkcardgame/kcardpile.h
  •   /libkcardgame/kcardscene.cpp
  •   /libkcardgame/kcardscene.h
7 files changed in total