aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/resources.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-25 23:59:16 -0500
committerPaul Gilbert2015-01-25 23:59:16 -0500
commitf11e11006b5cbe7d9bcd547f98ab2b4dba358764 (patch)
treea555a31e82c5161678fce3640c1013ad4138f932 /engines/xeen/resources.cpp
parent2abce62b8fd1b29d2c351ca7502f21010882674f (diff)
downloadscummvm-rg350-f11e11006b5cbe7d9bcd547f98ab2b4dba358764.tar.gz
scummvm-rg350-f11e11006b5cbe7d9bcd547f98ab2b4dba358764.tar.bz2
scummvm-rg350-f11e11006b5cbe7d9bcd547f98ab2b4dba358764.zip
XEEN: Beginnings of Town class, implemented handleAction
Diffstat (limited to 'engines/xeen/resources.cpp')
-rw-r--r--engines/xeen/resources.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/engines/xeen/resources.cpp b/engines/xeen/resources.cpp
index 0f48073044..9e11a17aa7 100644
--- a/engines/xeen/resources.cpp
+++ b/engines/xeen/resources.cpp
@@ -68,7 +68,7 @@ const char *const OPTIONS_TITLE =
const char *const THE_PARTY_NEEDS_REST = "\x0B""012The Party needs rest!";
-const char *const WHO_WILL = "\X03""c\X0B""000\x09""000%s\x0A\x0A"
+const char *const WHO_WILL = "\x03""c\x0B""000\x09""000%s\x0A\x0A"
"Who will\x0A%s?\x0A\x0B""055F1 - F%d";
const char *const WHATS_THE_PASSWORD = "What's the Password?";
@@ -566,4 +566,23 @@ const int OUTDOOR_DRAWSTRCT_INDEXES[44] = {
93, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120
};
+const int TOWN_MAXES[2][11] = {
+ { 23, 13, 32, 16, 26, 16, 16, 16, 16, 16, 16 },
+ { 26, 19, 48, 27, 26, 37, 16, 16, 16, 16, 16 }
+};
+
+const char *const TOWN_ACTION_MUSIC[14] = {
+ "bank.m", "smith.m", "guild.m", "tavern.m", "temple.m",
+ "grounds.m", "endgame.m", "bank.m", "sf09.m", "guild.m",
+ "tavern.m", "temple.m", "smith.m", "endgame.m"
+};
+
+const char *const TOWN_ACTION_SHAPES[4] = {
+ "bankr", "blck", "gild", "tvrn"
+};
+
+const int TOWN_ACTION_FILES[2][7] = {
+ { 3, 2, 4, 2, 4, 2, 1 }, { 5, 3, 7, 5, 4, 6, 1 }
+};
+
} // End of namespace Xeen