TINSEL: Made some static data const.
This commit is contained in:
parent
6fe7b020a8
commit
b8dfd3366b
2 changed files with 6 additions and 6 deletions
|
@ -778,7 +778,7 @@ static const GameSettings tinselSettings[] = {
|
||||||
|
|
||||||
// For the languages, refer to the LANGUAGE enum in dw.h
|
// For the languages, refer to the LANGUAGE enum in dw.h
|
||||||
|
|
||||||
const char *TinselEngine::_sampleIndices[][3] = {
|
const char *const TinselEngine::_sampleIndices[][3] = {
|
||||||
{ "english.idx", "english1.idx", "english2.idx" }, // English
|
{ "english.idx", "english1.idx", "english2.idx" }, // English
|
||||||
{ "french.idx", "french1.idx", "french2.idx" }, // French
|
{ "french.idx", "french1.idx", "french2.idx" }, // French
|
||||||
{ "german.idx", "german1.idx", "german2.idx" }, // German
|
{ "german.idx", "german1.idx", "german2.idx" }, // German
|
||||||
|
@ -789,7 +789,7 @@ const char *TinselEngine::_sampleIndices[][3] = {
|
||||||
{ "english.idx", "english1.idx", "english2.idx" }, // Japanese (FIXME: not sure if this is correct)
|
{ "english.idx", "english1.idx", "english2.idx" }, // Japanese (FIXME: not sure if this is correct)
|
||||||
{ "us.idx", "us1.idx", "us2.idx" } // US English
|
{ "us.idx", "us1.idx", "us2.idx" } // US English
|
||||||
};
|
};
|
||||||
const char *TinselEngine::_sampleFiles[][3] = {
|
const char *const TinselEngine::_sampleFiles[][3] = {
|
||||||
{ "english.smp", "english1.smp", "english2.smp" }, // English
|
{ "english.smp", "english1.smp", "english2.smp" }, // English
|
||||||
{ "french.smp", "french1.smp", "french2.smp" }, // French
|
{ "french.smp", "french1.smp", "french2.smp" }, // French
|
||||||
{ "german.smp", "german1.smp", "german2.smp" }, // German
|
{ "german.smp", "german1.smp", "german2.smp" }, // German
|
||||||
|
@ -800,7 +800,7 @@ const char *TinselEngine::_sampleFiles[][3] = {
|
||||||
{ "english.smp", "english1.smp", "english2.smp" }, // Japanese (FIXME: not sure if this is correct)
|
{ "english.smp", "english1.smp", "english2.smp" }, // Japanese (FIXME: not sure if this is correct)
|
||||||
{ "us.smp", "us1.smp", "us2.smp" }, // US English
|
{ "us.smp", "us1.smp", "us2.smp" }, // US English
|
||||||
};
|
};
|
||||||
const char *TinselEngine::_textFiles[][3] = {
|
const char *const TinselEngine::_textFiles[][3] = {
|
||||||
{ "english.txt", "english1.txt", "english2.txt" }, // English
|
{ "english.txt", "english1.txt", "english2.txt" }, // English
|
||||||
{ "french.txt", "french1.txt", "french2.txt" }, // French
|
{ "french.txt", "french1.txt", "french2.txt" }, // French
|
||||||
{ "german.txt", "german1.txt", "german2.txt" }, // German
|
{ "german.txt", "german1.txt", "german2.txt" }, // German
|
||||||
|
|
|
@ -156,9 +156,9 @@ class TinselEngine : public Engine {
|
||||||
Console *_console;
|
Console *_console;
|
||||||
Scheduler *_scheduler;
|
Scheduler *_scheduler;
|
||||||
|
|
||||||
static const char *_sampleIndices[][3];
|
static const char *const _sampleIndices[][3];
|
||||||
static const char *_sampleFiles[][3];
|
static const char *const _sampleFiles[][3];
|
||||||
static const char *_textFiles[][3];
|
static const char *const _textFiles[][3];
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue