QUEEN: Made some static data const.
This commit is contained in:
parent
44068338e5
commit
af19990980
7 changed files with 7 additions and 7 deletions
|
@ -1201,7 +1201,7 @@ void BamScene::updateCarAnimation() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BamScene::updateFightAnimation() {
|
void BamScene::updateFightAnimation() {
|
||||||
static const BamDataBlock *fightDataBlocks[] = {
|
static const BamDataBlock *const fightDataBlocks[] = {
|
||||||
_fight1Data,
|
_fight1Data,
|
||||||
_fight2Data,
|
_fight2Data,
|
||||||
_fight3Data
|
_fight3Data
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
namespace Queen {
|
namespace Queen {
|
||||||
|
|
||||||
const char *Input::_commandKeys[] = {
|
const char *const Input::_commandKeys[] = {
|
||||||
"ocmglptu", // English
|
"ocmglptu", // English
|
||||||
"osbgpnre", // German
|
"osbgpnre", // German
|
||||||
"ofdnepau", // French
|
"ofdnepau", // French
|
||||||
|
|
|
@ -141,7 +141,7 @@ private:
|
||||||
const char *_currentCommandKeys;
|
const char *_currentCommandKeys;
|
||||||
|
|
||||||
//! command keys for all languages
|
//! command keys for all languages
|
||||||
static const char *_commandKeys[];
|
static const char *const _commandKeys[];
|
||||||
|
|
||||||
//! verbs matching the command keys
|
//! verbs matching the command keys
|
||||||
static const Verb _verbKeys[];
|
static const Verb _verbKeys[];
|
||||||
|
|
|
@ -1495,7 +1495,7 @@ const TuneData Sound::_tune[] = {
|
||||||
{ { 77, 1017, 0 }, { 0, 0 }, 1, 0 }
|
{ { 77, 1017, 0 }, { 0, 0 }, 1, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *Sound::_sfxName[] = {
|
const char *const Sound::_sfxName[] = {
|
||||||
/* 1 - Door Open (standard) */
|
/* 1 - Door Open (standard) */
|
||||||
"116Bssss",
|
"116Bssss",
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
namespace Queen {
|
namespace Queen {
|
||||||
|
|
||||||
|
|
||||||
const char *Resource::_tableFilename = "queen.tbl";
|
const char *const Resource::_tableFilename = "queen.tbl";
|
||||||
|
|
||||||
const RetailGameVersion Resource::_gameVersions[] = {
|
const RetailGameVersion Resource::_gameVersions[] = {
|
||||||
{ "PEM10", 1, 0x00000008, 22677657 },
|
{ "PEM10", 1, 0x00000008, 22677657 },
|
||||||
|
|
|
@ -158,7 +158,7 @@ protected:
|
||||||
static const RetailGameVersion *detectGameVersionFromSize(uint32 size);
|
static const RetailGameVersion *detectGameVersionFromSize(uint32 size);
|
||||||
|
|
||||||
//! resource table filename (queen.tbl)
|
//! resource table filename (queen.tbl)
|
||||||
static const char *_tableFilename;
|
static const char *const _tableFilename;
|
||||||
|
|
||||||
//! known FOTAQ versions
|
//! known FOTAQ versions
|
||||||
static const RetailGameVersion _gameVersions[];
|
static const RetailGameVersion _gameVersions[];
|
||||||
|
|
|
@ -104,7 +104,7 @@ public:
|
||||||
static const SongData _song[];
|
static const SongData _song[];
|
||||||
static const TuneData _tuneDemo[];
|
static const TuneData _tuneDemo[];
|
||||||
static const TuneData _tune[];
|
static const TuneData _tune[];
|
||||||
static const char *_sfxName[];
|
static const char *const _sfxName[];
|
||||||
static const int16 _jungleList[];
|
static const int16 _jungleList[];
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue