aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat
diff options
context:
space:
mode:
authorFlorian Kagerer2009-03-16 21:20:34 +0000
committerFlorian Kagerer2009-03-16 21:20:34 +0000
commit52726344b7d7da0a625fb60713f1f7c04c98cd7c (patch)
tree44e579b2cda457e945bd71ee8a4fa08fa7553f3a /tools/create_kyradat
parent97887377f0784bab34f2cb69638174b3243d380c (diff)
downloadscummvm-rg350-52726344b7d7da0a625fb60713f1f7c04c98cd7c.tar.gz
scummvm-rg350-52726344b7d7da0a625fb60713f1f7c04c98cd7c.tar.bz2
scummvm-rg350-52726344b7d7da0a625fb60713f1f7c04c98cd7c.zip
LOL: - implemented item throwing
svn-id: r39455
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/lol_cd.h3
-rw-r--r--tools/create_kyradat/misc.h1
4 files changed, 6 insertions, 2 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp
index 178cab0929..623be1aaeb 100644
--- a/tools/create_kyradat/create_kyradat.cpp
+++ b/tools/create_kyradat/create_kyradat.cpp
@@ -31,7 +31,7 @@
#include "md5.h"
enum {
- kKyraDatVersion = 42,
+ kKyraDatVersion = 43,
kIndexSize = 12
};
@@ -291,6 +291,7 @@ const ExtractFilename extractFilenames[] = {
{ lolMonsterScaleY, kTypeRawData, "MONSTZY.DEF" },
{ lolMonsterScaleX, kTypeRawData, "MONSTZX.DEF" },
{ lolMonsterScaleWH, lolTypeRaw16, "MONSTSCL.DEF" },
+ { lolFlyingItemShp, k3TypeRaw16to8, "THRWNSHP.DEF" },
{ lolInventoryDesc, lolTypeRaw16, "INVDESC.DEF" },
{ lolLevelShpList, kTypeStringList, "SHPFILES.TXT" },
{ lolLevelDatList, kTypeStringList, "DATFILES.TXT" },
diff --git a/tools/create_kyradat/create_kyradat.h b/tools/create_kyradat/create_kyradat.h
index ee83bcfa5c..048391d631 100644
--- a/tools/create_kyradat/create_kyradat.h
+++ b/tools/create_kyradat/create_kyradat.h
@@ -200,6 +200,7 @@ enum kExtractID {
lolMonsterScaleY,
lolMonsterScaleX,
lolMonsterScaleWH,
+ lolFlyingItemShp,
lolInventoryDesc,
lolLevelShpList,
diff --git a/tools/create_kyradat/lol_cd.h b/tools/create_kyradat/lol_cd.h
index b7f80d075e..420a7bb55a 100644
--- a/tools/create_kyradat/lol_cd.h
+++ b/tools/create_kyradat/lol_cd.h
@@ -22,7 +22,8 @@ const ExtractEntry lolCDFile2[] = {
{ lolMonsterDirFlags, 0x00031FFF, 0x0003200F },
{ lolMonsterScaleY, 0x00031BC0, 0x00031BDE },
{ lolMonsterScaleX, 0x00031BDE, 0x00031BFE },
- { lolMonsterScaleWH, 0x000285C0, 0x00028644 },
+ { lolMonsterScaleWH, 0x000285C0, 0x00028642 },
+ { lolFlyingItemShp, 0x00028642, 0x000286C4 },
{ lolInventoryDesc, 0x00032706, 0x0003271C },
{ lolLevelShpList, 0x00032826, 0x000328A5 },
diff --git a/tools/create_kyradat/misc.h b/tools/create_kyradat/misc.h
index 51f3246775..8f0d0b6316 100644
--- a/tools/create_kyradat/misc.h
+++ b/tools/create_kyradat/misc.h
@@ -506,6 +506,7 @@ const int lolCDFile2Need[] = {
lolMonsterScaleY,
lolMonsterScaleX,
lolMonsterScaleWH,
+ lolFlyingItemShp,
lolInventoryDesc,
lolLevelShpList,