aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.h
diff options
context:
space:
mode:
authorMax Horn2005-05-10 22:56:25 +0000
committerMax Horn2005-05-10 22:56:25 +0000
commitb75c969e666b9f262a05e0d1e54d56f7d3e45441 (patch)
treee4868d14ac249a63e01f905472ec9be69f04a028 /simon/simon.h
parent55c37c18ceed916eb3744666d3d10783b0cf8783 (diff)
downloadscummvm-rg350-b75c969e666b9f262a05e0d1e54d56f7d3e45441.tar.gz
scummvm-rg350-b75c969e666b9f262a05e0d1e54d56f7d3e45441.tar.bz2
scummvm-rg350-b75c969e666b9f262a05e0d1e54d56f7d3e45441.zip
Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
Diffstat (limited to 'simon/simon.h')
-rw-r--r--simon/simon.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/simon/simon.h b/simon/simon.h
index 7fc9273db0..537554e513 100644
--- a/simon/simon.h
+++ b/simon/simon.h
@@ -36,7 +36,7 @@ namespace Simon {
//#define DUMP_FILE_NR 8
//#define DUMP_BITMAPS_FILE_NR 8
-uint fileReadItemID(File *in);
+uint fileReadItemID(Common::File *in);
#define CHECK_BOUNDS(x, y) assert((uint)(x) < ARRAYSIZE(y))
#define NUM_PALETTE_FADEOUT 32
@@ -138,7 +138,7 @@ protected:
FORMAT_VOC
} SoundFormat;
- File *_gameFile;
+ Common::File *_gameFile;
byte *_strippedTxtMem;
uint _textSize;
@@ -376,15 +376,15 @@ public:
virtual ~SimonEngine();
protected:
- int allocGamePcVars(File *in);
+ int allocGamePcVars(Common::File *in);
void loginPlayerHelper(Item *item, int a, int b);
void loginPlayer();
void allocateStringTable(int num);
void setupStringTable(byte *mem, int num);
void setupLocalStringTable(byte *mem, int num);
- void readGamePcText(File *in);
- void readItemChildren(File *in, Item *item, uint tmp);
- void readItemFromGamePc(File *in, Item *item);
+ void readGamePcText(Common::File *in);
+ void readItemChildren(Common::File *in, Item *item, uint tmp);
+ void readItemFromGamePc(Common::File *in, Item *item);
void loadGamePcFile(const char *filename);
byte *allocateItem(uint size);
@@ -398,11 +398,11 @@ protected:
void allocTablesHeap();
Subroutine *createSubroutine(uint a);
- void readSubroutine(File *in, Subroutine *sub);
+ void readSubroutine(Common::File *in, Subroutine *sub);
SubroutineLine *createSubroutineLine(Subroutine *sub, int a);
- void readSubroutineLine(File *in, SubroutineLine *new_table, Subroutine *sub);
- byte *readSingleOpcode(File *in, byte *ptr);
- void readSubroutineBlock(File *in);
+ void readSubroutineLine(Common::File *in, SubroutineLine *new_table, Subroutine *sub);
+ byte *readSingleOpcode(Common::File *in, byte *ptr);
+ void readSubroutineBlock(Common::File *in);
Subroutine *getSubroutineByID(uint subroutine_id);
@@ -524,14 +524,14 @@ protected:
uint loadTextFile(const char *filename, byte *dst);
- File *openTablesFile(const char *filename);
- void closeTablesFile(File *in);
+ Common::File *openTablesFile(const char *filename);
+ void closeTablesFile(Common::File *in);
uint loadTextFile_simon1(const char *filename, byte *dst);
- File *openTablesFile_simon1(const char *filename);
+ Common::File *openTablesFile_simon1(const char *filename);
uint loadTextFile_gme(const char *filename, byte *dst);
- File *openTablesFile_gme(const char *filename);
+ Common::File *openTablesFile_gme(const char *filename);
void invokeTimeEvent(TimeEvent *te);
bool kickoffTimeEvents();