mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-17 12:59:41 -04:00
Split game_16cfa0.c into lang.c and rename text symbols to lang
This commit is contained in:
@@ -231,7 +231,7 @@ extern u32 var800840f0;
|
||||
extern u32 var800840f4;
|
||||
extern u32 var800840fc;
|
||||
extern u32 g_LanguageId;
|
||||
extern u16 g_LangBanks[];
|
||||
extern u16 g_LangFiles[];
|
||||
extern u32 var800841b8;
|
||||
extern u32 var80084220;
|
||||
extern struct something *somethings[];
|
||||
|
||||
@@ -40,13 +40,5 @@ u32 audioRestartAuxTrack(void);
|
||||
void audioPlayXTrack(u32 arg0, u32 arg1, u32 arg2);
|
||||
u32 audioStopTrack(u32 arg0);
|
||||
u32 func0f16e138(void);
|
||||
u32 textGetLangBankIndexFromStagenum(s32 stagenum);
|
||||
u32 func0f16e3fc(void);
|
||||
s32 textGetLanguageId(void);
|
||||
s32 textGetFileId(s32 bank);
|
||||
void textSetBankSimple(s32 bank);
|
||||
void textSetBank(s32 bank, s32 arg1, s32 arg2);
|
||||
void textClearBank(s32 bank);
|
||||
char *textGet(s32 textid);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef IN_GAME_LANG_H
|
||||
#define IN_GAME_LANG_H
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
u32 langGetLangBankIndexFromStagenum(s32 stagenum);
|
||||
u32 func0f16e3fc(void);
|
||||
s32 langGetLanguageId(void);
|
||||
s32 langGetFileId(s32 bank);
|
||||
void langSetBankSimple(s32 bank);
|
||||
void langSetBank(s32 bank, s32 arg1, s32 arg2);
|
||||
void langClearBank(s32 bank);
|
||||
char *langGet(s32 textid);
|
||||
|
||||
#endif
|
||||
@@ -811,7 +811,7 @@ extern u32 var800aaa68;
|
||||
extern u32 var800aaa78;
|
||||
extern u32 var800aaa88;
|
||||
extern u32 var800aaa98;
|
||||
extern char *g_TextBanks[];
|
||||
extern char *g_LangBanks[];
|
||||
extern u32 var800aabb4;
|
||||
extern u32 var800aabb8;
|
||||
extern u32 var800aabc0;
|
||||
|
||||
Reference in New Issue
Block a user