mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-14 08:21:05 +00:00
1bb752b582
hacky rendertarget stuff. not polished. don't use except for testing. feedback desired. switched file system to use a qofs_t type instead. define FS_64BIT to make it 64bit (standard on 64bit cpus). rewrote zip support, ditching unzip.c. this provided zip64 support, and unicode in zips. changed local address enumeration to not be so stupid. updated ode support a little to match some dp features. changed fs_cache scheme, to not rebuild needlessly. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4596 fc73d0e0-1445-4013-8a0c-d673dee63da5
20 lines
364 B
C
20 lines
364 B
C
#ifndef TRANSLATE_H
|
|
#define TRANSLATE_H
|
|
typedef const char* translation_t;
|
|
|
|
#define MAX_LANGUAGES 64
|
|
|
|
void TranslateInit(void);
|
|
|
|
void SV_InitLanguages(void);
|
|
|
|
struct language_s
|
|
{
|
|
char *name;
|
|
struct po_s *po;
|
|
};
|
|
extern struct language_s languages[MAX_LANGUAGES];
|
|
#define langtext(t,l) PO_GetText(languages[l].po, t)
|
|
int TL_FindLanguage(const char *lang);
|
|
|
|
#endif
|