aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/staticres.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-24 13:27:05 +0000
committerJohannes Schickel2008-04-24 13:27:05 +0000
commit37d21cab59f6ad21a353562106cb2b3e4aa3d746 (patch)
tree7c719391105b169a5eef7b324b458706d4d0ac74 /engines/kyra/staticres.cpp
parentcaa7a4787c1b20946bc931dd5b907ce563163064 (diff)
downloadscummvm-rg350-37d21cab59f6ad21a353562106cb2b3e4aa3d746.tar.gz
scummvm-rg350-37d21cab59f6ad21a353562106cb2b3e4aa3d746.tar.bz2
scummvm-rg350-37d21cab59f6ad21a353562106cb2b3e4aa3d746.zip
Implemented special item string selection for french version of Kyra3.
svn-id: r31689
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r--engines/kyra/staticres.cpp26
1 files changed, 25 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index 1bbafd481b..7b66253317 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -2350,7 +2350,31 @@ const uint8 KyraEngine_v3::_itemMagicTable[] = {
0xFF, 0xFF, 0xFF, 0xFF
};
-} // End of namespace Kyra
+const uint8 KyraEngine_v3::_itemStringMap[] = {
+ 1, 0, 2, 0, 2, 2, 0, 0,
+ 2, 2, 2, 2, 2, 2, 2, 0,
+ 0, 0, 0, 0, 0, 0, 3, 1,
+ 2, 0, 2, 2, 0, 0, 0, 0,
+ 0, 0, 1, 2, 0, 2, 0, 2,
+ 0, 0, 2, 0, 0, 0, 0, 1,
+ 1, 0, 2, 2, 0, 0, 2, 0,
+ 0, 2, 0, 2, 2, 0, 0, 2,
+ 0, 0, 0, 0, 2, 0, 0, 2
+};
+const uint KyraEngine_v3::_itemStringMapSize = ARRAYSIZE(KyraEngine_v3::_itemStringMap);
+const uint8 KyraEngine_v3::_itemStringPickUp[] = {
+ 0x4, 0x7, 0x0, 0xA
+};
+
+const uint8 KyraEngine_v3::_itemStringDrop[] = {
+ 0x5, 0x8, 0x1, 0xB
+};
+
+const uint8 KyraEngine_v3::_itemStringInv[] = {
+ 0x6, 0x9, 0x2, 0xC
+};
+
+} // End of namespace Kyra