aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-13 15:55:12 +0000
committerJohannes Schickel2009-08-13 15:55:12 +0000
commit4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c (patch)
tree91575290d6fdcb0ff19c8459271b93ff61ae799e /tools/create_kyradat
parente9767a80ce6d41d762cc029a40b98a9850fe02bd (diff)
downloadscummvm-rg350-4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c.tar.gz
scummvm-rg350-4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c.tar.bz2
scummvm-rg350-4afa6d18a4d08dcf903bb9a2973ed0b1123e1c6c.zip
Implemented support for the "Lore of the Lands" special of Lands of Lore CD.
svn-id: r43349
Diffstat (limited to 'tools/create_kyradat')
-rw-r--r--tools/create_kyradat/create_kyradat.cpp4
-rw-r--r--tools/create_kyradat/create_kyradat.h2
-rw-r--r--tools/create_kyradat/lol_cd.h8
-rw-r--r--tools/create_kyradat/misc.h6
4 files changed, 18 insertions, 2 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp
index 780282bab2..011550d1cd 100644
--- a/tools/create_kyradat/create_kyradat.cpp
+++ b/tools/create_kyradat/create_kyradat.cpp
@@ -31,7 +31,7 @@
#include "md5.h"
enum {
- kKyraDatVersion = 49,
+ kKyraDatVersion = 50,
kIndexSize = 12
};
@@ -347,6 +347,8 @@ const ExtractFilename extractFilenames[] = {
{ lolLightningDefs, kTypeRawData, "MLGHTNG.DEF" },
{ lolFireballCoords, lolTypeRaw16, "MFIREBLL.DEF" },
+ { lolHistory, kTypeRawData, "HISTORY.FLS" },
+
{ -1, 0, 0 }
};
diff --git a/tools/create_kyradat/create_kyradat.h b/tools/create_kyradat/create_kyradat.h
index 13f6966f83..e7aa292265 100644
--- a/tools/create_kyradat/create_kyradat.h
+++ b/tools/create_kyradat/create_kyradat.h
@@ -257,6 +257,8 @@ enum kExtractID {
lolLightningDefs,
lolFireballCoords,
+ lolHistory,
+
kMaxResIDs
};
diff --git a/tools/create_kyradat/lol_cd.h b/tools/create_kyradat/lol_cd.h
index fa36d1b91d..dfdd5e1bc3 100644
--- a/tools/create_kyradat/lol_cd.h
+++ b/tools/create_kyradat/lol_cd.h
@@ -1,3 +1,8 @@
+const ExtractEntry lolCDFile1E[] = {
+ { lolHistory, 0x1FAA0, 0x1FC71 },
+ { -1, 0, 0 }
+};
+
const ExtractEntry lolCDFile2[] = {
{ lolCharacterDefs, 0x00029D60, 0x0002A1F2 },
{ lolIngameSfxFiles, 0x0002A330, 0x0002AC22 },
@@ -84,6 +89,7 @@ const ExtractEntry lolCDFile2[] = {
};
const Game lolGames[] = {
- { kLol, EN_ANY, kLolCD, "263998ec600afca1cc7b935c473df670", lolCDFile2},
+ { kLol, EN_ANY, kLolCD, "9d1778314de80598c0b0d032e2a1a1cf", lolCDFile1E },
+ { kLol, EN_ANY, kLolCD, "263998ec600afca1cc7b935c473df670", lolCDFile2 },
GAME_DUMMY_ENTRY
};
diff --git a/tools/create_kyradat/misc.h b/tools/create_kyradat/misc.h
index 1dac208ade..1117ad1d05 100644
--- a/tools/create_kyradat/misc.h
+++ b/tools/create_kyradat/misc.h
@@ -481,6 +481,11 @@ const int kyra3Need[] = {
-1
};
+const int lolCDFile1ENeed[] = {
+ lolHistory,
+ -1
+};
+
const int lolCDFile2Need[] = {
lolCharacterDefs,
lolIngameSfxFiles,
@@ -604,6 +609,7 @@ const GameNeed gameNeedTable[] = {
{ kKyra3, -1, kyra3Need },
+ { kLol, kLolCD, lolCDFile1ENeed },
{ kLol, kLolCD, lolCDFile2Need },
{ -1, -1, 0 }