aboutsummaryrefslogtreecommitdiff
path: root/sky/sky.h
diff options
context:
space:
mode:
authorJoost Peters2003-03-11 18:32:58 +0000
committerJoost Peters2003-03-11 18:32:58 +0000
commit5af41d1bc657d071fa939bd3f326c3562f4d4850 (patch)
tree8c02b96a435f2cb261829f3636e74404fae298fa /sky/sky.h
parentd7f21b46e84c259f28c6382cba1b074fddd52839 (diff)
downloadscummvm-rg350-5af41d1bc657d071fa939bd3f326c3562f4d4850.tar.gz
scummvm-rg350-5af41d1bc657d071fa939bd3f326c3562f4d4850.tar.bz2
scummvm-rg350-5af41d1bc657d071fa939bd3f326c3562f4d4850.zip
added timers, full cd-intro and fixed some minor issues
svn-id: r6797
Diffstat (limited to 'sky/sky.h')
-rw-r--r--sky/sky.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/sky/sky.h b/sky/sky.h
index d6664111d9..1358500554 100644
--- a/sky/sky.h
+++ b/sky/sky.h
@@ -25,6 +25,7 @@
#include <stdio.h>
#include "common/engine.h"
#include "common/util.h"
+#include "common/timer.h"
#include "sound/mixer.h"
#include "sky/sound.h"
@@ -36,6 +37,10 @@ protected:
bool _isDemo;
byte _key_pressed;
+ uint32 _tseqFrames;
+ byte *_tseqData;
+ uint32 _tseqCounter;
+
uint16 _debugMode;
uint16 _debugLevel;
uint16 _language;
@@ -50,7 +55,8 @@ protected:
uint32 _lastLoadedFileSize;
-// int _timer_id;
+ Timer *_timer;
+ //int _timer_id;
FILE *_dump_file;
@@ -81,6 +87,7 @@ protected:
void convertPalette(uint8 *inpal, uint8* outpal);
void initialise();
+ void initTimer();
void initialiseDisk();
void initialiseScreen();
void initialiseGrids();
@@ -96,7 +103,10 @@ protected:
void intro();
void doCDIntro();
void showScreen();
-
+ void startTimerSequence(byte *sequence);
+ static void timerHandler(void *ptr);
+ void doTimerSequence();
+
static int CDECL game_thread_proc(void *param);
void shutdown();