aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.h
diff options
context:
space:
mode:
authorGregory Montoir2004-01-08 16:41:03 +0000
committerGregory Montoir2004-01-08 16:41:03 +0000
commit370589dde52b4419e7d1412e9b5cc74a331f980d (patch)
treef1e7c70a8abc0871e84001a26d893b115be5a590 /queen/logic.h
parentafc254fa7671dba525d9c97ddc53eb2694eadd6b (diff)
downloadscummvm-rg350-370589dde52b4419e7d1412e9b5cc74a331f980d.tar.gz
scummvm-rg350-370589dde52b4419e7d1412e9b5cc74a331f980d.tar.bz2
scummvm-rg350-370589dde52b4419e7d1412e9b5cc74a331f980d.zip
cleanup, xref update
svn-id: r12256
Diffstat (limited to 'queen/logic.h')
-rw-r--r--queen/logic.h38
1 files changed, 23 insertions, 15 deletions
diff --git a/queen/logic.h b/queen/logic.h
index 14f3cfc869..1a7df1aa39 100644
--- a/queen/logic.h
+++ b/queen/logic.h
@@ -77,6 +77,14 @@ public:
error("Invalid room number: %i", room);
}
+ bool isAltIntroRoom(uint16 room) const {
+ return room >= 90 && room <= 94;
+ }
+
+ bool isIntroRoom(uint16 room) const {
+ return room >= 115 && room <= 125;
+ }
+
ObjectData *objectData(int index) const;
uint16 roomData(int room) const { return _roomData[room]; }
GraphicData *graphicData(int index) const { return &_graphicData[index]; }
@@ -183,7 +191,7 @@ public:
//! Copy data from dummy object to object
void objectCopy(int dummyObjectIndex, int objectIndex);
- void handleSpecialArea(int facing, uint16 areaNum, uint16 walkDataNum);
+ void handleSpecialArea(Direction facing, uint16 areaNum, uint16 walkDataNum);
void handlePinnacleRoom();
@@ -207,6 +215,20 @@ public:
void executeSpecialMove(uint16 sm);
+ void startCredits(const char *filename);
+ void stopCredits();
+
+ enum {
+ JOE_RESPONSE_MAX = 40,
+ DEFAULT_TALK_SPEED = 7 * 3,
+ GAME_STATE_COUNT = 211,
+ TALK_SELECTED_COUNT = 86
+ };
+
+protected:
+
+ void initialise();
+
void asmMakeJoeUseDress();
void asmMakeJoeUseNormalClothes();
void asmMakeJoeUseUnderwear();
@@ -248,20 +270,6 @@ public:
void asmInterviewIntro();
void asmEndInterview();
- void startCredits(const char *filename);
- void stopCredits();
-
- enum {
- JOE_RESPONSE_MAX = 40,
- DEFAULT_TALK_SPEED = 7 * 3,
- GAME_STATE_COUNT = 211,
- TALK_SELECTED_COUNT = 86
- };
-
-protected:
-
- void initialise();
-
virtual bool preChangeRoom() = 0;
virtual bool handleSpecialMove(uint16 sm) = 0;