diff options
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/create_cryo/create_cryo_dat.cpp | 28 | ||||
-rw-r--r-- | devtools/create_project/create_project.cpp | 2 | ||||
-rw-r--r-- | devtools/create_project/create_project.h | 2 | ||||
-rw-r--r-- | devtools/create_titanic/create_titanic_dat.cpp | 2 | ||||
-rw-r--r-- | devtools/create_xeen/cc.h | 2 | ||||
-rw-r--r-- | devtools/create_xeen/map.cpp | 6 |
6 files changed, 21 insertions, 21 deletions
diff --git a/devtools/create_cryo/create_cryo_dat.cpp b/devtools/create_cryo/create_cryo_dat.cpp index ca6d4bf790..817eda3d20 100644 --- a/devtools/create_cryo/create_cryo_dat.cpp +++ b/devtools/create_cryo/create_cryo_dat.cpp @@ -93,7 +93,7 @@ static void emitStatic(FILE *f) { const int kNumCharacters = 20; const int kNumActionCursors = 299; const int kNumAreas = 12; - + for (int i = 0; i < kNumFollowers; i++) { writeLE<char>(f, followerList[i]._id); writeLE<char>(f, followerList[i]._spriteNum); @@ -105,13 +105,13 @@ static void emitStatic(FILE *f) { writeLE<int16>(f, followerList[i].ff_C); writeLE<int16>(f, followerList[i].ff_E); } - + fwrite(kLabyrinthPath, 1, kNumLabyrinthPath, f); fwrite(kDinoSpeedForCitaLevel, 1, kNumDinoSpeedForCitaLevel, f); fwrite(kTabletView, 1, kNumTabletView, f); fwrite(kPersoRoomBankTable, 1, kNumPersoRoomBankTable, f); fwrite(gotos, 5, kNumGotos, f); // sizeof(Goto) - + for (int i = 0; i < kNumObjects; i++) { writeLE<byte>(f, _objects[i]._id); writeLE<byte>(f, _objects[i]._flags); @@ -120,11 +120,11 @@ static void emitStatic(FILE *f) { writeLE<uint16>(f, _objects[i]._powerMask); writeLE<int16>(f, _objects[i]._count); } - + for (int i = 0; i < kNumObjectLocations; i++) { writeLE<uint16>(f, kObjectLocations[i]); } - + for (int i = 0; i < kNumPersons; i++) { writeLE<uint16>(f, kPersons[i]._roomNum); writeLE<uint16>(f, kPersons[i]._actionId); @@ -140,7 +140,7 @@ static void emitStatic(FILE *f) { writeLE<byte>(f, kPersons[i]._speed); writeLE<byte>(f, kPersons[i]._steps); } - + for (int i = 0; i < kNumCitadel; i++) { writeLE<int16>(f, _citadelList[i]._id); for (int j = 0; j < 8; j++) @@ -148,16 +148,16 @@ static void emitStatic(FILE *f) { for (int j = 0; j < 8; j++) writeLE<int16>(f, _citadelList[i]._video[j]); } - + for (int i = 0; i < kNumCharacterRects; i++) { writeLE<int16>(f, _characterRects[i].left); writeLE<int16>(f, _characterRects[i].top); writeLE<int16>(f, _characterRects[i].right); writeLE<int16>(f, _characterRects[i].bottom); } - + fwrite(_characterArray, 5, kNumCharacters, f); - + for (int i = 0; i < kNumAreas; i++) { writeLE<byte>(f, kAreasTable[i]._num); writeLE<byte>(f, kAreasTable[i]._type); @@ -168,15 +168,15 @@ static void emitStatic(FILE *f) { // pointer to _citadelRoomPtr is always initialized to null writeLE<int16>(f, kAreasTable[i]._visitCount); } - + for (int i = 0; i < 64; i++) { writeLE<uint16>(f, tab_2CEF0[i]); } - + for (int i = 0; i < 64; i++) { writeLE<uint16>(f, tab_2CF70[i]); } - + fwrite(kActionCursors, 1, kNumActionCursors, f); fwrite(mapMode, 1, 12, f); fwrite(cubeTextureCoords, 6 * 2 * 3 * 2, 3, f); @@ -193,11 +193,11 @@ static int emitData(char *outputFilename) { fwrite("CRYODATA", 8, 1, f); writeLE<uint32>(f, CRYO_DAT_VER); - + emitIcons(f); emitRooms(f); emitStatic(f); - + fclose(f); printf("Done!\n"); diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index c0cc8af87c..cbf30adae8 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -300,7 +300,7 @@ int main(int argc, char *argv[]) { for (EngineDescList::iterator j = setup.engines.begin(); j != setup.engines.end(); ++j) j->enable = false; } - + // Disable engines for which we are missing dependencies for (EngineDescList::const_iterator i = setup.engines.begin(); i != setup.engines.end(); ++i) { if (i->enable) { diff --git a/devtools/create_project/create_project.h b/devtools/create_project/create_project.h index 9f662ae806..fc3df8154a 100644 --- a/devtools/create_project/create_project.h +++ b/devtools/create_project/create_project.h @@ -86,7 +86,7 @@ struct EngineDesc { * Whether the engine should be included in the build or not. */ bool enable; - + /** * Features required for this engine. */ diff --git a/devtools/create_titanic/create_titanic_dat.cpp b/devtools/create_titanic/create_titanic_dat.cpp index eb87dbb5d3..a5e813a977 100644 --- a/devtools/create_titanic/create_titanic_dat.cpp +++ b/devtools/create_titanic/create_titanic_dat.cpp @@ -1152,7 +1152,7 @@ void writeResource(const char *sectionStr, uint32 resId, bool isEnglish = true) sprintf(nameBuffer, "%s/%u", sectionStr, resId); if (!isEnglish) strcat(nameBuffer, "/DE"); - + writeResource(nameBuffer, sectionStr, resId, isEnglish); } diff --git a/devtools/create_xeen/cc.h b/devtools/create_xeen/cc.h index 3220abb89e..db1bd1f0de 100644 --- a/devtools/create_xeen/cc.h +++ b/devtools/create_xeen/cc.h @@ -57,7 +57,7 @@ private: * Convert a resource name to it's equivalent hash key */ uint16 convertNameToId(const Common::String &resourceName); - + /** * Loads an index from the file */ diff --git a/devtools/create_xeen/map.cpp b/devtools/create_xeen/map.cpp index 6ca1987a7a..35435426b9 100644 --- a/devtools/create_xeen/map.cpp +++ b/devtools/create_xeen/map.cpp @@ -125,7 +125,7 @@ void writeMazeName(CCArchive &cc) { memset(mazeName, 0, 33); strcpy(mazeName, "ScummVM"); f.write(mazeName, 33); - + cc.add("xeenx255.txt", f); } @@ -134,7 +134,7 @@ void writeMazeName(CCArchive &cc) { */ void writeMazeEvents(CCArchive &cc) { Common::MemFile f; - + // Mirror events const byte MIRROR_EVENTS[32] = { 6, 7, 0, 2, 0, 40, 1, // Play VOC: "Where to?" @@ -143,7 +143,7 @@ void writeMazeEvents(CCArchive &cc) { 8, 7, 0, 2, 3, 7, 0, 0, 0 // Teleport and exit }; f.write(MIRROR_EVENTS, 32); - + // Bench 1 events const byte BENCH1_EVENTS[32] = { 10, 7, 8, 0, 0, 5, 1, 2, 3, 1, 2, // NPC |