22 #ifndef TSAGE_RINGWORLD_LOGIC_H 23 #define TSAGE_RINGWORLD_LOGIC_H 25 #include "common/scummsys.h" 26 #include "tsage/events.h" 27 #include "tsage/core.h" 28 #include "tsage/scenes.h" 29 #include "tsage/globals.h" 35 using namespace TsAGE;
39 static Scene *createScene(
int sceneNumber);
45 bool performAction(
int action);
49 void doAction(
int action)
override {
50 if (!performAction(action))
51 SceneHotspot::doAction(action);
58 bool performAction(
int action);
62 void doAction(
int action)
override {
63 if (!performAction(action))
64 SceneHotspot::doAction(action);
73 SceneObject::synchronize(s);
74 s.syncAsSint16LE(_state);
76 Common::String getClassName()
override {
return "SceneObjectExt"; }
93 void setup(
int resNum,
int rlbNum,
int subNum,
int actionId);
99 virtual void draw(
bool flag);
146 Common::String getClassName()
override {
return "RingworldInvObjectList"; }
149 #define RING_INVENTORY (*((::TsAGE::Ringworld::RingworldInvObjectList *)g_globals->_inventory)) 153 void start()
override;
154 void restart()
override;
155 void endGame(
int resNum,
int lineNum)
override;
157 Scene *createScene(
int sceneNumber)
override;
158 void processEvent(
Event &event)
override;
159 void rightClick()
override;
160 bool canSaveGameStateCurrently()
override;
161 bool canLoadGameStateCurrently()
override;
168 void doAction(
int action)
override;
180 NamedHotspot::synchronize(s);
181 s.syncAsSint16LE(_flag);
Definition: saveload.h:98
Definition: ringworld_logic.h:151
Definition: ringworld_logic.h:55
Definition: ringworld_logic.h:68
Definition: ringworld_logic.h:42
Definition: ringworld_logic.h:105
Definition: ringworld_logic.h:173
Definition: graphics.h:79
Definition: blueforce_dialogs.h:30
Definition: saveload.h:63
Definition: graphics.h:40
Definition: ringworld_logic.h:79
Definition: ringworld_logic.h:37
Definition: ringworld_logic.h:164