Implemented restore from last game feature master
authorMichael Hasselmann <michael@taschenorakel.de>
Thu, 22 Jul 2010 23:01:54 +0000 (02:01 +0300)
committerMichael Hasselmann <michael@taschenorakel.de>
Thu, 22 Jul 2010 23:01:54 +0000 (02:01 +0300)
commit8c2d61905402e7b505a90f6a9aae92d089bbfeb6
treecfd8f8f021c12bffb6648bf13137439e28a03713
parent5a3d463ff5cf06329d445261eab14b10e7be53e7
Implemented restore from last game feature

* src/game.cc, src/game_store.[h|cc]: Miniature stores each new position of a
  game via QSettings, so that a game can be restored after crashes etc. The
  code does not look efficient at all, but works for now.

* src/dashboard_item.[h|cc]: Via the requests menu (in-game), the user can now
  restore the last game.
src/dashboard_item.cc
src/dashboard_item.h
src/game.cc
src/game_store.cc
src/game_store.h