aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos/morphos_timer.h
diff options
context:
space:
mode:
authorRuediger Hanke2002-08-22 10:43:50 +0000
committerRuediger Hanke2002-08-22 10:43:50 +0000
commit31f6833f87da3af3c480d0b6e605c3565efef1d0 (patch)
tree18530341c2b5ed81fb767ec424add41a32c94039 /backends/morphos/morphos_timer.h
parente0cfd49ef794cff5641dbca71ff3fa70c35fc738 (diff)
downloadscummvm-rg350-31f6833f87da3af3c480d0b6e605c3565efef1d0.tar.gz
scummvm-rg350-31f6833f87da3af3c480d0b6e605c3565efef1d0.tar.bz2
scummvm-rg350-31f6833f87da3af3c480d0b6e605c3565efef1d0.zip
Made MorphOS port use master makefile, few compilation fixes
svn-id: r4800
Diffstat (limited to 'backends/morphos/morphos_timer.h')
-rw-r--r--backends/morphos/morphos_timer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/backends/morphos/morphos_timer.h b/backends/morphos/morphos_timer.h
index 1593b29a5c..05f710719a 100644
--- a/backends/morphos/morphos_timer.h
+++ b/backends/morphos/morphos_timer.h
@@ -44,13 +44,13 @@
class OSystem;
#define TSM_MSGID_ADDTIMER 0
-#define TSM_MSGID_REMTIMER 1
+#define TSM_MSGID_REMTIMER 1
struct TimerServiceMessage
{
Message tsm_Message;
ULONG tsm_MsgID;
- int ((*tsm_Callback)(int));
+ TimerProc tsm_Callback;
LONG tsm_Interval;
};
@@ -62,12 +62,12 @@ class Timer
bool init();
void release();
- bool installProcedure(int ((*procedure)(int)), int32 interval);
- void releaseProcedure(int ((*procedure)(int)));
+ bool installProcedure(TimerProc procedure, int32 interval);
+ void releaseProcedure(TimerProc procedure);
protected:
- bool SendMsg(ULONG MsgID, int ((*procedure)(int)), LONG interval);
- static void TimerService(Timer *);
+ bool SendMsg(ULONG MsgID, TimerProc procedure, LONG interval);
+ static void TimerService(Timer *, Scumm *);
Process *TimerServiceThread;
SignalSemaphore TimerServiceSemaphore;
@@ -77,7 +77,7 @@ class Timer
MsgPort *ts_Port;
timerequest *ts_IORequest;
ULONG ts_SignalBit;
- int ((*ts_Callback)(int));
+ TimerProc ts_Callback;
LONG ts_Interval;
};
};