diff options
author | Strangerke | 2015-11-12 00:52:21 +0100 |
---|---|---|
committer | Strangerke | 2015-11-12 00:52:21 +0100 |
commit | 002a59c540cdb6a504fa195d38a8f2adf085f53d (patch) | |
tree | 363c63323beeec8f8b3f7efb07eca150dec037e8 /engines/mads/game.h | |
parent | 8753ee9f95ab7bdd5be8e45c092f84c0d72e5b73 (diff) | |
download | scummvm-rg350-002a59c540cdb6a504fa195d38a8f2adf085f53d.tar.gz scummvm-rg350-002a59c540cdb6a504fa195d38a8f2adf085f53d.tar.bz2 scummvm-rg350-002a59c540cdb6a504fa195d38a8f2adf085f53d.zip |
MADS: Implement syncTimers, add SyncType enum, modify all the calls to syncTimers
Diffstat (limited to 'engines/mads/game.h')
-rw-r--r-- | engines/mads/game.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/game.h b/engines/mads/game.h index 30fcf99907..c1cd4fd4c0 100644 --- a/engines/mads/game.h +++ b/engines/mads/game.h @@ -44,6 +44,11 @@ enum KernelMode { KERNEL_ROOM_PRELOAD = 3, KERNEL_ROOM_INIT = 4, KERNEL_ACTIVE_CODE = 5 }; +enum SyncType { + SYNC_SEQ = 1, SYNC_PLAYER = 2, SYNC_ANIM = 3, SYNC_CLOCK = 4 +}; + + #define MADS_SAVEGAME_VERSION 1 struct MADSSavegameHeader { @@ -236,7 +241,7 @@ public: */ void createThumbnail(); - void syncTimers(int slave_type, int slave_id, int master_type, int master_id); + void syncTimers(SyncType slaveType, int slaveId, SyncType masterType, int masterId); typedef struct { //TODO |