aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorMax Horn2006-10-15 02:15:38 +0000
committerMax Horn2006-10-15 02:15:38 +0000
commitb5cbbd705a27bba26dd2a312c37578a63233ff27 (patch)
tree3a66df2d3a4ca5a755b1ebb2bd2baaf602bd27ab /engines/agi
parent27b73e4960876c8d5efaee27e0365beeba544b7f (diff)
downloadscummvm-rg350-b5cbbd705a27bba26dd2a312c37578a63233ff27.tar.gz
scummvm-rg350-b5cbbd705a27bba26dd2a312c37578a63233ff27.tar.bz2
scummvm-rg350-b5cbbd705a27bba26dd2a312c37578a63233ff27.zip
Added some more const keywords
svn-id: r24330
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/patches.cpp16
-rw-r--r--engines/agi/picture.cpp6
2 files changed, 11 insertions, 11 deletions
diff --git a/engines/agi/patches.cpp b/engines/agi/patches.cpp
index a666c84686..b41dc24b0d 100644
--- a/engines/agi/patches.cpp
+++ b/engines/agi/patches.cpp
@@ -39,14 +39,14 @@ namespace Agi {
* Patches
*/
-static uint8 kq4data_find[] = {
+static const uint8 kq4data_find[] = {
0x0C, 0x04, 0xFF, 0x07, 0x05, 0xFF, 0x15, 0x00,
0x03, 0x0A, 0x00, 0x77, 0x83, 0x71, 0x0D, 0x97,
0x03, 0x98, 0xCE, 0x18, 0x98, 0x19, 0x98, 0x1B,
0x98, 0x0C, 0x5A, 0x1A, 0x00
};
-static uint8 kq4data_fix[] = {
+static const uint8 kq4data_fix[] = {
/* v19 = 0
* new.room(96)
* return
@@ -54,14 +54,14 @@ static uint8 kq4data_fix[] = {
0x03, 0x13, 0x0, 0x12, 0x60, 0x00
};
-static uint8 grdata_find[] = {
+static const uint8 grdata_find[] = {
0x0C, 0x04, 0xFF, 0x07, 0x05, 0xFF, 0x16, 0x00,
0x0C, 0x96, 0x03, 0x0A, 0x00, 0x77, 0x83, 0x71,
0x0D, 0xD9, 0x03, 0xDC, 0xBF, 0x18, 0xDC, 0x19,
0xDC, 0x1B, 0xDC, 0x0C, 0x95, 0x1A
};
-static uint8 grdata_fix[] = {
+static const uint8 grdata_fix[] = {
/* reset(227)
* v19 = 0
* v246 = 1
@@ -73,14 +73,14 @@ static uint8 grdata_fix[] = {
};
#if 0
-static uint8 lsl1data_find[] = {
+static const uint8 lsl1data_find[] = {
0xFF, 0xFD, 0x07, 0x1E, 0xFC, 0x07, 0x6D, 0x01,
0x5F, 0x03, 0xFC, 0xFF, 0x12, 0x00, 0x0C, 0x6D,
0x78, 0x8A, 0x77, 0x69, 0x16, 0x18, 0x00, 0x0D,
0x30, 0x0D, 0x55, 0x78, 0x65, 0x0A
};
-static uint8 lsl1data_fix[] = {
+static const uint8 lsl1data_fix[] = {
/* set(109)
* reset(48)
* reset(85)
@@ -92,7 +92,7 @@ static uint8 lsl1data_fix[] = {
};
#endif
-static uint8 mh1data_find[] = {
+static const uint8 mh1data_find[] = {
0xFF, 0x07, 0x05, 0xFF, 0xE6, 0x00,
0x03, 0x0A, 0x02, 0x77, 0x83, 0x71,
0x6F, 0x01, 0x17, 0x00, 0x03, 0x00,
@@ -100,7 +100,7 @@ static uint8 mh1data_find[] = {
0x03, 0x03, 0x3B, 0x00, 0x6C, 0x03
};
-static uint8 mh1data_fix[] = {
+static const uint8 mh1data_fix[] = {
0x0C, 0x05, 0x16, 0x5A, 0x12, 0x99
};
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp
index 900bf10a91..00bde8ac87 100644
--- a/engines/agi/picture.cpp
+++ b/engines/agi/picture.cpp
@@ -43,7 +43,7 @@ static uint8 scr_on;
static uint8 scr_colour;
static uint8 pri_colour;
-static uint8 circles[][15] = { /* agi circle bitmaps */
+static const uint8 circles[][15] = { /* agi circle bitmaps */
{0x80},
{0xfc},
{0x5f, 0xf4},
@@ -54,14 +54,14 @@ static uint8 circles[][15] = { /* agi circle bitmaps */
{0x18, 0x3c, 0x7e, 0x7e, 0x7e, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7e, 0x7e, 0x7e, 0x3c, 0x18}
};
-static uint8 splatter_map[32] = { /* splatter brush bitmaps */
+static const uint8 splatter_map[32] = { /* splatter brush bitmaps */
0x20, 0x94, 0x02, 0x24, 0x90, 0x82, 0xa4, 0xa2,
0x82, 0x09, 0x0a, 0x22, 0x12, 0x10, 0x42, 0x14,
0x91, 0x4a, 0x91, 0x11, 0x08, 0x12, 0x25, 0x10,
0x22, 0xa8, 0x14, 0x24, 0x00, 0x50, 0x24, 0x04
};
-static uint8 splatter_start[128] = { /* starting bit position */
+static const uint8 splatter_start[128] = { /* starting bit position */
0x00, 0x18, 0x30, 0xc4, 0xdc, 0x65, 0xeb, 0x48,
0x60, 0xbd, 0x89, 0x05, 0x0a, 0xf4, 0x7d, 0x7d,
0x85, 0xb0, 0x8e, 0x95, 0x1f, 0x22, 0x0d, 0xdf,