From 9ad2135ff960da2bbc1882ac50f2188b5a9e228e Mon Sep 17 00:00:00 2001 From: lukaslw Date: Tue, 28 Oct 2014 19:20:56 +0100 Subject: 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 --- engines/prince/prince.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/prince/prince.h') 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(); -- cgit v1.2.3