aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2015-07-19 17:07:27 +0200
committerMax Horn2015-07-19 17:11:36 +0200
commit4887796888772d1347846ee58227d013afa0e19a (patch)
tree3a7b92980cd51b975fb5fa5d41ba1cc50c11b524 /engines
parent91e925d8cec1eff97d76ba4f0870171a3cb5b3b3 (diff)
downloadscummvm-rg350-4887796888772d1347846ee58227d013afa0e19a.tar.gz
scummvm-rg350-4887796888772d1347846ee58227d013afa0e19a.tar.bz2
scummvm-rg350-4887796888772d1347846ee58227d013afa0e19a.zip
ACCESS: Avoid use of global constructors
Diffstat (limited to 'engines')
-rw-r--r--engines/access/resources.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/access/resources.cpp b/engines/access/resources.cpp
index 4157cdfc0d..04948404d0 100644
--- a/engines/access/resources.cpp
+++ b/engines/access/resources.cpp
@@ -64,17 +64,17 @@ const int RMOUSE[10][2] = {
{ 142, 177 }, { 178, 212 }, { 213, 248 }, { 249, 283 }, { 284, 318 }
};
-const char *const LOOK_MESSAGE = "LOOKING THERE REVEALS NOTHING OF INTEREST.";
-const char *const GET_MESSAGE = "YOU CAN'T TAKE THAT.";
-const char *const OPEN_MESSAGE = "THAT DOESN'T OPEN.";
-const char *const MOVE_MESSAGE = "THAT WON'T MOVE.";
-const char *const USE_MESSAGE = "THAT DOESN'T SEEM TO WORK.";
-const char *const GO_MESSAGE = "YOU CAN'T CLIMB THAT.";
-const char *const HELP_MESSAGE = "THIS OBJECT REQUIRES NO HINTS";
-const char *const TALK_MESSAGE = "THERE SEEMS TO BE NO RESPONSE.";
const char *const GENERAL_MESSAGES[] = {
- LOOK_MESSAGE, OPEN_MESSAGE, MOVE_MESSAGE, GET_MESSAGE, USE_MESSAGE,
- GO_MESSAGE, TALK_MESSAGE, HELP_MESSAGE, HELP_MESSAGE, USE_MESSAGE
+ "LOOKING THERE REVEALS NOTHING OF INTEREST.", // LOOK_MESSAGE
+ "THAT DOESN'T OPEN.", // OPEN_MESSAGE
+ "THAT WON'T MOVE." // MOVE_MESSAGE
+ "YOU CAN'T TAKE THAT.", // GET_MESSAGE
+ "THAT DOESN'T SEEM TO WORK.", // USE_MESSAGE
+ "YOU CAN'T CLIMB THAT.", // GO_MESSAGE
+ "THERE SEEMS TO BE NO RESPONSE.", // TALK_MESSAGE
+ "THIS OBJECT REQUIRES NO HINTS", // HELP_MESSAGE
+ "THIS OBJECT REQUIRES NO HINTS", // HELP_MESSAGE
+ "THAT DOESN'T SEEM TO WORK.", // USE_MESSAGE
};
const int INVCOORDS[][4] = {