SUPERNOVA: Remove unused getImage(CursorId)

This commit is contained in:
Jaromir Wysoglad 2019-06-24 14:02:05 +02:00 committed by Thierry Crozat
parent 0912b6a48d
commit a637cea700
2 changed files with 0 additions and 13 deletions

View File

@ -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:

View File

@ -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();