From 7ea5cefef4fb1ef9db52cbf5df7f884770113684 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sun, 1 Mar 2009 14:45:30 +0000 Subject: LOL: implemented some monster related code (monsters now get placed in the maze, but they still don't do anything) svn-id: r39039 --- tools/create_kyradat/create_kyradat.cpp | 8 +++++++- tools/create_kyradat/create_kyradat.h | 6 ++++++ tools/create_kyradat/lol_cd.h | 6 ++++++ tools/create_kyradat/misc.h | 6 ++++++ 4 files changed, 25 insertions(+), 1 deletion(-) (limited to 'tools/create_kyradat') diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp index 4ec75d653c..6ed270638e 100644 --- a/tools/create_kyradat/create_kyradat.cpp +++ b/tools/create_kyradat/create_kyradat.cpp @@ -31,7 +31,7 @@ #include "md5.h" enum { - kKyraDatVersion = 39, + kKyraDatVersion = 40, kIndexSize = 12 }; @@ -284,6 +284,12 @@ const ExtractFilename extractFilenames[] = { //{ lolCharDefsUnk, lolTypeRaw16, "CHUNK.DEF" }, { lolCharDefsAkshel, lolTypeRaw16, "CHAKSHEL.DEF" }, { lolExpRequirements, lolTypeRaw32, "EXPERIENCE.DEF" }, + { lolMonsterModifiers, lolTypeRaw16, "MONSTMOD.DEF" }, + { lolMonsterLevelOffsets, kTypeRawData, "MONSTLVL.DEF" }, + { lolMonsterDirFlags, kTypeRawData, "MONSTDIR.DEF" }, + { lolMonsterScaleY, kTypeRawData, "MONSTZY.DEF" }, + { lolMonsterScaleX, kTypeRawData, "MONSTZX.DEF" }, + { lolMonsterScaleWH, lolTypeRaw16, "MONSTSCL.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 ecd7bdd81e..10ce7494fb 100644 --- a/tools/create_kyradat/create_kyradat.h +++ b/tools/create_kyradat/create_kyradat.h @@ -193,6 +193,12 @@ enum kExtractID { //lolCharDefsUnk, lolCharDefsAkshel, lolExpRequirements, + lolMonsterModifiers, + lolMonsterLevelOffsets, + lolMonsterDirFlags, + lolMonsterScaleY, + lolMonsterScaleX, + lolMonsterScaleWH, lolInventoryDesc, lolLevelShpList, diff --git a/tools/create_kyradat/lol_cd.h b/tools/create_kyradat/lol_cd.h index 66f49d887d..dfc43c1839 100644 --- a/tools/create_kyradat/lol_cd.h +++ b/tools/create_kyradat/lol_cd.h @@ -16,6 +16,12 @@ const ExtractEntry lolCDFile2[] = { //{ lolCharDefsUnk, 0x0002B508, 0x0002B51A }, { lolCharDefsAkshel, 0x0002B51A, 0x0002B52C }, { lolExpRequirements, 0x0002B830, 0x0002B85C }, + { lolMonsterModifiers, 0x0002B85C, 0x0002B874 }, + { lolMonsterLevelOffsets, 0x00031FDF, 0x00031FFF }, + { lolMonsterDirFlags, 0x00031FFF, 0x0003200F }, + { lolMonsterScaleY, 0x00031BC0, 0x00031BDE }, + { lolMonsterScaleX, 0x00031BDE, 0x00031BFE }, + { lolMonsterScaleWH, 0x000285C0, 0x00028638 }, { lolInventoryDesc, 0x00032706, 0x0003271C }, { lolLevelShpList, 0x00032826, 0x000328A5 }, diff --git a/tools/create_kyradat/misc.h b/tools/create_kyradat/misc.h index 2b865b34a4..fbdaff9e91 100644 --- a/tools/create_kyradat/misc.h +++ b/tools/create_kyradat/misc.h @@ -499,6 +499,12 @@ const int lolCDFile2Need[] = { //lolCharDefsUnk, lolCharDefsAkshel, lolExpRequirements, + lolMonsterModifiers, + lolMonsterLevelOffsets, + lolMonsterDirFlags, + lolMonsterScaleY, + lolMonsterScaleX, + lolMonsterScaleWH, lolInventoryDesc, lolLevelShpList, -- cgit v1.2.3