mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 22:51:11 +00:00
SUPERNOVA: Remove unused getImage(CursorId)
This commit is contained in:
parent
0912b6a48d
commit
a637cea700
@ -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:
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user