Skip to content

Commit

Permalink
DEVTOOLS: Silence compiler warnings in create_access.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Dec 12, 2015
1 parent c09a9aa commit 2ef9ced
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion devtools/create_access/amazon_resources.cpp
Expand Up @@ -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
2 changes: 1 addition & 1 deletion devtools/create_access/amazon_resources.h
Expand Up @@ -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
4 changes: 2 additions & 2 deletions devtools/create_access/create_access_dat.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion devtools/create_access/martian_resources.cpp
Expand Up @@ -179,4 +179,4 @@ const char *const INVENTORY_NAMES_ENG[55] = {
"MONKEY WRENCH", "BIG DICK CARD", "BRA", "BOLT", nullptr
};

};
} // End of namespace Amazon
2 changes: 1 addition & 1 deletion devtools/create_access/martian_resources.h
Expand Up @@ -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

0 comments on commit 2ef9ced

Please sign in to comment.