AGOS: Made some static data const.
This commit is contained in:
parent
07ec50224e
commit
507b9a75e7
6 changed files with 6 additions and 6 deletions
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue