22 #ifndef NEVERHOOD_MODULES_MODULE2200_SPRITES_H 23 #define NEVERHOOD_MODULES_MODULE2200_SPRITES_H 25 #include "neverhood/neverhood.h" 26 #include "neverhood/module.h" 27 #include "neverhood/scene.h" 28 #include "neverhood/graphics.h" 32 static const NPoint kSsScene2201PuzzleCubePoints[] = {
33 {305, 305}, {321, 305}, {336, 305}, {305, 319},
34 {321, 319}, {336, 319}, {305, 332}, {321, 332},
38 static const uint32 kSsScene2201PuzzleCubeFileHashes[] = {
39 0x88134A44, 0xAA124340, 0xB8124602, 0xA902464C,
40 0x890A4244, 0xA8124642, 0xB812C204, 0x381A4A4C
75 int16 _xDelta, _yDelta;
81 bool _counterDirection;
87 void moveCube(int16 newCubePosition);
156 int16 _destPointIndex, _destPointIndexDelta;
160 void suSetPosition();
161 void moveToY(int16 y);
171 void stLeverDownEvent();
173 void stLeverUpEvent();
183 void stStartAnimation();
184 void stStopAnimation();
185 void cbStopAnimation();
194 void stStartAnimation();
195 void stStopAnimation();
196 void cbStopAnimation();
208 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
215 void stClayDoorOpen();
218 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
225 void xUpdate()
override;
226 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
234 void stRidePlatformDown();
235 void suRidePlatformDown();
237 void xUpdate()
override;
238 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
245 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
252 void xUpdate()
override;
253 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
260 void xUpdate()
override;
261 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
268 void xUpdate()
override;
269 uint32 xHandleMessage(
int messageNum,
const MessageParam ¶m)
override;
Definition: module2200_sprites.h:188
Definition: background.h:30
Definition: module2200_sprites.h:62
Definition: module2200_sprites.h:256
Definition: module2200_sprites.h:164
Definition: module2200_sprites.h:248
Definition: module2200_sprites.h:229
Definition: module2200_sprites.h:91
Definition: neverhood.h:60
Definition: module2200_sprites.h:67
Definition: module2200_sprites.h:176
Definition: module2200_sprites.h:140
Definition: module2200_sprites.h:43
Definition: module2200_sprites.h:148
Definition: module2200_sprites.h:221
Definition: module2200_sprites.h:112
Definition: graphics.h:42
Definition: module2200_sprites.h:264
Definition: module2200_sprites.h:48
Definition: module2200_sprites.h:204
Definition: module2200_sprites.h:119
Definition: module2200_sprites.h:241
Definition: module2200_sprites.h:199
Definition: module2200_sprites.h:100
Definition: module2200_sprites.h:211