22 #ifndef NANCY_ACTION_BULPUZZLE_H 23 #define NANCY_ACTION_BULPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 37 void updateGraphics()
override;
40 void execute()
override;
44 enum BulAction { kNone, kRoll, kPass, kReset, kCapture };
46 void movePiece(
bool player);
47 void reset(
bool capture);
49 Common::String getRecordTypeName()
const override {
return "BulPuzzle"; }
50 bool isViewportRelative()
const override {
return true; }
55 uint16 _numPieces = 0;
58 uint16 _playerStart = 0;
59 uint16 _enemyStart = 0;
106 uint16 _solveSoundDelay = 0;
110 uint16 _loseSoundDelay = 0;
116 int16 _playerPos = 0;
117 int16 _playerPieces = 0;
119 int16 _enemyPieces = 0;
122 uint16 _moveDiff = 0;
123 uint32 _nextMoveTime = 0;
124 bool _pushedButton =
false;
125 bool _changeLight =
false;
126 BulAction _currentAction = kNone;
128 bool _playerWon =
false;
134 #endif // NANCY_ACTION_BULPUZZLE_H Definition: managed_surface.h:51
Definition: bulpuzzle.h:31
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: commontypes.h:254
Definition: actionmanager.h:32