From a2aba2f18e7bac99f21d095b9ccaaa19924e2e46 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 20 Feb 2009 15:24:22 +0000 Subject: SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so svn-id: r38592 --- engines/sci/sfx/core.cpp | 2 +- engines/sci/sfx/player/polled.cpp | 2 +- engines/sci/sfx/player/realtime.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sci/sfx') diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp index 70eb8d215d..47942bdbf4 100644 --- a/engines/sci/sfx/core.cpp +++ b/engines/sci/sfx/core.cpp @@ -430,7 +430,7 @@ _sfx_timer_callback(void *data) { } void -sfx_init(sfx_state_t *self, resource_mgr_t *resmgr, int flags) { +sfx_init(sfx_state_t *self, ResourceManager *resmgr, int flags) { callbackMutex = new Common::Mutex(); song_lib_init(&self->songlib); self->song = NULL; diff --git a/engines/sci/sfx/player/polled.cpp b/engines/sci/sfx/player/polled.cpp index 4eacb63d48..b5b2eaf386 100644 --- a/engines/sci/sfx/player/polled.cpp +++ b/engines/sci/sfx/player/polled.cpp @@ -163,7 +163,7 @@ pp_set_option(char *name, char *value) { } static int -pp_init(resource_mgr_t *resmgr, int expected_latency) { +pp_init(ResourceManager *resmgr, int expected_latency) { resource_t *res = NULL, *res2 = NULL; if (!mixer) diff --git a/engines/sci/sfx/player/realtime.cpp b/engines/sci/sfx/player/realtime.cpp index a46d8fdd09..5821d0b59d 100644 --- a/engines/sci/sfx/player/realtime.cpp +++ b/engines/sci/sfx/player/realtime.cpp @@ -152,7 +152,7 @@ rt_timer_callback(void) { } static resource_t * -find_patch(resource_mgr_t *resmgr, const char *seq_name, int patchfile) { +find_patch(ResourceManager *resmgr, const char *seq_name, int patchfile) { resource_t *res = NULL; if (patchfile != SFX_SEQ_PATCHFILE_NONE) { @@ -174,7 +174,7 @@ rt_set_option(char *name, char *value) { } static int -rt_init(resource_mgr_t *resmgr, int expected_latency) { +rt_init(ResourceManager *resmgr, int expected_latency) { resource_t *res = NULL, *res2 = NULL; void *seq_dev = NULL; GTimeVal foo = {0, 0}; -- cgit v1.2.3