aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-15 11:56:21 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit3fffb08a408b042d185fd615e2ea826e53b842fd (patch)
treecf18cd7d3fca14048ac139e33244e55c10c7f20c /engines/dm/dm.h
parentc7b353385d08b3c848a59967e769a0eeec837d4e (diff)
downloadscummvm-rg350-3fffb08a408b042d185fd615e2ea826e53b842fd.tar.gz
scummvm-rg350-3fffb08a408b042d185fd615e2ea826e53b842fd.tar.bz2
scummvm-rg350-3fffb08a408b042d185fd615e2ea826e53b842fd.zip
DM: Add missing localization warnings and query function for language
Diffstat (limited to 'engines/dm/dm.h')
-rw-r--r--engines/dm/dm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dm/dm.h b/engines/dm/dm.h
index 739ef170d1..85910eda82 100644
--- a/engines/dm/dm.h
+++ b/engines/dm/dm.h
@@ -37,6 +37,7 @@
#include "console.h"
+struct ADGameDescription;
namespace DM {
@@ -244,7 +245,7 @@ class DMEngine : public Engine {
void f439_drawEntrance(); // @ F0439_STARTEND_DrawEntrance
void f503_loadSounds(); // @ F0503_SOUND_LoadAll
public:
- explicit DMEngine(OSystem *syst);
+ explicit DMEngine(OSystem *syst, const ADGameDescription *gameDesc);
~DMEngine();
virtual bool hasFeature(EngineFeature f) const;
GUI::Debugger *getDebugger() { return _console; }
@@ -270,6 +271,7 @@ public:
void f442_SARTEND_processCommand202_entranceDrawCredits();
void f446_STARTEND_fuseSequnce(); // @ F0446_STARTEND_FuseSequence
void f445_STARTEND_fuseSequenceUpdate(); // @ F0445_STARTEND_FuseSequenceUpdate
+ Common::Language getGameLanguage();
private:
int16 _g528_saveFormat; // @ G0528_i_Format
@@ -281,6 +283,7 @@ private:
SoundData _gK24_soundData[k34_D13_soundCount]; // @ K0024_as_SoundData
Common::Queue<PendingSound> _pendingSounds;
byte *_savedScreenForOpenEntranceDoors; // ad-hoc HACK
+ const ADGameDescription *_gameVersion;
public:
Console *_console;
DisplayMan *_displayMan;