mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
HUGO: Avoid using 'short' in function definition
svn-id: r54504
This commit is contained in:
parent
bab5aa433b
commit
fd6157e778
@ -56,15 +56,15 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
bool fileExists(char *filename);
|
bool fileExists(char *filename);
|
||||||
sound_pt getSound(short sound, uint16 *size);
|
sound_pt getSound(int16 sound, uint16 *size);
|
||||||
|
|
||||||
void instructions();
|
void instructions();
|
||||||
void readBootFile();
|
void readBootFile();
|
||||||
void readImage(int objNum, object_t *objPtr);
|
void readImage(int objNum, object_t *objPtr);
|
||||||
void readUIFImages();
|
void readUIFImages();
|
||||||
void readUIFItem(short id, byte *buf);
|
void readUIFItem(int16 id, byte *buf);
|
||||||
void restoreGame(short slot);
|
void restoreGame(int16 slot);
|
||||||
void saveGame(short slot, const char *descrip);
|
void saveGame(int16 slot, const char *descrip);
|
||||||
|
|
||||||
virtual void openDatabaseFiles() = 0;
|
virtual void openDatabaseFiles() = 0;
|
||||||
virtual void closeDatabaseFiles() = 0;
|
virtual void closeDatabaseFiles() = 0;
|
||||||
|
@ -56,7 +56,7 @@ public:
|
|||||||
Route(HugoEngine *vm);
|
Route(HugoEngine *vm);
|
||||||
|
|
||||||
void processRoute();
|
void processRoute();
|
||||||
bool startRoute(go_t go_for, short id, short cx, short cy);
|
bool startRoute(go_t go_for, int16 id, int16 cx, int16 cy);
|
||||||
void setDirection(uint16 keyCode);
|
void setDirection(uint16 keyCode);
|
||||||
void setWalk(uint16 direction);
|
void setWalk(uint16 direction);
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@ public:
|
|||||||
void toggleMusic();
|
void toggleMusic();
|
||||||
void toggleSound();
|
void toggleSound();
|
||||||
void setMusicVolume();
|
void setMusicVolume();
|
||||||
void playMusic(short tune);
|
void playMusic(int16 tune);
|
||||||
void playSound(short sound, stereo_t channel, byte priority);
|
void playSound(int16 sound, stereo_t channel, byte priority);
|
||||||
void initSound();
|
void initSound();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user