aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-06-24 14:02:05 +0200
committerThierry Crozat2019-07-28 15:09:14 +0100
commita637cea700b17cd2e11071ca603a8959ce477303 (patch)
treef7b903c27d9569e57ccfd67a050d7771c61a548f
parent0912b6a48d8ba9466cd0eaad89448be84a214b87 (diff)
downloadscummvm-rg350-a637cea700b17cd2e11071ca603a8959ce477303.tar.gz
scummvm-rg350-a637cea700b17cd2e11071ca603a8959ce477303.tar.bz2
scummvm-rg350-a637cea700b17cd2e11071ca603a8959ce477303.zip
SUPERNOVA: Remove unused getImage(CursorId)
-rw-r--r--engines/supernova/resman.cpp12
-rw-r--r--engines/supernova/resman.h1
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();