Functions
Loc_Initialize
void Loc_Initialize(
const voiddata,
u8 num
)

Initialize the localization module

Parameters
data
const void*

Pointer to generated localization data

num
u8

Maximum number of entry for a language (should be TEXT_MAX).

Loc_SetLanguage
inline void Loc_SetLanguage(
u8 lang
)

Set the current language

Parameters
lang
u8

Index of the language to selection (must be between 0 and LANG_MAX-1).

Loc_GetText
inline const c8* Loc_GetText(
u8 text
)

Get a given text in the current language

Parameters
text
u8

Index of the text to retreive in the current language (must be between 0 and TEXT_MAX-1).