diff options
author | lukaslw | 2014-10-28 19:20:56 +0100 |
---|---|---|
committer | lukaslw | 2014-10-28 20:59:11 +0100 |
commit | 9ad2135ff960da2bbc1882ac50f2188b5a9e228e (patch) | |
tree | cdb7ec4d95eed38d733900dce6e232c07b1ba03d /engines/prince/prince.h | |
parent | 7126374b428ebb2feb7b431bdf5c906482d248dd (diff) | |
download | scummvm-rg350-9ad2135ff960da2bbc1882ac50f2188b5a9e228e.tar.gz scummvm-rg350-9ad2135ff960da2bbc1882ac50f2188b5a9e228e.tar.bz2 scummvm-rg350-9ad2135ff960da2bbc1882ac50f2188b5a9e228e.zip |
PRINCE: Allow to load translation file - prince_translation.dat
Update detection file to allow English language with both PL and DE data files. Add setMobTranslationTexts() to update mob names to translated ones in each location
Diffstat (limited to 'engines/prince/prince.h')
-rw-r--r-- | engines/prince/prince.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/prince/prince.h b/engines/prince/prince.h index 930c3c7bd3..48491c63bd 100644 --- a/engines/prince/prince.h +++ b/engines/prince/prince.h @@ -285,6 +285,9 @@ public: uint32 _talkTxtSize; byte *_talkTxt; + uint32 _mobTranslationSize; + byte *_mobTranslationData; + bool loadLocation(uint16 locationNr); bool loadAnim(uint16 animNr, bool loop); bool loadVoice(uint32 textSlot, uint32 sampleSlot, const Common::String &name); @@ -294,6 +297,9 @@ public: bool loadTrans(byte *transTable, const char *resourceName); bool loadMobPriority(const char *resourceName); + void loadMobTranslationTexts(); + void setMobTranslationTexts(); + bool loadMusic(int musNumber); void stopMusic(); |