Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
locale.h File Reference

Go to the source code of this file.

Macros

#define LOCALE_BANK_COUNT   8
 
#define LOCALE_purgetable   LOCALE_freetable
 

Functions

const char * LOCALE_getstr (const void *localefile, int stringid)
 
int LOCALE_init (void)
 
void LOCALE_restore (void)
 
void LOCALE_setbank (int bankindex)
 
int LOCALE_getbank (void)
 
int LOCALE_getbanklanguageid (void)
 
int LOCALE_getbankstringcount (void)
 
int LOCALE_loadtable (const char *pathname, int languageid)
 
void LOCALE_freetable (void)
 
const char * LOCALE_getstring (int stringid)
 

Macro Definition Documentation

◆ LOCALE_BANK_COUNT

#define LOCALE_BANK_COUNT   8

Definition at line 45 of file locale.h.

◆ LOCALE_purgetable

#define LOCALE_purgetable   LOCALE_freetable

Definition at line 63 of file locale.h.

Function Documentation

◆ LOCALE_freetable()

void LOCALE_freetable ( void )

Definition at line 638 of file locale.cpp.

◆ LOCALE_getbank()

int LOCALE_getbank ( void )

Definition at line 302 of file locale.cpp.

◆ LOCALE_getbanklanguageid()

int LOCALE_getbanklanguageid ( void )

Definition at line 343 of file locale.cpp.

◆ LOCALE_getbankstringcount()

int LOCALE_getbankstringcount ( void )

Definition at line 384 of file locale.cpp.

◆ LOCALE_getstr()

const char * LOCALE_getstr ( const void * localefile,
int stringid )

Definition at line 824 of file locale.cpp.

◆ LOCALE_getstring()

const char * LOCALE_getstring ( int stringid)

Definition at line 732 of file locale.cpp.

◆ LOCALE_init()

int LOCALE_init ( void )

Definition at line 146 of file locale.cpp.

◆ LOCALE_loadtable()

int LOCALE_loadtable ( const char * pathname,
int languageid )

Definition at line 564 of file locale.cpp.

◆ LOCALE_restore()

void LOCALE_restore ( void )

Definition at line 197 of file locale.cpp.

◆ LOCALE_setbank()

void LOCALE_setbank ( int bankindex)

Definition at line 262 of file locale.cpp.