diff options
author | Filippos Karapetis | 2017-02-11 18:04:42 +0200 |
---|---|---|
committer | Filippos Karapetis | 2017-02-11 18:04:42 +0200 |
commit | fefad640cd171fd17f8a7e08326c7e6f3e91d684 (patch) | |
tree | 5dc4b25146adeb7ace255e696badc2b110198f98 | |
parent | a3f59d8433230cbb279092c8e7876522a7830fd2 (diff) | |
download | scummvm-rg350-fefad640cd171fd17f8a7e08326c7e6f3e91d684.tar.gz scummvm-rg350-fefad640cd171fd17f8a7e08326c7e6f3e91d684.tar.bz2 scummvm-rg350-fefad640cd171fd17f8a7e08326c7e6f3e91d684.zip |
CRYO: Change the version of cryo.dat to be a 32-bit integer (1/2)
Though it's unlikely that we'll ever have that many changes, it's
better to provision for more space now, for versioning
-rw-r--r-- | devtools/create_cryo/create_cryo_dat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_cryo/create_cryo_dat.cpp b/devtools/create_cryo/create_cryo_dat.cpp index 5a693d96fe..ca6d4bf790 100644 --- a/devtools/create_cryo/create_cryo_dat.cpp +++ b/devtools/create_cryo/create_cryo_dat.cpp @@ -27,7 +27,7 @@ #include "eden_rooms.h" #include "eden_static.h" -#define CRYO_DAT_VER 1 // 1 byte +#define CRYO_DAT_VER 1 // 32-bit integer template <typename T> static void writeLE(FILE *f, T value) { @@ -192,7 +192,7 @@ static int emitData(char *outputFilename) { printf("Generating %s...\n", outputFilename); fwrite("CRYODATA", 8, 1, f); - writeLE<byte>(f, CRYO_DAT_VER); + writeLE<uint32>(f, CRYO_DAT_VER); emitIcons(f); emitRooms(f); |