22 #ifndef ASYLUM_PUZZLES_VCR_H 23 #define ASYLUM_PUZZLES_VCR_H 25 #include "asylum/puzzles/puzzle.h" 27 #include "asylum/shared.h" 38 const int16 puzzleVCRPolygons[10][4] = {
39 {0x0F7, 0x157, 0x13A, 0x183},
40 {0x14B, 0x15C, 0x17B, 0x18B},
41 {0x18C, 0x161, 0x1D2, 0x18F},
42 {0x1FB, 0x156, 0x233, 0x185},
43 {0x154, 0x196, 0x173, 0x1AF},
44 {0x19A, 0x19B, 0x1B9, 0x1B3},
45 {0x1E3, 0x1A0, 0x202, 0x1BC},
46 {0x0, 0x19B, 0x3C, 0x1E0},
47 {0x4C, 0x1AC, 0x0A0, 0x1E0},
48 {0x0BB, 0x1B7, 0x0F0, 0x1E0}
98 JackState _jacksState[3];
99 JackState _holesState[3];
100 ButtonState _buttonsState[4];
101 uint32 _tvScreenFrameIndex;
102 bool _isAccomplished;
122 void updateBlackJack();
123 void updateRedJack();
124 void updateYellowJack();
127 void updatePowerButton();
128 void updateRewindButton();
129 void updatePlayButton();
130 void updateStopButton();
137 int inPolygon(
const Common::Point &point,
int polyIdx)
const;
138 Color getJackOnHand()
const;
139 void setJackOnHole(Color hole, JackState state, JackState newState);
140 void pickJack(Color jack);
146 #endif // ASYLUM_PUZZLES_VCR_H
Definition: serializer.h:79
Definition: eventhandler.h:43