From 002a59c540cdb6a504fa195d38a8f2adf085f53d Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 12 Nov 2015 00:52:21 +0100 Subject: MADS: Implement syncTimers, add SyncType enum, modify all the calls to syncTimers --- engines/mads/game.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/mads/game.h') 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 -- cgit v1.2.3