diff options
Diffstat (limited to 'engines/cryomni3d/versailles/engine.h')
-rw-r--r-- | engines/cryomni3d/versailles/engine.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/engines/cryomni3d/versailles/engine.h b/engines/cryomni3d/versailles/engine.h index ff00dfd385..95747ced42 100644 --- a/engines/cryomni3d/versailles/engine.h +++ b/engines/cryomni3d/versailles/engine.h @@ -168,6 +168,17 @@ struct SoundIds { }; }; +struct LocalizedFilenames { + enum { + kDialogs = 0, + kAllDocs, + kLinksDocs, + kCredits, + kLeb001, + kMax + }; +}; + struct PlaceState { typedef void (CryOmni3DEngine_Versailles::*InitFunc)(); typedef bool (CryOmni3DEngine_Versailles::*FilterEventFunc)(uint *event); @@ -242,11 +253,10 @@ private: void setupSprites(); void loadCursorsPalette(); void calculateTransparentMapping(); - void setupMessages(); void setupObjects(); void setupDialogVariables(); void setupImgScripts(); - void setupPaintingsTitles(); + void loadStaticData(); void syncOmni3DSettings(); void syncSoundSettings(); @@ -340,6 +350,7 @@ private: void musicStop(); void musicSetQuiet(bool quiet); + Common::StringArray _localizedFilenames; Common::StringArray _messages; static const uint kSpritesMapTable[]; static const uint kSpritesMapTableSize; @@ -509,8 +520,8 @@ private: IMG_CB(44161e); IMG_CB(44161f); static const uint kEpigraphMaxLetters = 32; - static const char *kEpigraphContent; - static const char *kEpigraphPassword; + Common::String _epigraphContent; + Common::String _epigraphPassword; bool handleEpigraph(ZonFixedImage *fimg); void drawEpigraphLetters(Graphics::ManagedSurface &surface, const Graphics::Surface(&bmpLetters)[28], const Common::String &letters); @@ -531,13 +542,13 @@ private: IMG_CB(88003d); IMG_CB(88003e); IMG_CB(88003f); + Common::String _bombPassword; static const uint kBombPasswordSmallLength = 40; static const uint kBombPasswordMaxLength = 60; static const uint16 kBombLettersPos[2][kBombPasswordMaxLength][2]; - static const char *kBombPassword; bool handleBomb(ZonFixedImage *fimg); void drawBombLetters(Graphics::ManagedSurface &surface, const Graphics::Surface(&bmpLetters)[28], - const uint kBombPasswordLength, + const uint bombPasswordLength, const unsigned char (&bombPossibilites)[kBombPasswordMaxLength][5], const unsigned char (&bombCurrentLetters)[kBombPasswordMaxLength]); IMG_CB(88004); |