22 #ifndef SUPERNOVA2_STATE_H 23 #define SUPERNOVA2_STATE_H 25 #include "common/events.h" 26 #include "common/rect.h" 27 #include "common/keyboard.h" 28 #include "supernova/room.h" 29 #include "supernova/supernova2/rooms.h" 30 #include "supernova/sound.h" 31 #include "supernova/game-manager.h" 55 EventFunction _eventCallback;
65 byte _pressureCounter;
67 byte _taxiPossibility;
77 void updateEvents()
override;
78 void executeRoom()
override;
85 unsigned char _puzzleField[16];
90 RoomId _securityTab[10];
93 void initState()
override;
94 void initRooms()
override;
95 void destroyRooms()
override;
96 bool canSaveGameStateCurrently()
override;
97 bool genericInteract(Action verb,
Object &obj1,
Object &obj2)
override;
98 void roomBrightness()
override {}
99 void drawMapExits()
override;
100 void handleInput()
override;
101 void handleTime()
override;
102 void loadTime()
override {}
103 void saveTime()
override {}
104 void takeMoney(
int amount)
override;
107 void taxiUnknownDestination();
108 void taxiPayment(
int price,
int destination);
109 void playerTakeOut();
112 bool talk(
int mod1,
int mod2,
int rest, MessagePosition pos,
int id);
113 bool talkRest(
int mod1,
int mod2,
int rest);
115 void passageConstruction();
116 byte wall(
int s,
int z,
int direction,
int stepsForward,
int stepsRight);
119 void puzzleConstruction();
124 void crack(
int time);
125 bool crackDoor(
int time);
126 void museumDoorInteract(Action verb,
Object &obj1,
Object &obj2);
127 void securityEntrance();
128 void pressureAlarmCount();
129 void pressureAlarmEntrance();
134 #endif // SUPERNOVA2_STATE_H Definition: supernova.h:61
Definition: game-manager.h:101
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
Definition: msn_def.h:210