mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-01 17:29:52 -04:00
jpn-final: Decompile langGetJpnCharPixels
This commit is contained in:
+3
-3
@@ -247,8 +247,8 @@ extern u32 g_AudioXReasonsActive[4];
|
||||
extern s32 g_MusicXReasonMinDurations[4];
|
||||
extern s32 g_MusicXReasonMaxDurations[4];
|
||||
extern u32 *g_LangBanks[69];
|
||||
extern struct var800aabb4 *var800aabb4;
|
||||
extern struct var800aabb8 *var800aabb8;
|
||||
extern struct jpncharpixels *g_JpnCharCachePixels;
|
||||
extern struct jpncacheitem *g_JpnCacheCacheItems;
|
||||
extern struct texture *g_Textures;
|
||||
extern struct texpool g_TexSharedPool;
|
||||
extern struct texcacheitem g_TexCacheItems[150];
|
||||
@@ -287,7 +287,7 @@ extern u8 g_AmBotCommands[16];
|
||||
extern struct mpsetup g_MpSetup;
|
||||
extern struct bossfile g_BossFile;
|
||||
extern struct chrdata *g_MpBotChrPtrs[MAX_BOTS];
|
||||
extern s32 var8009d140jf;
|
||||
extern s32 g_JpnMaxCacheItems;
|
||||
extern s32 var8009d370jf;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -106,6 +106,12 @@
|
||||
#define ROM_GAMECODE 'NPDE'
|
||||
#endif
|
||||
|
||||
#if VERSION == VERSION_JPN_FINAL
|
||||
#define MAX_JPN_CACHE_ITEMS() g_JpnMaxCacheItems
|
||||
#else
|
||||
#define MAX_JPN_CACHE_ITEMS() 124
|
||||
#endif
|
||||
|
||||
// These actions are assigned to chr->actiontype
|
||||
#define ACT_INIT 0
|
||||
#define ACT_STAND 1
|
||||
|
||||
@@ -11,7 +11,7 @@ void langReset(s32 stagenum);
|
||||
void langTick(void);
|
||||
|
||||
u32 langGetLangBankIndexFromStagenum(s32 stagenum);
|
||||
struct var800aabb4 *lang0f16e3fc(s32 arg0);
|
||||
struct jpncharpixels *langGetJpnCharPixels(s32 codepoint);
|
||||
s32 langGetFileNumOffset(void);
|
||||
s32 langGetFileId(s32 bank);
|
||||
void langLoad(s32 bank);
|
||||
|
||||
+4
-4
@@ -5116,15 +5116,15 @@ struct texture {
|
||||
u32 unk04_0c : 4;
|
||||
};
|
||||
|
||||
struct var800aabb4 {
|
||||
struct jpncharpixels {
|
||||
/*0x00*/ u32 unk00;
|
||||
/*0x04*/ u32 unk04;
|
||||
/*0x08*/ u32 unk08;
|
||||
};
|
||||
|
||||
struct var800aabb8 {
|
||||
u16 unk00_00 : 2;
|
||||
u16 unk00_02 : 14;
|
||||
struct jpncacheitem {
|
||||
u16 ttl : 2;
|
||||
u16 codepoint : 14;
|
||||
};
|
||||
|
||||
struct bgcmd {
|
||||
|
||||
Reference in New Issue
Block a user