[Scummvm-cvs-logs] SF.net SVN: scummvm:[54504] scummvm/trunk/engines/hugo
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Sat Nov 27 00:30:32 CET 2010
Revision: 54504
http://scummvm.svn.sourceforge.net/scummvm/?rev=54504&view=rev
Author: strangerke
Date: 2010-11-26 23:30:31 +0000 (Fri, 26 Nov 2010)
Log Message:
-----------
HUGO: Avoid using 'short' in function definition
Modified Paths:
--------------
scummvm/trunk/engines/hugo/file.h
scummvm/trunk/engines/hugo/route.h
scummvm/trunk/engines/hugo/sound.h
Modified: scummvm/trunk/engines/hugo/file.h
===================================================================
--- scummvm/trunk/engines/hugo/file.h 2010-11-26 23:17:16 UTC (rev 54503)
+++ scummvm/trunk/engines/hugo/file.h 2010-11-26 23:30:31 UTC (rev 54504)
@@ -56,15 +56,15 @@
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;
Modified: scummvm/trunk/engines/hugo/route.h
===================================================================
--- scummvm/trunk/engines/hugo/route.h 2010-11-26 23:17:16 UTC (rev 54503)
+++ scummvm/trunk/engines/hugo/route.h 2010-11-26 23:30:31 UTC (rev 54504)
@@ -56,7 +56,7 @@
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);
Modified: scummvm/trunk/engines/hugo/sound.h
===================================================================
--- scummvm/trunk/engines/hugo/sound.h 2010-11-26 23:17:16 UTC (rev 54503)
+++ scummvm/trunk/engines/hugo/sound.h 2010-11-26 23:30:31 UTC (rev 54504)
@@ -47,8 +47,8 @@
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:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list