diff options
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 |