diff options
author | Max Horn | 2006-06-24 09:34:49 +0000 |
---|---|---|
committer | Max Horn | 2006-06-24 09:34:49 +0000 |
commit | 75628fe9d7fa636da792d278b36396c3934ddf0e (patch) | |
tree | 2b206b49fcea8d913ddd0bc26347026242b1fce5 /engines/agi | |
parent | ff1566754407dea6b44e7687634850475aa2ccf2 (diff) | |
download | scummvm-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/agi')
-rw-r--r-- | engines/agi/agi.cpp | 5 |
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 */ |