diff options
author | Filippos Karapetis | 2008-12-01 20:35:36 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-01 20:35:36 +0000 |
commit | af945ac7881ae7e414f004bd0e99e8c3b5d76be9 (patch) | |
tree | 72e9c6fd43406e2021973b4f163ab4faa10143fb /engines/tinsel/strres.h | |
parent | f10f151ff742801e12534bb052bd89419bf906cb (diff) | |
download | scummvm-rg350-af945ac7881ae7e414f004bd0e99e8c3b5d76be9.tar.gz scummvm-rg350-af945ac7881ae7e414f004bd0e99e8c3b5d76be9.tar.bz2 scummvm-rg350-af945ac7881ae7e414f004bd0e99e8c3b5d76be9.zip |
Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 should be completable
svn-id: r35196
Diffstat (limited to 'engines/tinsel/strres.h')
-rw-r--r-- | engines/tinsel/strres.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/engines/tinsel/strres.h b/engines/tinsel/strres.h index fac287492b..c996317b21 100644 --- a/engines/tinsel/strres.h +++ b/engines/tinsel/strres.h @@ -59,10 +59,43 @@ void ChangeLanguage(LANGUAGE newLang); int LoadStringRes(int id, char *pBuffer, int bufferMax); /** + * Loads a string resource identified by id + * @param id identifier of string to be loaded + * @param sub sub-string number + * @param pBuffer points to buffer that receives the string + * @param bufferMax maximum number of chars to be copied to the buffer + */ +int LoadSubString(int id, int sub, char *pBuffer, int bufferMax); + +int SubStringCount(int id); // identifier of string to be tested + +/** * Frees the text buffer allocated from ChangeLanguage() */ void FreeTextBuffer(); +/** + * Called from TINLIB.C from DeclareLanguage(). + */ + +void LanguageFacts(int language, SCNHANDLE hDescription, SCNHANDLE hFlagFilm); + +/** + * Gets the current subtitles language + */ +LANGUAGE TextLanguage(void); + +/** + * Gets the current voice language + */ +LANGUAGE SampleLanguage(void); + +int NumberOfLanguages(void); +LANGUAGE NextLanguage(LANGUAGE thisOne); +LANGUAGE PrevLanguage(LANGUAGE thisOne); +SCNHANDLE LanguageDesc(LANGUAGE thisOne); +SCNHANDLE LanguageFlag(LANGUAGE thisOne); + } // end of namespace Tinsel #endif |