aboutsummaryrefslogtreecommitdiff
path: root/tools/create_hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-07 15:14:38 +0000
committerArnaud Boutonné2011-01-07 15:14:38 +0000
commit868717b444ff0755663037a6c9aa4ccdc8437010 (patch)
tree5c966411e1b0f42ab3733cd063b9be2e0e9e7aac /tools/create_hugo
parent710e41c3e8e55dfd643aa08752bb6565de1efe57 (diff)
downloadscummvm-rg350-868717b444ff0755663037a6c9aa4ccdc8437010.tar.gz
scummvm-rg350-868717b444ff0755663037a6c9aa4ccdc8437010.tar.bz2
scummvm-rg350-868717b444ff0755663037a6c9aa4ccdc8437010.zip
TOOLS: Add Dos intro music number in hugo.dat
svn-id: r55145
Diffstat (limited to 'tools/create_hugo')
-rw-r--r--tools/create_hugo/create_hugo.cpp11
-rw-r--r--tools/create_hugo/create_hugo.h2
2 files changed, 12 insertions, 1 deletions
diff --git a/tools/create_hugo/create_hugo.cpp b/tools/create_hugo/create_hugo.cpp
index ea28cbd7d7..c10a8e2da2 100644
--- a/tools/create_hugo/create_hugo.cpp
+++ b/tools/create_hugo/create_hugo.cpp
@@ -823,6 +823,17 @@ int main(int argc, char *argv[]) {
writeUint16BE(outFile, 0);
writeUint16BE(outFile, kALnewscr_2d);
writeUint16BE(outFile, 0);
+
+ // DOS Intro music
+ // Win version do not use it
+ // H1 Dos doesn't have an intro
+ // H2 Dos handles the intro song in its scripts
+ writeUint16BE(outFile, 0);
+ writeUint16BE(outFile, 0);
+ writeUint16BE(outFile, 0);
+ writeUint16BE(outFile, 0);
+ writeUint16BE(outFile, 0);
+ writeUint16BE(outFile, kDTsong11_3d);
// The following fonts info have been added to avoid temporarly the .FON
// used in the DOS version
diff --git a/tools/create_hugo/create_hugo.h b/tools/create_hugo/create_hugo.h
index d0960d1166..3c5108ef68 100644
--- a/tools/create_hugo/create_hugo.h
+++ b/tools/create_hugo/create_hugo.h
@@ -31,7 +31,7 @@
#define DATAALIGNMENT 4
#define HUGO_DAT_VER_MAJ 0 // 1 byte
-#define HUGO_DAT_VER_MIN 36 // 1 byte
+#define HUGO_DAT_VER_MIN 37 // 1 byte
typedef unsigned char uint8;
typedef unsigned char byte;