aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_kyradat
diff options
context:
space:
mode:
authorathrxx2011-07-02 03:19:46 +0200
committerJohannes Schickel2011-12-26 16:18:12 +0100
commit5baabf037df661e4730500ecebca6347031aa295 (patch)
tree1138d0eb7d473353c0e82452017dbb0a885f91c2 /devtools/create_kyradat
parentc53589bcda2875154b2590f264838b1be728d1f3 (diff)
downloadscummvm-rg350-5baabf037df661e4730500ecebca6347031aa295.tar.gz
scummvm-rg350-5baabf037df661e4730500ecebca6347031aa295.tar.bz2
scummvm-rg350-5baabf037df661e4730500ecebca6347031aa295.zip
KYRA: (EOB) - implement save menu
Diffstat (limited to 'devtools/create_kyradat')
-rw-r--r--devtools/create_kyradat/create_kyradat.cpp3
-rw-r--r--devtools/create_kyradat/create_kyradat.h1
-rw-r--r--devtools/create_kyradat/games.cpp2
-rw-r--r--devtools/create_kyradat/tables.cpp9
4 files changed, 14 insertions, 1 deletions
diff --git a/devtools/create_kyradat/create_kyradat.cpp b/devtools/create_kyradat/create_kyradat.cpp
index 298d8b264e..32280c68e8 100644
--- a/devtools/create_kyradat/create_kyradat.cpp
+++ b/devtools/create_kyradat/create_kyradat.cpp
@@ -272,6 +272,7 @@ const ExtractFilename extractFilenames[] = {
{ kEobBaseMenuStringsTransfer, kTypeStringList, true },
{ kEobBaseMenuStringsSpec, kTypeStringList, true },
{ kEobBaseMenuStringsSpellNo, kTypeStringList, false },
+ { kEobBaseMenuYesNoStrings, kTypeStringList, true },
{ kEobBaseSpellLevelsMage, kTypeRawData, false },
{ kEobBaseSpellLevelsCleric, kTypeRawData, false },
@@ -1363,6 +1364,8 @@ const char *getIdString(const int id) {
return "kEobBaseMenuStringsSpec";
case kEobBaseMenuStringsSpellNo:
return "kEobBaseMenuStringsSpellNo";
+ case kEobBaseMenuYesNoStrings:
+ return "kEobBaseMenuYesNoStrings";
case kEobBaseSpellLevelsMage:
return "kEobBaseSpellLevelsMage";
case kEobBaseSpellLevelsCleric:
diff --git a/devtools/create_kyradat/create_kyradat.h b/devtools/create_kyradat/create_kyradat.h
index e2702c496e..be0d56acff 100644
--- a/devtools/create_kyradat/create_kyradat.h
+++ b/devtools/create_kyradat/create_kyradat.h
@@ -247,6 +247,7 @@ enum kExtractID {
kEobBaseMenuStringsTransfer,
kEobBaseMenuStringsSpec,
kEobBaseMenuStringsSpellNo,
+ kEobBaseMenuYesNoStrings,
kEobBaseSpellLevelsMage,
kEobBaseSpellLevelsCleric,
diff --git a/devtools/create_kyradat/games.cpp b/devtools/create_kyradat/games.cpp
index f98f712c15..124d6e34f4 100644
--- a/devtools/create_kyradat/games.cpp
+++ b/devtools/create_kyradat/games.cpp
@@ -1094,6 +1094,7 @@ const int eob1FloppyNeed[] = {
kEobBaseMenuStringsRest2,
kEobBaseMenuStringsRest4,
kEobBaseMenuStringsDefeat,
+ kEobBaseMenuYesNoStrings,
kEobBaseSpellLevelsMage,
kEobBaseSpellLevelsCleric,
@@ -1282,6 +1283,7 @@ const int eob2FloppyNeed[] = {
kEobBaseMenuStringsTransfer,
kEobBaseMenuStringsSpec,
kEobBaseMenuStringsSpellNo,
+ kEobBaseMenuYesNoStrings,
kEobBaseSpellLevelsMage,
kEobBaseSpellLevelsCleric,
diff --git a/devtools/create_kyradat/tables.cpp b/devtools/create_kyradat/tables.cpp
index b1f54d2cf3..0e1d95448d 100644
--- a/devtools/create_kyradat/tables.cpp
+++ b/devtools/create_kyradat/tables.cpp
@@ -1675,6 +1675,12 @@ const ExtractEntrySearchData kEobBaseMenuStringsSpellNoProvider[] = {
EXTRACT_END_ENTRY
};
+const ExtractEntrySearchData kEobBaseMenuYesNoStringsProvider[] = {
+ { EN_ANY, kPlatformUnknown, { 0x00000007, 0x000001EE, { { 0x8C, 0xF1, 0x35, 0x1F, 0xD6, 0x1F, 0xA4, 0xA1, 0xD6, 0xD6, 0x0A, 0x27, 0xB9, 0xFC, 0x9E, 0x62 } } } },
+ { DE_DEU, kPlatformUnknown, { 0x00000008, 0x00000235, { { 0xC7, 0x06, 0xCF, 0xA8, 0xC0, 0xDE, 0xD4, 0x8C, 0x7F, 0xA2, 0x3A, 0xD3, 0x48, 0x51, 0x36, 0x89 } } } },
+ EXTRACT_END_ENTRY
+};
+
const ExtractEntrySearchData kEobBaseSpellLevelsMageProvider[] = {
{ UNK_LANG, kPlatformUnknown, { 0x0000001A, 0x00000042, { { 0x4F, 0xA3, 0x70, 0x0F, 0x6D, 0xB4, 0xC2, 0xAF, 0x12, 0xB4, 0x2E, 0x26, 0xEF, 0x0B, 0x37, 0x92 } } } }, // EOB1
{ UNK_LANG, kPlatformUnknown, { 0x00000023, 0x00000074, { { 0xBE, 0x10, 0xFA, 0xD9, 0xB3, 0xB0, 0x4E, 0x73, 0xC9, 0xA1, 0xE2, 0xCE, 0xE8, 0xEC, 0x85, 0x0F } } } }, // EOB2
@@ -3434,7 +3440,8 @@ const ExtractEntry extractProviders[] = {
{ kEobBaseMenuStringsTransfer, kEobBaseMenuStringsTransferProvider },
{ kEobBaseMenuStringsSpec, kEobBaseMenuStringsSpecProvider },
{ kEobBaseMenuStringsSpellNo, kEobBaseMenuStringsSpellNoProvider },
-
+ { kEobBaseMenuYesNoStrings, kEobBaseMenuYesNoStringsProvider },
+
{ kEobBaseSpellLevelsMage, kEobBaseSpellLevelsMageProvider },
{ kEobBaseSpellLevelsCleric, kEobBaseSpellLevelsClericProvider },
{ kEobBaseNumSpellsCleric, kEobBaseNumSpellsClericProvider },