Mount Fuji Engine
0.8b
|
Data Structures | |
struct | MFStringTable |
Represents a Fuji translation string table. More... | |
Enumerations | |
enum | MFLanguage { MFLang_Unknown = -1, MFLang_English = 0, MFLang_French, MFLang_German, MFLang_Dutch, MFLang_Italian, MFLang_Spanish, MFLang_Portuguese, MFLang_Swedish, MFLang_Norwegian, MFLang_Finnish, MFLang_Danish, MFLang_Russian, MFLang_Greek, MFLang_Japanese, MFLang_Korean, MFLang_Chinese, MFLang_Max, MFLang_ForceInt = 0x7FFFFFFF } |
Language enums. More... | |
Functions | |
MF_API const char * | MFTranslation_GetLanguageName (MFLanguage language, bool native=false) |
Get the name of a language. More... | |
MF_API MFLanguage | MFTranslation_GetDefaultLanguage () |
Get the system default language. More... | |
MF_API MFLanguage | MFTranslation_GetLanguageByName (const char *pLanguageName) |
Get the id for a language. More... | |
MF_API MFStringTable * | MFTranslation_LoadStringTable (const char *pFilename, MFLanguage language, MFLanguage fallback=MFLang_English) |
Load a translation string table. More... | |
MF_API MFStringTable * | MFTranslation_LoadEnumStringTable (const char *pFilename) |
Load a translation table containing enum keys. More... | |
MF_API void | MFTranslation_DestroyStringTable (MFStringTable *pTable) |
Destroy a loaded string table. More... | |
MF_API int | MFTranslation_GetNumStrings (MFStringTable *pTable) |
Get the number of strings in the table. More... | |
MF_API int | MFTranslation_FindString (MFStringTable *pTable, const char *pString) |
Find a string in the table. More... | |
MF_API const char * | MFTranslation_GetString (MFStringTable *pTable, int stringID) |
Get a string from the string table. More... | |