aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorJohannes Schickel2011-09-08 00:38:39 +0200
committerJohannes Schickel2011-09-08 00:38:39 +0200
commit507b9a75e729eb50f2ef63d2234c3c1b434f2ee1 (patch)
tree9fca0f13cdbf79cdcc933529c5197bdc1b82123d /engines/agos
parent07ec50224e98f85728188de9f931af39d04dcaec (diff)
downloadscummvm-rg350-507b9a75e729eb50f2ef63d2234c3c1b434f2ee1.tar.gz
scummvm-rg350-507b9a75e729eb50f2ef63d2234c3c1b434f2ee1.tar.bz2
scummvm-rg350-507b9a75e729eb50f2ef63d2234c3c1b434f2ee1.zip
AGOS: Made some static data const.
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/animation.cpp2
-rw-r--r--engines/agos/animation.h2
-rw-r--r--engines/agos/detection.cpp2
-rw-r--r--engines/agos/res_snd.cpp2
-rw-r--r--engines/agos/string_pn.cpp2
-rw-r--r--engines/agos/verb_pn.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index b05623525f..d9d6b71a2a 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -137,7 +137,7 @@ void MoviePlayer::handleNextFrame() {
// Movie player for DXA movies
///////////////////////////////////////////////////////////////////////////////
-const char * MoviePlayerDXA::_sequenceList[90] = {
+const char *const MoviePlayerDXA::_sequenceList[90] = {
"agent32",
"Airlock",
"Badluck",
diff --git a/engines/agos/animation.h b/engines/agos/animation.h
index e1d7207251..11936aa338 100644
--- a/engines/agos/animation.h
+++ b/engines/agos/animation.h
@@ -73,7 +73,7 @@ protected:
};
class MoviePlayerDXA : public MoviePlayer, Video::DXADecoder {
- static const char *_sequenceList[90];
+ static const char *const _sequenceList[90];
uint8 _sequenceNum;
public:
MoviePlayerDXA(AGOSEngine_Feeble *vm, const char *name);
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 861aa08851..116e66820a 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -83,7 +83,7 @@ static const PlainGameDescriptor agosGames[] = {
#include "agos/detection_tables.h"
-static const char *directoryGlobs[] = {
+static const char *const directoryGlobs[] = {
"execute", // Used by Simon1 Acorn CD
0
};
diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp
index 1d4e2d1060..b5612d710d 100644
--- a/engines/agos/res_snd.cpp
+++ b/engines/agos/res_snd.cpp
@@ -413,7 +413,7 @@ bool AGOSEngine::loadVGASoundFile(uint16 id, uint8 type) {
return true;
}
-static const char *dimpSoundList[32] = {
+static const char *const dimpSoundList[32] = {
"Beep",
"Birth",
"Boiling",
diff --git a/engines/agos/string_pn.cpp b/engines/agos/string_pn.cpp
index 570fbc6200..ac8c263da3 100644
--- a/engines/agos/string_pn.cpp
+++ b/engines/agos/string_pn.cpp
@@ -68,7 +68,7 @@ void AGOSEngine_PN::uncomstr(char *c, uint32 x) {
*c = 0;
}
-static const char *objectNames[30] = {
+static const char *const objectNames[30] = {
"\0",
"Take \0",
"Inventory\r",
diff --git a/engines/agos/verb_pn.cpp b/engines/agos/verb_pn.cpp
index 19e8bb2d48..9dd0079b6d 100644
--- a/engines/agos/verb_pn.cpp
+++ b/engines/agos/verb_pn.cpp
@@ -258,7 +258,7 @@ void AGOSEngine_PN::hitBox9(HitArea *ha) {
iconPage();
}
-static const char *messageList[9] = {
+static const char *const messageList[9] = {
"North\r",
"East\r",
"South\r",