aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat
diff options
context:
space:
mode:
authorFlorian Kagerer2008-03-15 00:17:51 +0000
committerFlorian Kagerer2008-03-15 00:17:51 +0000
commit8e3681dbe9fcc08ff3b74190bc8bf1d48d236564 (patch)
tree21ced97f1a9e330b6787f3b488a0bc170a49c8db /tools/create_kyradat
parentad3ed7391b609b260c48592aa8f9deebe194f640 (diff)
downloadscummvm-rg350-8e3681dbe9fcc08ff3b74190bc8bf1d48d236564.tar.gz
scummvm-rg350-8e3681dbe9fcc08ff3b74190bc8bf1d48d236564.tar.bz2
scummvm-rg350-8e3681dbe9fcc08ff3b74190bc8bf1d48d236564.zip
update for kyra.dat tool
svn-id: r31124
Diffstat (limited to 'tools/create_kyradat')
-rw-r--r--tools/create_kyradat/create_kyradat.cpp3
-rw-r--r--tools/create_kyradat/create_kyradat.h1
-rw-r--r--tools/create_kyradat/hof_cd.h1
-rw-r--r--tools/create_kyradat/hof_floppy.h4
-rw-r--r--tools/create_kyradat/hof_towns.h1
-rw-r--r--tools/create_kyradat/misc.h3
6 files changed, 11 insertions, 2 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp
index 02d7d6c32d..69f7984b89 100644
--- a/tools/create_kyradat/create_kyradat.cpp
+++ b/tools/create_kyradat/create_kyradat.cpp
@@ -31,7 +31,7 @@
#include "md5.h"
enum {
- kKyraDatVersion = 21,
+ kKyraDatVersion = 22,
kIndexSize = 12
};
@@ -218,6 +218,7 @@ const ExtractFilename extractFilenames[] = {
{ k2IngameCDA, kTypeRawData, "I_TRACKS.CDA" },
{ k2IngameTalkObjIndex, kTypeRawData, "I_TALKOBJECTS.MAP" },
{ k2IngameTimJpStrings, kTypeStringList, "I_TIMJPSTR.TXT" },
+ { k2IngameItemAnimTable, kTypeRawData, "I_INVANIM.SHP" },
{ -1, 0, 0 }
};
diff --git a/tools/create_kyradat/create_kyradat.h b/tools/create_kyradat/create_kyradat.h
index 4a1f64ba7c..c60ec32854 100644
--- a/tools/create_kyradat/create_kyradat.h
+++ b/tools/create_kyradat/create_kyradat.h
@@ -161,6 +161,7 @@ enum kExtractID {
k2IngameCDA,
k2IngameTalkObjIndex,
k2IngameTimJpStrings,
+ k2IngameItemAnimTable,
kMaxResIDs
};
diff --git a/tools/create_kyradat/hof_cd.h b/tools/create_kyradat/hof_cd.h
index e42ef0deed..b7973e4acd 100644
--- a/tools/create_kyradat/hof_cd.h
+++ b/tools/create_kyradat/hof_cd.h
@@ -28,6 +28,7 @@ const ExtractEntry kyra2File2CDE[] = {
{ k2IngameSfxIndex, 0x000294F0, 0x00029848 },
{ k2IngameTracks, 0x0002F2FE, 0x0002F37E },
{ k2IngameTalkObjIndex, 0x0002BAC2, 0x0002BB46 },
+ { k2IngameItemAnimTable, 0x0002FE68, 0x000301B0 },
{ -1, 0, 0 }
};
diff --git a/tools/create_kyradat/hof_floppy.h b/tools/create_kyradat/hof_floppy.h
index 6d9f7fc1ec..70f7dfc1f9 100644
--- a/tools/create_kyradat/hof_floppy.h
+++ b/tools/create_kyradat/hof_floppy.h
@@ -25,7 +25,6 @@ const ExtractEntry kyra2File1G[] = {
{ k2SeqplayIntroTracks, 0x0002389C, 0x000238AC },
{ k2SeqplayFinaleTracks, 0x000238B9, 0x000238CB },
{ k2SeqplaySeqData, 0x0002231E, 0x00022A12 },
-
{ -1, 0, 0 }
};
@@ -35,6 +34,7 @@ const ExtractEntry kyra2File2E[] = {
{ k2IngameSfxIndex, 0x0002A710, 0x0002AA68 },
{ k2IngameTracks, 0x0003B2F2, 0x0003B370 },
{ k2IngameTalkObjIndex, 0x00033EB2, 0x00033F2A },
+ { k2IngameItemAnimTable, 0x0003B94A, 0x0003BC92 },
{ -1, 0, 0 }
};
@@ -44,6 +44,7 @@ const ExtractEntry kyra2File2F[] = {
{ k2IngameSfxIndex, 0x000288B0, 0x00028C08 },
{ k2IngameTracks, 0x0003B2F2, 0x0003B370 },
{ k2IngameTalkObjIndex, 0x0003328E, 0x00033306 },
+ { k2IngameItemAnimTable, 0x0003AFF6, 0x0003B33E },
{ -1, 0, 0 }
};
@@ -53,6 +54,7 @@ const ExtractEntry kyra2File2G[] = {
{ k2IngameSfxIndex, 0x000288E0, 0x00028C38 },
{ k2IngameTracks, 0x0003AA8C, 0x0003AB0A },
{ k2IngameTalkObjIndex, 0x000332BE, 0x00033336 },
+ { k2IngameItemAnimTable, 0x0003B00A, 0x0003B352 },
{ -1, 0, 0 }
};
diff --git a/tools/create_kyradat/hof_towns.h b/tools/create_kyradat/hof_towns.h
index 4c79dfa64a..40143b041a 100644
--- a/tools/create_kyradat/hof_towns.h
+++ b/tools/create_kyradat/hof_towns.h
@@ -20,6 +20,7 @@ const ExtractEntry kyra2File2FMTownsE[] = {
{ k2IngameCDA, 0x0001808C, 0x000181BC },
{ k2IngameTalkObjIndex, 0x000199B6, 0x00019A30 },
{ k2IngameTimJpStrings, 0x0000677C, 0x000067A9 },
+ { k2IngameItemAnimTable, 0x00012F28, 0x00013270 },
{ -1, 0, 0 }
};
diff --git a/tools/create_kyradat/misc.h b/tools/create_kyradat/misc.h
index 53ac9567d5..452fdbfc31 100644
--- a/tools/create_kyradat/misc.h
+++ b/tools/create_kyradat/misc.h
@@ -383,6 +383,7 @@ const int kyra2CDFile2EngNeed[] = {
k2IngameSfxIndex,
k2IngameTracks,
k2IngameTalkObjIndex,
+ k2IngameItemAnimTable,
-1
};
@@ -410,6 +411,7 @@ const int kyra2FloppyFile2Need[] = {
k2IngameSfxIndex,
k2IngameTracks,
k2IngameTalkObjIndex,
+ k2IngameItemAnimTable,
-1
};
@@ -435,6 +437,7 @@ const int kyra2TownsFile2EngNeed[] = {
k2IngameCDA,
k2IngameTalkObjIndex,
k2IngameTimJpStrings,
+ k2IngameItemAnimTable,
-1
};