aboutsummaryrefslogtreecommitdiff
path: root/sword2/sword2.h
diff options
context:
space:
mode:
authorJonathan Gray2003-07-28 07:00:15 +0000
committerJonathan Gray2003-07-28 07:00:15 +0000
commit77cf6b7c3e66cca495e9ddbc92dad68a1874ee17 (patch)
tree9666199f71264dad443687a0326099c62800973a /sword2/sword2.h
parent376f78f7f650604d580a3c681ab20b490667f289 (diff)
downloadscummvm-rg350-77cf6b7c3e66cca495e9ddbc92dad68a1874ee17.tar.gz
scummvm-rg350-77cf6b7c3e66cca495e9ddbc92dad68a1874ee17.tar.bz2
scummvm-rg350-77cf6b7c3e66cca495e9ddbc92dad68a1874ee17.zip
add bs2demo target for broken sword 2 demo
svn-id: r9229
Diffstat (limited to 'sword2/sword2.h')
-rw-r--r--sword2/sword2.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/sword2/sword2.h b/sword2/sword2.h
index 0ec86e8c39..2f13c7bb1c 100644
--- a/sword2/sword2.h
+++ b/sword2/sword2.h
@@ -36,23 +36,30 @@ void Close_game(); //Tony11Oct96
void PauseGame(void); // James17jun97
void UnpauseGame(void); // James17jun97
-void Start_game(void); // James13aug97
#define HEAD_LEN 8
extern uint8 version_string[]; // for displaying from the console
extern uint8 unencoded_name[];
+enum BSGameId {
+ GID_BS2 = GID_BS2_FIRST,
+ GID_BS2_DEMO
+};
// TODO move stuff into class
class BS2State : public Engine {
void errorString(const char *buf_input, char *buf_output);
public:
BS2State(GameDetector *detector, OSystem *syst);
- void go();
- void parseEvents();
+ void go(void);
+ void parseEvents(void);
+ void Start_game(void);
+ int32 InitialiseGame(void);
OSystem *_syst;
GameDetector *_detector;
+ uint32 _features;
+ byte _gameId;
private:
bool _quit;
};