aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_xeen/constants.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-05-27 19:56:41 -0400
committerPaul Gilbert2018-05-27 19:56:41 -0400
commit23f3f171df73fc996f3825680e545d44e34f7692 (patch)
tree937d060e4ed8a59521e9c5a3c0620eba80a5600a /devtools/create_xeen/constants.cpp
parent881c94636162fc56ea9f409bce6390e959bbd6a1 (diff)
downloadscummvm-rg350-23f3f171df73fc996f3825680e545d44e34f7692.tar.gz
scummvm-rg350-23f3f171df73fc996f3825680e545d44e34f7692.tar.bz2
scummvm-rg350-23f3f171df73fc996f3825680e545d44e34f7692.zip
XEEN: Fix close-up objects placement, incorrect skill text in Create Char dialog
Diffstat (limited to 'devtools/create_xeen/constants.cpp')
-rw-r--r--devtools/create_xeen/constants.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/devtools/create_xeen/constants.cpp b/devtools/create_xeen/constants.cpp
index 92e0d1f82d..7210759908 100644
--- a/devtools/create_xeen/constants.cpp
+++ b/devtools/create_xeen/constants.cpp
@@ -627,7 +627,7 @@ const int MONSTER_GRID_BITMASK[12] = {
};
const int INDOOR_OBJECT_X[2][12] = {
- { 5, -7, -112, 98, -8, -65, 49, -9, -34, 16, -58, 40 },
+ { -5, -7, -112, 98, -8, -65, 49, -9, -34, 16, -58, 40 },
{ -35, -35, -142, 68, -35, -95, 19, -35, -62, -14, -98, 16 }
};
@@ -1694,6 +1694,7 @@ const char *const SELECT_CLASS_BEFORE_SAVING =
const char *const EXCHANGE_ATTR_WITH = "Exchange %s with...";
const int NEW_CHAR_SKILLS[10] = { 1, 5, -1, -1, 4, 0, 0, -1, 6, 11 };
+const int NEW_CHAR_SKILLS_OFFSET[10] = { 0, 0, 0, 5, 0, 0, 0, 0, 0, 0 };
const int NEW_CHAR_SKILLS_LEN[10] = { 11, 8, 0, 0, 12, 8, 8, 0, 9, 11 };
const int NEW_CHAR_RACE_SKILLS[10] = { 14, -1, 17, 16, -1, 0, 0, 0, 0, 0 };
@@ -2255,6 +2256,7 @@ void writeConstants(CCArchive &cc) {
file.syncString(SELECT_CLASS_BEFORE_SAVING);
file.syncString(EXCHANGE_ATTR_WITH);
file.syncNumbers((const int *)NEW_CHAR_SKILLS, 10);
+ file.syncNumbers((const int *)NEW_CHAR_SKILLS_OFFSET, 10);
file.syncNumbers((const int *)NEW_CHAR_SKILLS_LEN, 10);
file.syncNumbers((const int *)NEW_CHAR_RACE_SKILLS, 10);
file.syncNumbers((const int *)RACE_MAGIC_RESISTENCES, 5);