aboutsummaryrefslogtreecommitdiff
path: root/engines/access/martian
diff options
context:
space:
mode:
authorStrangerke2014-12-17 22:38:01 +0100
committerStrangerke2014-12-17 22:38:01 +0100
commitc57f1919603c6a7223cb02c637f3682dfb96975f (patch)
tree1454d7d98747132f91335cba8971f1ee2637fb34 /engines/access/martian
parentbb01fa31f80e45f0537b3ea02083eed113c41f9c (diff)
downloadscummvm-rg350-c57f1919603c6a7223cb02c637f3682dfb96975f.tar.gz
scummvm-rg350-c57f1919603c6a7223cb02c637f3682dfb96975f.tar.bz2
scummvm-rg350-c57f1919603c6a7223cb02c637f3682dfb96975f.zip
ACCESS: Constify some resources in MM too
Diffstat (limited to 'engines/access/martian')
-rw-r--r--engines/access/martian/martian_resources.cpp8
-rw-r--r--engines/access/martian/martian_resources.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/engines/access/martian/martian_resources.cpp b/engines/access/martian/martian_resources.cpp
index 046e06c6e3..d2b5dfd5d0 100644
--- a/engines/access/martian/martian_resources.cpp
+++ b/engines/access/martian/martian_resources.cpp
@@ -83,7 +83,7 @@ const byte MOUSE3[] = {
6, 6, 5, 1, 11, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0,
0, 0, 0, 0, 0
};
-const byte *CURSORS[4] = { MOUSE0, MOUSE1, MOUSE2, MOUSE3 };
+const byte *const CURSORS[4] = { MOUSE0, MOUSE1, MOUSE2, MOUSE3 };
const int TRAVEL_POS[][2] = {
{ -1, 0 },
@@ -411,7 +411,7 @@ const byte ROOM_TABLE47[] = {
0xff, 0xff, 0x2b, 0x00, 0x04, 0x00, 0xff, 0xff, 0x2e, 0x00,
0x04, 0x00, 0x01, 0x00, 0xff, 0xff, 0x00,
};
-const byte *ROOM_TABLE[] = {
+const byte *const ROOM_TABLE[] = {
nullptr, ROOM_TABLE1, ROOM_TABLE2, ROOM_TABLE3, ROOM_TABLE4, ROOM_TABLE5, ROOM_TABLE6,
ROOM_TABLE7, ROOM_TABLE8, ROOM_TABLE9, nullptr, ROOM_TABLE11, nullptr, ROOM_TABLE13,
ROOM_TABLE14, ROOM_TABLE15, ROOM_TABLE16, ROOM_TABLE17, ROOM_TABLE18, nullptr, nullptr,
@@ -421,7 +421,7 @@ const byte *ROOM_TABLE[] = {
nullptr, nullptr, nullptr, nullptr, nullptr, ROOM_TABLE47
};
-const char *ROOM_DESCR[] = {
+const char *const ROOM_DESCR[] = {
nullptr, "TBD ROOM_TABLE1", "TBD ROOM_TABLE2", "TBD ROOM_TABLE3", "TBD ROOM_TABLE4",
"TBD ROOM_TABLE5", "TBD ROOM_TABLE6", "TBD ROOM_TABLE7", "TBD ROOM_TABLE8", "TBD ROOM_TABLE9",
nullptr, "TBD ROOM_TABLE11", nullptr, "TBD ROOM_TABLE13", "TBD ROOM_TABLE14",
@@ -650,7 +650,7 @@ const byte CHAR_TABLE27[] = {
0x00, 0x49, 0x00, 0x10, 0x00, 0x49, 0x00, 0x09, 0x00, 0x49,
0x00, 0x11, 0x00, 0xff, 0xff,
};
-const byte *CHAR_TABLE[] = {
+const byte *const CHAR_TABLE[] = {
CHAR_TABLE0, nullptr, CHAR_TABLE2, CHAR_TABLE3, CHAR_TABLE4, CHAR_TABLE5,
CHAR_TABLE6, CHAR_TABLE7, CHAR_TABLE8, CHAR_TABLE9, CHAR_TABLE10,
CHAR_TABLE11, CHAR_TABLE12, CHAR_TABLE13, nullptr, CHAR_TABLE15,
diff --git a/engines/access/martian/martian_resources.h b/engines/access/martian/martian_resources.h
index b9584ba2dd..a52967d42a 100644
--- a/engines/access/martian/martian_resources.h
+++ b/engines/access/martian/martian_resources.h
@@ -31,17 +31,17 @@ namespace Martian {
extern const char *const FILENAMES[];
-extern const byte *CURSORS[4];
+extern const byte *const CURSORS[4];
extern const int TRAVEL_POS[][2];
extern const char *const INVENTORY_NAMES[];
-extern const byte *ROOM_TABLE[];
-extern const char *ROOM_DESCR[];
+extern const byte *const ROOM_TABLE[];
+extern const char *const ROOM_DESCR[];
extern const int ROOM_NUMB;
-extern const byte *CHAR_TABLE[];
+extern const byte *const CHAR_TABLE[];
extern const int COMBO_TABLE[54][4];