Minor cleanup.

svn-id: r27580
This commit is contained in:
Travis Howell 2007-06-21 06:37:00 +00:00
parent d2e7058b59
commit 00829f15c8
16 changed files with 99 additions and 107 deletions

View file

@ -32,7 +32,7 @@ using Common::File;
namespace AGOS {
const byte *AGOSEngine::getStringPtrByID(uint stringId) {
const byte *AGOSEngine::getStringPtrByID(uint16 stringId) {
const byte *string_ptr;
byte *dst;
@ -49,7 +49,7 @@ const byte *AGOSEngine::getStringPtrByID(uint stringId) {
return dst;
}
const byte *AGOSEngine::getLocalStringByID(uint stringId) {
const byte *AGOSEngine::getLocalStringByID(uint16 stringId) {
if (stringId < _stringIdLocalMin || stringId >= _stringIdLocalMax) {
loadTextIntoMem(stringId);
}
@ -140,7 +140,7 @@ uint AGOSEngine::loadTextFile_gme(const char *filename, byte *dst) {
return size;
}
void AGOSEngine::loadTextIntoMem(uint stringId) {
void AGOSEngine::loadTextIntoMem(uint16 stringId) {
byte *p;
char filename[30];
int i;