#include <T2Locale.h>
Definition at line 20 of file T2Locale.h.
◆ Lang
◆ T2Locale() [1/3]
◆ T2Locale() [2/3]
T2Locale::T2Locale |
( |
const T2Locale && | | ) |
|
|
delete |
◆ ~T2Locale()
Definition at line 33 of file T2Locale.cpp.
34{
36
38 {
40 }
41}
void TFree(void *a_pMem)
Frees previously allocated memory.
◆ T2Locale() [3/3]
T2Locale::T2Locale |
( |
TINT | langCount, |
|
|
size_t | bufferSize, |
|
|
void * | buffer ) |
|
protected |
◆ GetLanguage()
Toshi::T2Locale::Lang T2Locale::GetLanguage |
( |
| ) |
const |
◆ GetLanguageFilename()
virtual const TCHAR * T2Locale::GetLanguageFilename |
( |
Lang | lang | ) |
|
|
pure virtual |
◆ GetNumStrings()
TINT T2Locale::GetNumStrings |
( |
| ) |
const |
Definition at line 71 of file T2Locale.cpp.
72{
74}
LocaleStrings * m_StringTable
◆ GetString()
Definition at line 76 of file T2Locale.cpp.
77{
80}
TINT GetNumStrings() const
◆ SetLanguage()
void T2Locale::SetLanguage |
( |
Lang | langid | ) |
|
Definition at line 53 of file T2Locale.cpp.
54{
55
57 {
60
63 }
64}
virtual const TCHAR * GetLanguageFilename(Lang lang)=0
◆ TRBAlloc()
void * T2Locale::TRBAlloc |
( |
size_t | size | ) |
|
|
inlineprotected |
◆ TRBAllocator()
void * T2Locale::TRBAllocator |
( |
TTRB::AllocType | alloctype, |
|
|
size_t | size, |
|
|
short | unk, |
|
|
size_t | unk2, |
|
|
void * | userData ) |
|
staticprotected |
Definition at line 43 of file T2Locale.cpp.
44{
46}
#define TSTATICCAST(POINTERTYPE, VALUE)
T2Locale(const T2Locale &)=delete
◆ TRBDeallocator()
void T2Locale::TRBDeallocator |
( |
TTRB::AllocType | alloctype, |
|
|
void * | ptr, |
|
|
short | unk, |
|
|
size_t | unk2, |
|
|
void * | userData ) |
|
staticprotected |
◆ m_bOwnsBuffer
TBOOL T2Locale::m_bOwnsBuffer |
|
protected |
◆ m_BufferPos
void* T2Locale::m_BufferPos |
|
protected |
◆ m_LangId
◆ m_Locale
◆ m_pBuffer
void* T2Locale::m_pBuffer |
|
protected |
◆ m_StringTable
The documentation for this class was generated from the following files:
- D:/_dev/OpenBarnyard/Source/Toshi/Source/T2Locale/T2Locale.h
- D:/_dev/OpenBarnyard/Source/Toshi/Source/T2Locale/T2Locale.cpp