HUGO: Avoid using 'short' in function definition

svn-id: r54504
This commit is contained in:
Arnaud Boutonné 2010-11-26 23:30:31 +00:00
parent bab5aa433b
commit fd6157e778
3 changed files with 7 additions and 7 deletions

View File

@ -56,15 +56,15 @@ public:
bool fileExists(char *filename);
sound_pt getSound(short sound, uint16 *size);
sound_pt getSound(int16 sound, uint16 *size);
void instructions();
void readBootFile();
void readImage(int objNum, object_t *objPtr);
void readUIFImages();
void readUIFItem(short id, byte *buf);
void restoreGame(short slot);
void saveGame(short slot, const char *descrip);
void readUIFItem(int16 id, byte *buf);
void restoreGame(int16 slot);
void saveGame(int16 slot, const char *descrip);
virtual void openDatabaseFiles() = 0;
virtual void closeDatabaseFiles() = 0;

View File

@ -56,7 +56,7 @@ public:
Route(HugoEngine *vm);
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 setWalk(uint16 direction);

View File

@ -47,8 +47,8 @@ public:
void toggleMusic();
void toggleSound();
void setMusicVolume();
void playMusic(short tune);
void playSound(short sound, stereo_t channel, byte priority);
void playMusic(int16 tune);
void playSound(int16 sound, stereo_t channel, byte priority);
void initSound();
private: