aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-10 15:05:59 +0000
committerJohannes Schickel2008-04-10 15:05:59 +0000
commitaac2b7019a1c9680a314e39b88b3b0d4911b7f87 (patch)
treea54b25cc73f77fb44b3763ad5808e31c02b7dc6e /tools
parent71f6a7e8553f722926ad9277ca870b1f95b482b3 (diff)
downloadscummvm-rg350-aac2b7019a1c9680a314e39b88b3b0d4911b7f87.tar.gz
scummvm-rg350-aac2b7019a1c9680a314e39b88b3b0d4911b7f87.tar.bz2
scummvm-rg350-aac2b7019a1c9680a314e39b88b3b0d4911b7f87.zip
- Fixed missing static data for kyra1 demo
- Fixed some warnings in create_kyradat - Updated kyra.dat for new data for kyra1 demo svn-id: r31463
Diffstat (limited to 'tools')
-rw-r--r--tools/create_kyradat/create_kyradat.cpp2
-rw-r--r--tools/create_kyradat/eng.h1
-rw-r--r--tools/create_kyradat/misc.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp
index ec8238abc7..d57b603e07 100644
--- a/tools/create_kyradat/create_kyradat.cpp
+++ b/tools/create_kyradat/create_kyradat.cpp
@@ -852,7 +852,7 @@ bool extractHofShapeAnimDataV1(PAKFile &out, const Game *g, const byte *data, co
dst += 2;
outsize -= 2;
- for (int i = 0; i < 20; i ++) {
+ for (int j = 0; j < 20; j++) {
WRITE_BE_UINT16(dst, READ_LE_UINT16(src));
src += 2;
dst += 2;
diff --git a/tools/create_kyradat/eng.h b/tools/create_kyradat/eng.h
index c2e90ebb07..7ed9e06189 100644
--- a/tools/create_kyradat/eng.h
+++ b/tools/create_kyradat/eng.h
@@ -184,6 +184,7 @@ const ExtractEntry kyra1EngDemo[] = {
{ kDemo2Seq, 0x000153E5, 0x00015408 },
{ kDemo3Seq, 0x00015408, 0x00015461 },
{ kDemo4Seq, 0x00015461, 0x00015481 },
+ { kAudioTracksIntro, 0x00014E6E, 0x00014E74 },
{ -1, 0, 0 }
};
diff --git a/tools/create_kyradat/misc.h b/tools/create_kyradat/misc.h
index 72150d94be..a7cce228f8 100644
--- a/tools/create_kyradat/misc.h
+++ b/tools/create_kyradat/misc.h
@@ -183,6 +183,7 @@ const int kyra1DemoNeed[] = {
kDemo2Seq,
kDemo3Seq,
kDemo4Seq,
+ kAudioTracksIntro,
-1
};