Changeset View
Changeset View
Standalone View
Standalone View
dealer.h
| Context not available. | |||||
| 110 | virtual bool isGameWon() const; | 110 | virtual bool isGameWon() const; | ||
|---|---|---|---|---|---|
| 111 | 111 | | |||
| 112 | bool allowedToStartNewGame(); | 112 | bool allowedToStartNewGame(); | ||
| 113 | int moveCount() const; | 113 | virtual int moveCount() const; | ||
| 114 | 114 | | |||
| 115 | void saveFile( QIODevice * io ); | 115 | void saveFile( QIODevice * io ); | ||
| 116 | bool loadFile( QIODevice * io ); | 116 | bool loadFile( QIODevice * io ); | ||
| Context not available. | |||||
| 241 | QTimer m_dropTimer; | 241 | QTimer m_dropTimer; | ||
| 242 | 242 | | |||
| 243 | int m_dealNumber; | 243 | int m_dealNumber; | ||
| 244 | protected: | ||||
| 244 | int m_loadedMoveCount; | 245 | int m_loadedMoveCount; | ||
| 246 | private: | ||||
| 245 | int m_neededFutureMoves; | 247 | int m_neededFutureMoves; | ||
| 246 | int m_supportedActions; | 248 | int m_supportedActions; | ||
| 247 | 249 | | |||
| Context not available. | |||||
| 275 | bool m_newCardsQueued; | 277 | bool m_newCardsQueued; | ||
| 276 | bool m_takeStateQueued; | 278 | bool m_takeStateQueued; | ||
| 277 | 279 | | |||
| 280 | protected: | ||||
| 278 | QStack<GameState*> m_undoStack; | 281 | QStack<GameState*> m_undoStack; | ||
| 279 | GameState * m_currentState; | 282 | GameState * m_currentState; | ||
| 280 | QStack<GameState*> m_redoStack; | 283 | QStack<GameState*> m_redoStack; | ||
| 281 | QHash<KCard*,CardState> m_lastKnownCardStates; | 284 | QHash<KCard*,CardState> m_lastKnownCardStates; | ||
| 285 | private: | ||||
| 282 | 286 | | |||
| 283 | QList<QPair<KCard*,KCardPile*> > m_multiStepMoves; | 287 | QList<QPair<KCard*,KCardPile*> > m_multiStepMoves; | ||
| 284 | int m_multiStepDuration; | 288 | int m_multiStepDuration; | ||
| Context not available. | |||||