diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/resman.cpp | 12 | ||||
-rw-r--r-- | engines/supernova/resman.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/engines/supernova/resman.cpp b/engines/supernova/resman.cpp index dce654dd51..e827ba358c 100644 --- a/engines/supernova/resman.cpp +++ b/engines/supernova/resman.cpp @@ -320,17 +320,6 @@ MSNImage *ResourceManager::getImage(int filenumber) { } } -const byte *ResourceManager::getImage(CursorId id) const { - switch (id) { - case kCursorNormal: - return _cursorNormal; - case kCursorWait: - return _cursorWait; - default: - return nullptr; - } -} - // Generate a tone which minimal length is the length and ends at the end // of sine period // NOTE: Size of the SineTable has to be the same as audioRate and a multiple of 4 @@ -562,7 +551,6 @@ int ResourceManager::getAudioRate() { return _audioRate; } -//TODO: leave only one function for getting Cursor image const byte *ResourceManager::getCursor(CursorId id) const { switch (id) { case kCursorNormal: diff --git a/engines/supernova/resman.h b/engines/supernova/resman.h index fa37d646a5..9a4f739dea 100644 --- a/engines/supernova/resman.h +++ b/engines/supernova/resman.h @@ -56,7 +56,6 @@ public: Audio::AudioStream *getSoundStream(MusicId index); Audio::AudioStream *getSirenStream(); MSNImage *getImage(int filenumber); - const byte *getImage(CursorId id) const; const byte *getCursor(CursorId id) const; int getAudioRate(); |