aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-07-19 14:22:28 +0200
committerStrangerke2013-07-19 14:22:28 +0200
commited69aaf9991a63ad34085c67a8f5a04d968871ed (patch)
tree45b0dfc6df8e6a2b84dfc4a5233ef74a0be9940f /engines
parent388b4a7b3390282b118a8b0720ae3a07c91f1934 (diff)
downloadscummvm-rg350-ed69aaf9991a63ad34085c67a8f5a04d968871ed.tar.gz
scummvm-rg350-ed69aaf9991a63ad34085c67a8f5a04d968871ed.tar.bz2
scummvm-rg350-ed69aaf9991a63ad34085c67a8f5a04d968871ed.zip
MORTEVIELLE: Constify 3 more arrays
Diffstat (limited to 'engines')
-rw-r--r--engines/mortevielle/outtext.cpp4
-rw-r--r--engines/mortevielle/utils.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mortevielle/outtext.cpp b/engines/mortevielle/outtext.cpp
index 81760d1afa..6bb775a423 100644
--- a/engines/mortevielle/outtext.cpp
+++ b/engines/mortevielle/outtext.cpp
@@ -189,8 +189,8 @@ void TextHandler::loadAniFile(Common::String filename, int32 skipSize, int lengt
void TextHandler::taffich() {
static const byte _rang[16] = {15, 14, 11, 7, 13, 12, 10, 6, 9, 5, 3, 1, 2, 4, 8, 0};
- byte tran1[] = { 121, 121, 138, 139, 120 };
- byte tran2[] = { 150, 150, 152, 152, 100, 110, 159, 100, 100 };
+ static const byte tran1[] = { 121, 121, 138, 139, 120 };
+ static const byte tran2[] = { 150, 150, 152, 152, 100, 110, 159, 100, 100 };
int cx, handle, npal;
int32 lgt;
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index ca6bdcdfc6..2c1a501b19 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -182,7 +182,7 @@ void MortevielleEngine::addKeypress(Common::Event &evt) {
}
-static byte CURSOR_ARROW_DATA[16 * 16] = {
+static const byte CURSOR_ARROW_DATA[16 * 16] = {
0x0f, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x0f, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x0f, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,