QUEEN: Made some static data const.

This commit is contained in:
Johannes Schickel 2011-09-08 20:06:37 +02:00
parent 44068338e5
commit af19990980
7 changed files with 7 additions and 7 deletions

View file

@ -1201,7 +1201,7 @@ void BamScene::updateCarAnimation() {
}
void BamScene::updateFightAnimation() {
static const BamDataBlock *fightDataBlocks[] = {
static const BamDataBlock *const fightDataBlocks[] = {
_fight1Data,
_fight2Data,
_fight3Data

View file

@ -30,7 +30,7 @@
namespace Queen {
const char *Input::_commandKeys[] = {
const char *const Input::_commandKeys[] = {
"ocmglptu", // English
"osbgpnre", // German
"ofdnepau", // French

View file

@ -141,7 +141,7 @@ private:
const char *_currentCommandKeys;
//! command keys for all languages
static const char *_commandKeys[];
static const char *const _commandKeys[];
//! verbs matching the command keys
static const Verb _verbKeys[];

View file

@ -1495,7 +1495,7 @@ const TuneData Sound::_tune[] = {
{ { 77, 1017, 0 }, { 0, 0 }, 1, 0 }
};
const char *Sound::_sfxName[] = {
const char *const Sound::_sfxName[] = {
/* 1 - Door Open (standard) */
"116Bssss",

View file

@ -30,7 +30,7 @@
namespace Queen {
const char *Resource::_tableFilename = "queen.tbl";
const char *const Resource::_tableFilename = "queen.tbl";
const RetailGameVersion Resource::_gameVersions[] = {
{ "PEM10", 1, 0x00000008, 22677657 },

View file

@ -158,7 +158,7 @@ protected:
static const RetailGameVersion *detectGameVersionFromSize(uint32 size);
//! resource table filename (queen.tbl)
static const char *_tableFilename;
static const char *const _tableFilename;
//! known FOTAQ versions
static const RetailGameVersion _gameVersions[];

View file

@ -104,7 +104,7 @@ public:
static const SongData _song[];
static const TuneData _tuneDemo[];
static const TuneData _tune[];
static const char *_sfxName[];
static const char *const _sfxName[];
static const int16 _jungleList[];
protected: