diff options
Diffstat (limited to 'tools/create_drascula/create_drascula.cpp')
-rw-r--r-- | tools/create_drascula/create_drascula.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/create_drascula/create_drascula.cpp b/tools/create_drascula/create_drascula.cpp index 2676376e42..4917b1cb32 100644 --- a/tools/create_drascula/create_drascula.cpp +++ b/tools/create_drascula/create_drascula.cpp @@ -38,7 +38,7 @@ #include "create_drascula.h" #include "staticdata.h" -#define DRASCULA_DAT_VER 2 // 1 byte +#define DRASCULA_DAT_VER 3 // 1 byte static void writeByte(FILE *fp, uint8 b) { fwrite(&b, 1, 1, fp); @@ -172,6 +172,16 @@ int main(int argc, char *argv[]) { writeSint16BE(outFile, roomActions[i].speechID); } + // Write talk sequences + writeUint16BE(outFile, ARRAYSIZE(talkSequences)); + + for (i = 0; i < ARRAYSIZE(talkSequences); i++) { + writeSint16BE(outFile, talkSequences[i].chapter); + writeSint16BE(outFile, talkSequences[i].sequence); + writeSint16BE(outFile, talkSequences[i].commandType); + writeSint16BE(outFile, talkSequences[i].action); + } + // langs writeUint16BE(outFile, NUM_LANGS); |