DEVTOOLS: Silence compiler warnings in create_access.

This commit is contained in:
Johannes Schickel 2015-12-12 06:44:02 +01:00
parent c09a9aa1bf
commit 2ef9ced7a9
5 changed files with 6 additions and 6 deletions

View file

@ -754,4 +754,4 @@ const char *const IQLABELS_ENG[9] = {
const char *const CANT_GET_THERE_ENG = "YOU CAN'T GET THERE FROM HERE.";
};
} // End of namespace Amazon

View file

@ -57,6 +57,6 @@ extern const char *const HELPLVLTXT_ENG[3];
extern const char *const IQLABELS_ENG[9];
extern const char *const CANT_GET_THERE_ENG;
};
} // End of namespace Amazon
#endif

View file

@ -160,7 +160,7 @@ void writeMartianCommonData() {
}
}
bool processExecutable(int idx, const char *name) {
bool processExecutable(int exeIdx, const char *name) {
uint dataSegmentOffset;
uint filenamesOffset, numFilenames;
uint charsStart, charsEnd;
@ -291,7 +291,7 @@ bool processExecutable(int idx, const char *name) {
// Write out header entry
uint outputOffset = outputFile.size();
outputFile.seek(8 + idx * 8);
outputFile.seek(8 + exeIdx * 8);
outputFile.writeByte(gameId);
outputFile.writeByte(discType);
outputFile.writeByte(demoType);

View file

@ -179,4 +179,4 @@ const char *const INVENTORY_NAMES_ENG[55] = {
"MONKEY WRENCH", "BIG DICK CARD", "BRA", "BOLT", nullptr
};
};
} // End of namespace Amazon

View file

@ -47,6 +47,6 @@ extern const char *const HELPLVLTXT_ENG[3];
extern const char *const IQLABELS_ENG[9];
extern const char *const CANT_GET_THERE_ENG;
};
} // End of namespace Amazon
#endif