30 #define PUZZLE_SOUNDS 3622 31 #define PUZZLE_TOOL_SOUNDS (PUZZLE_SOUNDS + 0) 32 #define PUZZLE_HINT_SOUNDS (PUZZLE_SOUNDS + 45) 33 #define PUZZLE_SOLICIT_SOUNDS (PUZZLE_SOUNDS + 57) 34 #define PUZZLE_WHINE_SOUNDS (PUZZLE_SOUNDS + 72) 35 #define PUZZLE_SAKKA_SOUNDS (PUZZLE_SOUNDS + 87) 42 kRQHintRequestedStage2 = 2,
44 kRQSkipEverything = 4,
55 kRQStates _hintRqState;
56 kRQStates _hintNextRqState;
64 int _piecePriority[PUZZLE_PIECES];
74 bool isSolved() {
return _solved; }
75 bool isActive() {
return _active; }
77 void handleReply(
int reply);
78 void handleClick(
Point mousePt);
80 void movePiece(
Point mousePt);
83 void initPieceInfo(
int i, int16 curX, int16 curY, byte offX, byte offY, int16 trgX,
84 int16 trgY, uint8 flag, uint8 count,
Point point0,
Point point1,
87 static void hintTimerCallback(
void *refCon);
93 void slidePiece(
int x1,
int y1,
int x2,
int y2);
94 void dropPiece(
Point mousePt);
95 void alterPiecePriority();
96 void drawCurrentPiece();
114 PieceInfo _pieceInfo[PUZZLE_PIECES];
115 int _slidePointX, _slidePointY;