aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2006-06-24 09:34:49 +0000
committerMax Horn2006-06-24 09:34:49 +0000
commit75628fe9d7fa636da792d278b36396c3934ddf0e (patch)
tree2b206b49fcea8d913ddd0bc26347026242b1fce5 /engines
parentff1566754407dea6b44e7687634850475aa2ccf2 (diff)
downloadscummvm-rg350-75628fe9d7fa636da792d278b36396c3934ddf0e.tar.gz
scummvm-rg350-75628fe9d7fa636da792d278b36396c3934ddf0e.tar.bz2
scummvm-rg350-75628fe9d7fa636da792d278b36396c3934ddf0e.zip
Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
svn-id: r23278
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 8225e5dcdb..c91d7b5a61 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -269,9 +269,8 @@ int agi_get_keypress_low() {
return k;
}
-static uint32 agi_timer_function_low(uint32 i) {
+static void agi_timer_function_low(void *refCon) {
tick_timer++;
- return i;
}
static void init_pri_table() {
@@ -526,7 +525,7 @@ void AgiEngine::initialize() {
init_video();
tick_timer = 0;
- Common::g_timer->installTimerProc((Common::Timer::TimerProc) agi_timer_function_low, 10 * 1000, NULL);
+ Common::g_timer->installTimerProc(agi_timer_function_low, 10 * 1000, NULL);
game.ver = -1; /* Don't display the conf file warning */