mirror of
https://github.com/sonicdcer/sf64.git
synced 2025-02-12 23:58:51 +00:00
fox_title functions (#32)
* add recipe for context * echo * $(PYTHON) * func_EBFBE0_801881FC * func_EBFBE0_801881FC * format * format * func_EBFBE0_8018994C * func_EBFBE0_8018A644 * func_EBFBE0_8018A990 * no casting for you * func_EBFBE0_8018ABC0 * func_EBFBE0_8018ACEC * func_EBFBE0_8018B038 * func_EBFBE0_8018B058 * func_EBFBE0_8018B5C4 * func_EBFBE0_8018C114 * unify phony
This commit is contained in:
parent
0205789a28
commit
5d35055807
5
Makefile
5
Makefile
@ -281,6 +281,9 @@ expected:
|
||||
rm -rf expected/build/
|
||||
cp -r build/ expected/build/
|
||||
|
||||
context:
|
||||
@echo "Generating ctx.c ..."
|
||||
@$(PYTHON) ./tools/m2ctx.py $(filter-out $@, $(MAKECMDGOALS))
|
||||
|
||||
#### Various Recipes ####
|
||||
|
||||
@ -335,4 +338,4 @@ build/src/libultra/libc/ll.o: src/libultra/libc/ll.c
|
||||
# Print target for debugging
|
||||
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
|
||||
|
||||
.PHONY: all uncompressed compressed clean init extract expected format checkformat decompress
|
||||
.PHONY: all uncompressed compressed clean init extract expected format checkformat decompress context
|
||||
|
@ -71,6 +71,7 @@ void func_80016A50(void);
|
||||
void func_800182F4(s32);
|
||||
void func_80019218(u32, Vec3f*, u8, f32*, f32*, s8*);
|
||||
void func_8001A500(Vec3f*);
|
||||
void func_8001A55C(f32*, u32);
|
||||
void func_8001A838(u32 arg0);
|
||||
void func_8001ACDC(s32);
|
||||
void func_8001AE58(void);
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#define bool u32
|
||||
#define bool s32
|
||||
#define false 0
|
||||
#define true 1
|
||||
|
||||
|
@ -408,6 +408,7 @@ extern f32 *D_801782C4;
|
||||
extern s32 D_801782D8;
|
||||
extern s32 D_801782E8;
|
||||
extern s32 D_801782F8;
|
||||
extern s32 D_80178300;
|
||||
extern u16* D_80178308;
|
||||
extern ObjectInit* D_80178310;
|
||||
extern s32 D_80178320;
|
||||
@ -438,6 +439,7 @@ extern f32 D_80178420;
|
||||
extern f32 D_80178424;
|
||||
extern f32 D_80178428;
|
||||
extern f32 D_8017842C;
|
||||
extern f32 D_80178430;
|
||||
extern f32 D_8017847C;
|
||||
extern s32 D_80178480;
|
||||
extern s32 D_80178488;
|
||||
@ -476,6 +478,7 @@ extern Gfx D_Gfx_800D9688[];
|
||||
|
||||
extern DmaEntry gDmaTable[]; // 178A70
|
||||
extern u8 D_80179010[][16 * 13 / 2];
|
||||
extern u16 D_8017A0F4;
|
||||
extern u16 D_80182544[];
|
||||
extern u16 D_80183CA8[];
|
||||
extern u16 D_80183CF0[];
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,18 +3,72 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ char pad0[0x4];
|
||||
/* 0x04 */ void* unk_04;
|
||||
/* 0x08 */ char pad8[0x4];
|
||||
} UnkStruct_D_EBFBE0_801ADA00; // size = 0x0C
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ f32 unk_0;
|
||||
/* 0x04 */ f32 unk_4;
|
||||
/* 0x08 */ f32 unk_8;
|
||||
} UnkStruct_D_EBFBE0_801ADF54; // size = 0xC
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ f32 unk_00;
|
||||
/* 0x04 */ f32 unk_04;
|
||||
/* 0x08 */ f32 unk_08;
|
||||
/* 0x0C */ f32 unk_0C;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ f32 unk_14;
|
||||
} UnkStruct_D_EBFBE0_801B8294; // size = 0x18
|
||||
|
||||
typedef struct UnkStruct_D_801B8350 {
|
||||
/* 0x00 */ Vec3f unk_00;
|
||||
/* 0x0C */ f32 unk_0C;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ char pad14[0x44];
|
||||
/* 0x14 */ f32 unk_14;
|
||||
/* 0x18 */ f32 unk_18;
|
||||
/* 0x1C */ f32 unk_1C;
|
||||
/* 0x20 */ f32 unk_20;
|
||||
/* 0x24 */ f32 unk_24;
|
||||
/* 0x28 */ f32 unk_28;
|
||||
/* 0x2C */ f32 unk_2C;
|
||||
/* 0x30 */ f32 unk_30;
|
||||
/* 0x34 */ f32 unk_34;
|
||||
/* 0x38 */ f32 unk_38;
|
||||
/* 0x3C */ f32 unk_3C;
|
||||
/* 0x40 */ f32 unk_40;
|
||||
/* 0x44 */ f32 unk_44;
|
||||
/* 0x48 */ f32 unk_48;
|
||||
/* 0x4C */ f32 unk_4C;
|
||||
/* 0x50 */ f32 unk_50;
|
||||
/* 0x54 */ s32 unk_54;
|
||||
/* 0x58 */ s32 unk_58;
|
||||
/* 0x5C */ s32 unk_5C;
|
||||
} UnkStruct_D_801B8350; // size = 0x60
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Vec3f unk_00;
|
||||
/* 0x04 */ char pad04[0x50];
|
||||
/* 0x0C */ f32 unk_0C;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ char pad14[0x4];
|
||||
/* 0x18 */ f32 unk_18;
|
||||
/* 0x1C */ f32 unk_1C;
|
||||
/* 0x20 */ f32 unk_20;
|
||||
/* 0x24 */ f32 unk_24;
|
||||
/* 0x28 */ f32 unk_28;
|
||||
/* 0x2C */ f32 unk_2C;
|
||||
/* 0x30 */ f32 unk_30;
|
||||
/* 0x34 */ s32 unk_34;
|
||||
/* 0x38 */ s32 unk_38;
|
||||
/* 0x3C */ s32 unk_3C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ f32 unk_44;
|
||||
/* 0x48 */ s32 unk_48;
|
||||
/* 0x4C */ s32 unk_4C;
|
||||
/* 0x50 */ Vec3f unk_50;
|
||||
} UnkStruct_D_EBFBE0_801B84E8; // size = 0x5C
|
||||
|
||||
typedef struct {
|
||||
@ -34,11 +88,20 @@ typedef struct {
|
||||
/* 0x10 */ f32 scale;
|
||||
} UnkStruct_D_EBFBE0_801B8688; // size = 0x14
|
||||
|
||||
extern UnkStruct_D_EBFBE0_801ADA00 D_EBFBE0_801ADA00[];
|
||||
extern u16* D_EBFBE0_801ADA30;
|
||||
extern f32 D_EBFBE0_801ADA64[];
|
||||
extern f32 D_EBFBE0_801ADA74[];
|
||||
extern UnkStruct_D_EBFBE0_801B8294 D_EBFBE0_801ADA94[];
|
||||
extern s32 D_EBFBE0_801ADF44[];
|
||||
extern UnkStruct_D_EBFBE0_801ADF54 D_EBFBE0_801ADF54[];
|
||||
extern Gfx* D_EBFBE0_801AE48C[];
|
||||
extern f32 D_EBFBE0_801AE4BC[];
|
||||
extern f32 D_EBFBE0_801AE4EC[];
|
||||
extern u8 D_EBFBE0_801AE51C[];
|
||||
extern s32 D_EBFBE0_801AE528[];
|
||||
extern UnkStruct_D_EBFBE0_801B8294 D_EBFBE0_801B6B40[];
|
||||
extern UnkStruct_D_EBFBE0_801B8294 D_EBFBE0_801B6C60[];
|
||||
extern f32 D_EBFBE0_801B7BB0;
|
||||
extern f32 D_EBFBE0_801B7BB4;
|
||||
extern f32 D_EBFBE0_801B7BB8;
|
||||
@ -51,6 +114,8 @@ extern s32 D_EBFBE0_801B7BD8;
|
||||
extern f32 D_EBFBE0_801B7BDC;
|
||||
extern f32 D_EBFBE0_801B7BE0;
|
||||
extern s32 D_EBFBE0_801B7BE4;
|
||||
extern f32 D_EBFBE0_801B7BE8;
|
||||
extern s32 D_EBFBE0_801B7BEC;
|
||||
extern s32 D_EBFBE0_801B7BF0;
|
||||
extern f32 D_EBFBE0_801B7BF8[];
|
||||
extern f32 D_EBFBE0_801B7C20[];
|
||||
@ -61,35 +126,62 @@ extern s32 D_EBFBE0_801B7CA0[];
|
||||
extern s32 D_EBFBE0_801B7CC8[];
|
||||
extern s32 D_EBFBE0_801B7CF0[];
|
||||
extern s32 D_EBFBE0_801B7D18[];
|
||||
extern f32 D_EBFBE0_801B7D40[];
|
||||
extern f32 D_EBFBE0_801B7DE0[];
|
||||
extern f32 D_EBFBE0_801B7E80[];
|
||||
extern f32 D_EBFBE0_801B7F20[];
|
||||
extern f32 D_EBFBE0_801B7FC0[];
|
||||
extern f32 D_EBFBE0_801B8060[];
|
||||
extern s32 D_EBFBE0_801B8100;
|
||||
extern s32 D_EBFBE0_801B8108[];
|
||||
extern f32 D_EBFBE0_801B828C;
|
||||
extern f32 D_EBFBE0_801B8290;
|
||||
extern UnkStruct_D_EBFBE0_801B8294* D_EBFBE0_801B8294;
|
||||
extern s32 D_EBFBE0_801B8298;
|
||||
extern f32 D_EBFBE0_801B829C;
|
||||
extern f32 D_EBFBE0_801B82A0;
|
||||
extern f32 D_EBFBE0_801B82A4;
|
||||
extern s32 D_EBFBE0_801B82B0;
|
||||
extern s32 D_EBFBE0_801B82B4;
|
||||
extern s32 D_EBFBE0_801B82B8;
|
||||
extern f32 D_EBFBE0_801B82C8;
|
||||
extern f32 D_EBFBE0_801B82CC;
|
||||
extern f32 D_EBFBE0_801B82D0;
|
||||
extern f32 D_EBFBE0_801B82D4;
|
||||
extern f32 D_EBFBE0_801B82D8;
|
||||
extern f32 D_EBFBE0_801B82DC;
|
||||
extern f32 D_EBFBE0_801B82EC;
|
||||
extern f32 D_EBFBE0_801B82F0;
|
||||
extern f32 D_EBFBE0_801B82F4;
|
||||
extern f32 D_EBFBE0_801B8328;
|
||||
extern f32 D_EBFBE0_801B832C;
|
||||
extern f32 D_EBFBE0_801B8330;
|
||||
extern s32 D_EBFBE0_801B8334;
|
||||
extern s32 D_EBFBE0_801B8338;
|
||||
extern bool D_EBFBE0_801B8338;
|
||||
extern s32 D_EBFBE0_801B8340;
|
||||
extern UnkStruct_D_801B8350 D_EBFBE0_801B8350[];
|
||||
extern f32 D_EBFBE0_801B84D0;
|
||||
extern f32 D_EBFBE0_801B84D4;
|
||||
extern f32 D_EBFBE0_801B84D8;
|
||||
extern UnkStruct_D_EBFBE0_801B84E8 D_EBFBE0_801B84E8[];
|
||||
extern UnkStruct_D_EBFBE0_801B8658 D_EBFBE0_801B8658;
|
||||
extern Vec3f D_EBFBE0_801B867C;
|
||||
extern UnkStruct_D_EBFBE0_801B8688 D_EBFBE0_801B8688;
|
||||
extern s32 D_EBFBE0_801B8694;
|
||||
extern s32 D_EBFBE0_801B869C;
|
||||
extern f32 D_EBFBE0_801B86A8;
|
||||
extern f32 D_EBFBE0_801B86AC;
|
||||
extern f32 D_EBFBE0_801B86B0;
|
||||
extern f32 D_EBFBE0_801B86B4;
|
||||
extern f32 D_EBFBE0_801B86B8;
|
||||
extern f32 D_EBFBE0_801B86BC;
|
||||
extern f32 D_EBFBE0_801B86C0;
|
||||
extern f32 D_EBFBE0_801B86C4;
|
||||
extern Vec3f D_EBFBE0_801B86E0[4][50];
|
||||
extern f32 D_EBFBE0_801B9044;
|
||||
extern f32 D_EBFBE0_801B9048;
|
||||
extern f32 D_EBFBE0_801B904C;
|
||||
extern f32 D_EBFBE0_801B9050;
|
||||
extern f32 D_EBFBE0_801B9054;
|
||||
extern f32 D_EBFBE0_801B9058;
|
||||
extern f32 D_EBFBE0_801B9068;
|
||||
@ -101,17 +193,27 @@ extern f32 D_EBFBE0_801B907C;
|
||||
extern f32 D_EBFBE0_801B9080;
|
||||
extern f32 D_EBFBE0_801B9084;
|
||||
|
||||
void func_EBFBE0_8018CC30(UnkStruct_D_EBFBE0_801B8294*, s32, f32);
|
||||
void func_EBFBE0_8018DF0C(f32 arg0);
|
||||
void func_EBFBE0_8018E058(void);
|
||||
void func_EBFBE0_8018E200(void);
|
||||
void func_EBFBE0_80190A98(void);
|
||||
void func_EBFBE0_80190EA4(void);
|
||||
void func_EBFBE0_80190FD0(void);
|
||||
void func_EBFBE0_8018E67C(s32);
|
||||
void func_EBFBE0_8018F438(void);
|
||||
void func_EBFBE0_80190144(void);
|
||||
void func_EBFBE0_801903B8(void);
|
||||
void func_EBFBE0_80190950(void);
|
||||
void func_EBFBE0_80190A98(void);
|
||||
void func_EBFBE0_80190B30(s32 arg0);
|
||||
void func_EBFBE0_80190EA4(void);
|
||||
void func_EBFBE0_80190FD0(void);
|
||||
void func_EBFBE0_801912A0(void);
|
||||
void func_EBFBE0_80191320(s32 arg0, f32* arg1, f32* arg2, f32* arg3, f32* arg4, f32* arg5, f32* arg6, f32 arg7,
|
||||
f32 arg8, f32 arg9);
|
||||
void func_EBFBE0_801914AC(f32 arg0, f32 arg1, f32 arg2, f32* arg3, f32* arg4, f32* arg5, f32 arg6, f32* arg7, f32* arg8,
|
||||
f32* arg9, f32 argA, f32 argB, f32 argC);
|
||||
void func_EBFBE0_80191798(f32* arg0, f32* arg1);
|
||||
void func_EBFBE0_80191844(f32 arg0, f32 arg1);
|
||||
void func_EBFBE0_801918FC(void);
|
||||
void func_EBFBE0_801919C4(u16** arg0, s32 arg1);
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user