mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 21:45:00 +03:00
fox_6B3B0 and a bunch of names for things (#50)
* stuff * three whole files * format * format and such * a switch in time * merge prep * nintendo switch * format * the great switch statement of our time * 43AC0 matched * stuff * Enums everywhere * oh god the switch * knakyo * new headers * format * fox * everyone hates recursion * format * one more thing * one more one more thing * renames
This commit is contained in:
parent
2b051a0828
commit
89ae8dff96
@ -4,13 +4,8 @@
|
||||
#include "libc/stdbool.h"
|
||||
#include "structs.h"
|
||||
#include "fox_option.h"
|
||||
|
||||
void Controller_Init(void);
|
||||
void Controller_UpdateInput(void);
|
||||
void Controller_ReadData(void);
|
||||
void Save_ReadData(void);
|
||||
void Save_WriteData(void);
|
||||
void Controller_Rumble(void);
|
||||
#include "sf64object.h"
|
||||
#include "sf64thread.h"
|
||||
|
||||
s32 Lib_vsPrintf(char* dst, const char* fmt, va_list args);
|
||||
void Lib_Perspective(Gfx** dList);
|
||||
@ -18,56 +13,9 @@ void Lib_Ortho(Gfx** dList);
|
||||
void Lib_DmaRead(void* src, void* dst, s32 size);
|
||||
void Lib_FillScreen(u8 setFill);
|
||||
|
||||
void Lights_SetOneLight(Gfx** dList, s32 dirX, s32 dirY, s32 dirZ, s32 colR, s32 colG, s32 colB, s32 ambR, s32 ambG, s32 ambB);
|
||||
void Lights_SetTwoLights(Gfx** dList, s32 dir1x, s32 dir1y, s32 dir1z, s32 dir2x, s32 dir2y, s32 dir2z, s32 col1r, s32 col1g,
|
||||
s32 col1b, s32 col2r, s32 col2g, s32 col2b, s32 ambR, s32 ambG, s32 ambB);
|
||||
f32 Math_ModF(f32 value, f32 mod);
|
||||
void Rand_Init(void);
|
||||
f32 Rand_ZeroOne(void);
|
||||
void Rand_SetSeed(s32 seed1, s32 seed2, s32 seed3);
|
||||
f32 Rand_ZeroOneSeeded(void);
|
||||
f32 Math_Atan2F(f32 y, f32 x);
|
||||
f32 Math_Atan2F_XY(f32 x, f32 y);
|
||||
f32 Math_Atan2F_XYAlt(f32 x, f32 y);
|
||||
f32 Math_PowF(f32 base, s32 exp);
|
||||
void Math_MinMax(s32* min, s32* max, s32 val1, s32 val2, s32 val3);
|
||||
|
||||
void Matrix_Copy(Matrix*, Matrix*);
|
||||
void Matrix_Push(Matrix** mtxStack);
|
||||
void Matrix_Pop(Matrix** mtxStack);
|
||||
void Matrix_Mult(Matrix*, Matrix*, u8);
|
||||
void Matrix_Translate(Matrix*, f32, f32, f32, u8);
|
||||
void Matrix_Scale(Matrix*, f32, f32, f32, u8);
|
||||
void Matrix_RotateX(Matrix*, f32, u8);
|
||||
void Matrix_RotateY(Matrix*, f32, u8);
|
||||
void Matrix_RotateZ(Matrix*, f32, u8);
|
||||
void Matrix_RotateAxis(Matrix*, f32, f32, f32, f32, u8);
|
||||
void Matrix_ToMtx(Mtx *dest);
|
||||
void Matrix_FromMtx(Mtx *src, Matrix *dest);
|
||||
void Matrix_MultVec3f(Matrix*, Vec3f*, Vec3f*);
|
||||
void Matrix_MultVec3fNoTranslate(Matrix*, Vec3f*, Vec3f*);
|
||||
void Matrix_GetYRPAngles(Matrix*, Vec3f*);
|
||||
void Matrix_GetXYZAngles(Matrix*, Vec3f*);
|
||||
void Matrix_LookAt(Matrix*, f32, f32, f32, f32, f32, f32, f32, f32, f32, u8);
|
||||
void Matrix_SetGfxMtx(Gfx**);
|
||||
|
||||
s32 Timer_CreateTask(u64, TimerAction, s32*, s32);
|
||||
|
||||
void Memory_FreeAll(void);
|
||||
void* Memory_Allocate(s32);
|
||||
|
||||
void Timer_Increment(s32* address, s32 value);
|
||||
void Timer_SetValue(s32* address, s32 value);
|
||||
void Timer_CompleteTask(TimerTask*);
|
||||
void Timer_Wait(u64);
|
||||
|
||||
s32 Save_WriteEeprom(SaveFile*);
|
||||
s32 Save_ReadEeprom(SaveFile*);
|
||||
|
||||
void Fault_ThreadEntry(void*);
|
||||
void func_80007FE4(FrameBuffer*, u16, u16);
|
||||
void Fault_Init(void);
|
||||
|
||||
void func_8000FFCC(void);
|
||||
|
||||
u8* func_8001C3EC(void);
|
||||
@ -75,7 +23,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_8001A55C(Vec3f*, u32);
|
||||
void func_8001A838(u32);
|
||||
void func_8001ACDC(s32);
|
||||
void func_8001AE58(void);
|
||||
@ -83,8 +31,11 @@ s32 func_8001AE78(void);
|
||||
s32 func_8001AED4(void);
|
||||
void func_8001AF40(s32);
|
||||
void func_8001D1C8(s32, s32);
|
||||
void func_8001D400(s32);
|
||||
void func_8001D2FC(Vec3f *, u16);
|
||||
void func_8001D3A0(Vec3f *, u16);
|
||||
void func_8001D400(s8);
|
||||
void func_8001D444(u8, u16, u8, u8);
|
||||
void func_8001D4AC(u16, u8, u8, u8);
|
||||
void func_8001D638(u8);
|
||||
void func_8001DA90(u8);
|
||||
void func_8001DBD0(s32);
|
||||
@ -129,35 +80,25 @@ void RdRam_CheckIPL3(void);
|
||||
void Mio0_Decompress(void* header, u8* dst);
|
||||
s32 vsprintf(char* dst, const char* fmt, va_list args);
|
||||
|
||||
f32 Math_FAtanF(f32);
|
||||
f32 Math_FAtan2F(f32, f32);
|
||||
f32 Math_FAsinF(f32);
|
||||
f32 Math_FAcosF(f32);
|
||||
|
||||
f32 __sinf(f32);
|
||||
f32 __cosf(f32);
|
||||
|
||||
s64 __ull_div(s64, s64);
|
||||
s64 __ll_mul(s64, s64);
|
||||
s64 __ll_rshift(s64, s64);
|
||||
|
||||
// sf_2EFE0
|
||||
void func_8002E3E0(Object_2F4 *);
|
||||
void func_8002E3E0(Object_2F4*);
|
||||
void func_8002E548(void);
|
||||
void func_8002E5E0(Object*);
|
||||
void func_8002E604(Object*);
|
||||
void func_8002E628(Object*);
|
||||
void func_8002E64C(Object*);
|
||||
void func_8002E670(Object*);
|
||||
void func_8002E694(Object*);
|
||||
void func_8002E6B8(Object*);
|
||||
void func_8002E6DC(Object*);
|
||||
void func_8002E5E0(Object_408*);
|
||||
void func_8002E604(Object_408*);
|
||||
void func_8002E628(Object_408*);
|
||||
void func_8002E64C(Object_408*);
|
||||
void func_8002E670(Object_2F4*);
|
||||
void func_8002E694(Object_2F4*);
|
||||
void func_8002E6B8(Object_2F4*);
|
||||
void func_8002E6DC(Object_2F4*);
|
||||
void func_8002EE64(Object_2F4 *);
|
||||
void func_8002F5F4(void);
|
||||
void func_800319AC(Object*);
|
||||
void func_80035448(Object*);
|
||||
void func_800319AC(Object_2F4*);
|
||||
void func_80035448(Object_2F4*);
|
||||
|
||||
//sf_36930
|
||||
void func_80035E48(Object_70 *);
|
||||
void func_800365E4(f32, f32, f32, f32, f32, f32, f32, f32, f32, s32, s32);
|
||||
void func_8003DA0C(void);
|
||||
void func_8003DAF0(void);
|
||||
void func_8003DE68(s32, s32);
|
||||
@ -167,24 +108,25 @@ void func_80040954(void);
|
||||
void func_80040CDC(void);
|
||||
void func_80040CE4(void);
|
||||
|
||||
// sf_43AC0
|
||||
// fox_43AC0
|
||||
void func_80042FAC(Object_408 *);
|
||||
void func_80042FB8(Object*);
|
||||
void func_80042FC4(Object*);
|
||||
void func_80042FB8(Object_408*);
|
||||
void func_80042FC4(Object_408*);
|
||||
void func_80042FD0(Object_408 *);
|
||||
void func_80042FDC(Object*);
|
||||
void func_80042FE8(Object*);
|
||||
void func_800444BC(UnkStruct_D_80178280 *);
|
||||
void func_80042FDC(Object_408*);
|
||||
void func_80042FE8(Object_408*);
|
||||
void func_800444BC(Player *);
|
||||
void func_800515C4(void);
|
||||
|
||||
// sf_496E0
|
||||
void func_8004F8AC(Object*);
|
||||
void func_8004FEC0(Object*);
|
||||
void func_8004F8AC(Object_2F4*);
|
||||
void func_8004FEC0(Object_2F4*);
|
||||
void func_800515C4(void);
|
||||
|
||||
// fox_52730
|
||||
void func_80053658(UnkStruct_D_80161630 *);
|
||||
void func_80053658(WingInfo *);
|
||||
void func_8005465C(s32);
|
||||
void func_80057814(UnkStruct_D_80178280* arg0);
|
||||
void func_80057814(Player* arg0);
|
||||
void func_80057D00(void);
|
||||
|
||||
// fox_edata
|
||||
@ -207,6 +149,9 @@ void func_80059C40(Object_4C*);
|
||||
void func_80059F68(Object_6C*);
|
||||
void func_80059FDC(Object_6C*);
|
||||
void func_8005A094(Object_2F4*);
|
||||
void func_8005ADAC(Object_2F4*);
|
||||
void func_8005B1E8(Object_2F4*, s32);
|
||||
void func_8005B388(Object_2F4*);
|
||||
void func_8005B6A4(Object_2F4*);
|
||||
void func_8005B71C(Object_2F4*);
|
||||
void func_8005B7CC(Object_2F4*);
|
||||
@ -231,22 +176,24 @@ s32 func_8005F9DC(Vec3f*);
|
||||
void func_80060714(s32 arg0);
|
||||
void func_8006089C(u8 arg0);
|
||||
void func_80060968(void);
|
||||
void func_80060FBC(Object*, Vec3f*);
|
||||
void Object_Kill(Object*, Vec3f*);
|
||||
s32 func_80060FE4(Vec3f*, f32);
|
||||
void func_800612B8(ObjectStruct_1C*, u32);
|
||||
void func_80061364(Object_80*);
|
||||
void func_80061394(Object_4C*);
|
||||
void func_800613C4(Object_2F4*);
|
||||
void func_80061404(Object_408*);
|
||||
void func_80061444(Object_6C*);
|
||||
void func_80061474(Object_8C*);
|
||||
void Object_80_Initialize(Object_80*);
|
||||
void Object_4C_Initialize(Object_4C*);
|
||||
void Object_2F4_Initialize(Object_2F4*);
|
||||
void Object_408_Initialize(Object_408*);
|
||||
void Object_6C_Initialize(Object_6C*);
|
||||
void Object_8C_Initialize(Object_8C*);
|
||||
void func_80061B68(void);
|
||||
void func_80061CD0(void);
|
||||
void func_80061E48(Object_2F4* arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
void func_80061F0C(Object_2F4* arg0, ObjectInit* arg1, s32 arg2);
|
||||
void func_80062180(ObjectInit* arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||
void func_80062C38(f32, f32);
|
||||
s32 func_800631A8(Vec3f*, f32*, Vec3f*);
|
||||
s32 func_8006326C(Vec3f* arg0, Vec3f* arg1, s32 arg2, Object* arg3);
|
||||
s32 func_8006351C(s32 arg0, Vec3f* arg1, Vec3f* arg2, s32 arg3);
|
||||
void func_800652CC(Object_80*);
|
||||
void func_800654E4(Object *);
|
||||
void func_800656D4(Object_2F4*);
|
||||
@ -265,6 +212,7 @@ void func_800671D0(Object_6C *);
|
||||
void func_800674B4(f32, f32, f32, f32, f32, f32, f32, f32);
|
||||
void func_8006753C(Object_2F4*);
|
||||
void func_80067874(Object_2F4*);
|
||||
void func_80067A40(void);
|
||||
void func_80067B1C(Object_6C*);
|
||||
void func_80067BEC(Object_6C*);
|
||||
void func_80067F6C(Object_6C*);
|
||||
@ -290,31 +238,31 @@ void func_80069DF4(Object_80 *);
|
||||
void func_80069E88(Object_4C *);
|
||||
void func_80069F30(Object_6C *);
|
||||
void func_80069FD4(Object_8C *);
|
||||
void func_8006A06C(UnkStruct_D_80174750*);
|
||||
void func_8006A06C(UnkEntity30*);
|
||||
void func_8006A38C(void);
|
||||
void func_8006A3E8(void);
|
||||
|
||||
//sf_6B3B0
|
||||
void func_8006A96C(Object*);
|
||||
void func_8006A978(Object*);
|
||||
void func_8006AA98(Object*);
|
||||
void func_8006AC08(Object*);
|
||||
void func_8006AD18(Object*);
|
||||
void func_8006B094(Object*);
|
||||
void func_8006B0A0(Object_2F4 *, s32);
|
||||
//fox_6B3B0
|
||||
void func_8006A96C(Object_2F4*);
|
||||
void func_8006A978(Object_2F4*);
|
||||
void func_8006AA98(Object_80*);
|
||||
void func_8006AC08(Object_2F4*);
|
||||
void func_8006AD18(Object_2F4*);
|
||||
void func_8006B094(Object_2F4*);
|
||||
void func_8006B0A0(Object_2F4 *);
|
||||
void func_8006B74C(Object_2F4 *);
|
||||
void func_8006B95C(Object*);
|
||||
void func_8006BB78(Object*);
|
||||
void func_8006C008(Object*);
|
||||
void func_8006D350(Object*);
|
||||
void func_8006B95C(Object_80*);
|
||||
void func_8006BB78(Object_2F4*);
|
||||
void func_8006C008(Object_2F4*);
|
||||
void func_8006D350(Object_80*);
|
||||
void func_8006EEFC(s32, f32, f32, f32, f32, f32, f32, f32, f32, f32);
|
||||
void func_80072594(Object*);
|
||||
void func_80074F90(Object*);
|
||||
void func_80074FF0(Object*);
|
||||
void func_800763A4(Object_2F4 *, s32);
|
||||
void func_8007717C(Object_2F4 *, s32);
|
||||
void func_800771CC(Object*);
|
||||
void func_80077218(Object*);
|
||||
void func_80072594(Object_2F4*);
|
||||
s32 func_80074F90(Object_80*);
|
||||
void func_80074FF0(Object_2F4*);
|
||||
void func_800763A4(Object_2F4 *);
|
||||
void func_8007717C(Object_2F4 *);
|
||||
void func_800771CC(Object_2F4*);
|
||||
void func_80077218(Object_2F4*);
|
||||
|
||||
// sf_77E40
|
||||
void func_80077240(f32 posX, f32 posY, f32 posZ, s32 arg3);
|
||||
@ -338,7 +286,7 @@ void func_8007879C(Object_8C* arg0);
|
||||
void func_800788B0(Object_8C* arg0);
|
||||
void func_80078A64(Object_8C* arg0);
|
||||
void func_80078AEC(Object_8C* arg0);
|
||||
void func_80078B8C(void *unused);
|
||||
void func_80078B8C(Object_8C *arg0);
|
||||
void func_80078BE0(Object_8C* arg0);
|
||||
void func_80078C84(Object_8C* arg0);
|
||||
void func_80078CE8(Object_8C* arg0);
|
||||
@ -359,7 +307,7 @@ void func_8007A568(f32 xPos, f32 yPos, f32 zPos, f32 arg3);
|
||||
void func_8007A5F8(Object_8C* arg0, Vec3f* arg1, u32 arg2);
|
||||
void func_8007A6F0(Vec3f *, u32);
|
||||
void func_8007A748(Object_8C*);
|
||||
s32 func_8007A774(UnkStruct_D_80178280*, Object_8C*, f32);
|
||||
s32 func_8007A774(Player*, Object_8C*, f32);
|
||||
void func_8007A818(Object_8C*, f32 posX, f32 posY, f32 posZ, f32, u8, u8, u16);
|
||||
void func_8007A900(f32 posX, f32 posY, f32 posZ, f32, u8, u8, u16);
|
||||
void func_8007A994(Object_8C*);
|
||||
@ -376,64 +324,71 @@ void func_8007B3B8(Object_8C*);
|
||||
void func_8007B550(f32 posX, f32 posY, f32 posZ, f32 arg3, s32 arg4);
|
||||
void func_8007B5C0(Object_8C*);
|
||||
void func_8007B62C(Object_8C*);
|
||||
void func_8007B670(void*);
|
||||
void func_8007B670(Object_8C*);
|
||||
void func_8007B67C(Object_8C*);
|
||||
void func_8007B758(Object_8C*);
|
||||
void func_8007B8F8(f32 posX, f32 posY, f32 posZ, f32 arg3);
|
||||
void func_8007B960(Object_8C*);
|
||||
void func_8007BC7C(f32, f32, f32, f32);
|
||||
void func_8007BCE8(Object*);
|
||||
void func_8007B9DC(Object*);
|
||||
void func_8007BDE0(Object*);
|
||||
void func_8007BE54(Object*);
|
||||
void func_8007BEE8(Object*);
|
||||
void func_8007BCE8(Object_8C*);
|
||||
void func_8007B9DC(Object_8C*);
|
||||
void func_8007BDE0(Object_8C*);
|
||||
void func_8007BE54(Object_8C*);
|
||||
void func_8007BEE8(Object_8C*);
|
||||
void func_8007BFFC(f32, f32, f32, f32, f32, f32, f32, s32);
|
||||
void func_8007C120(f32, f32, f32, f32, f32, f32, f32, s32);
|
||||
void func_8007C250(Object*);
|
||||
void func_8007C250(Object_8C*);
|
||||
void func_8007C484(f32, f32, f32, f32, f32, f32, f32, s32);
|
||||
void func_8007C50C(Object*);
|
||||
void func_8007C8C4(Object*);
|
||||
void func_8007C9E0(Object*);
|
||||
void func_8007CAF0(Object*);
|
||||
void func_8007C50C(Object_8C*);
|
||||
void func_8007C688(f32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4);
|
||||
void func_8007C8C4(Object_8C*);
|
||||
void func_8007C9E0(Object_8C*);
|
||||
void func_8007CAF0(Object_8C*);
|
||||
void func_8007D074(f32, f32, f32, f32);
|
||||
void func_8007D0E0(f32, f32, f32, f32);
|
||||
void func_8007D10C(f32, f32, f32, f32);
|
||||
void func_8007D1E0(f32, f32, f32, f32);
|
||||
void func_8007D2C8(f32, f32, f32, f32);
|
||||
void func_8007D2F4(Object*);
|
||||
void func_8007D55C(Object*);
|
||||
void func_8007D748(Object*);
|
||||
void func_8007D8A8(Object*);
|
||||
void func_8007DA58(Object*);
|
||||
void func_8007DAE4(Object*);
|
||||
void func_8007DB70(Object*);
|
||||
void func_8007DED4(Object*);
|
||||
void func_8007E014(Object*);
|
||||
void func_8007E258(Object*);
|
||||
void func_8007E298(Object*);
|
||||
void func_8007E330(Object*);
|
||||
void func_8007E3E4(Object*);
|
||||
void func_8007E45C(Object*);
|
||||
void func_8007E5CC(Object*);
|
||||
void func_8007E648(Object*);
|
||||
void func_8007D24C(f32, f32, f32, f32);
|
||||
void func_8007D2F4(Object_8C*);
|
||||
void func_8007D55C(Object_8C*);
|
||||
void func_8007D748(Object_8C*);
|
||||
void func_8007D8A8(Object_8C*);
|
||||
void func_8007D9DC(f32, f32, f32, f32, f32, s32);
|
||||
void func_8007DA58(Object_8C*);
|
||||
void func_8007DAE4(Object_8C*);
|
||||
void func_8007DB70(Object_8C*);
|
||||
void func_8007DED4(Object_8C*);
|
||||
void func_8007E014(Object_8C*);
|
||||
void func_8007E258(Object_8C*);
|
||||
void func_8007E298(Object_8C*);
|
||||
void func_8007E330(Object_8C*);
|
||||
void func_8007E3E4(Object_8C*);
|
||||
void func_8007E45C(Object_8C*);
|
||||
void func_8007E5CC(Object_8C*);
|
||||
void func_8007E648(Object_8C*);
|
||||
void func_8007E93C(Object_8C *arg0, u16 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5);
|
||||
void func_8007F04C(s32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32); // Object_Spawn?
|
||||
void func_8007F438(Object*);
|
||||
void func_8007F6B0(Object*);
|
||||
void func_8007F958(Object*);
|
||||
void func_8007FBE0(Object*);
|
||||
void func_8007FE88(Object*);
|
||||
void func_800802B8(Object*);
|
||||
void func_800802D8(Object*);
|
||||
void func_800802F8(Object*);
|
||||
void func_80080360(Object*);
|
||||
void func_8008040C(Object*);
|
||||
void func_8008092C(Object*);
|
||||
void func_80080ACC(Object*);
|
||||
void func_80080D04(Object*);
|
||||
void func_80081C5C(Object*);
|
||||
void func_80082F78(Object*);
|
||||
void func_800837EC(Object*);
|
||||
void func_80083B8C(Object*);
|
||||
void func_80083FA8(Object*);
|
||||
void func_8007F20C(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||
void func_8007F438(Object_8C*);
|
||||
void func_8007F6B0(Object_8C*);
|
||||
void func_8007F958(Object_8C*);
|
||||
void func_8007FBE0(Object_8C*);
|
||||
void func_8007FE88(Object_8C*);
|
||||
void func_800802B8(Object_8C*);
|
||||
void func_800802D8(Object_8C*);
|
||||
void func_800802F8(Object_8C*);
|
||||
void func_80080360(Object_8C*);
|
||||
void func_8008040C(Object_8C*);
|
||||
void func_8008092C(Object_8C*);
|
||||
void func_80080ACC(Object_8C*);
|
||||
void func_80080D04(Object_8C*);
|
||||
void func_80081C5C(Object_8C*);
|
||||
void func_80082F78(Object_8C*);
|
||||
void func_800837EC(Object_8C*);
|
||||
void func_80083B8C(Object_8C*);
|
||||
void func_80083D2C(f32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
void func_80083FA8(Object_8C*);
|
||||
void func_80084194(Object_8C*);
|
||||
|
||||
// fox_84F70
|
||||
@ -467,13 +422,13 @@ void func_8008E51C(s32* , f32);
|
||||
void func_8008E9EC(f32, f32);
|
||||
void func_8008EA14(f32, f32);
|
||||
void func_8008FA84(void);
|
||||
void func_8008FE78(Object*);
|
||||
void func_8008FE78(Object_408*);
|
||||
void func_8008FFF0(Object_408*, s32);
|
||||
bool func_8009092C(Object_2F4*);
|
||||
void func_800907C4(Object_408*);
|
||||
s32 func_800915FC(Object_2F4*);
|
||||
void func_80092D48(Object_2F4 *);
|
||||
void func_80092EC0(Object*);
|
||||
void func_80092EC0(Object_2F4*);
|
||||
void func_80094954(Object_8C*);
|
||||
void func_80094BBC(Object_8C*);
|
||||
void func_80094D20(f32, f32);
|
||||
@ -484,8 +439,8 @@ s32 func_800988B4(Vec3f *vec, Plane *plane);
|
||||
s32 func_800998FC(Vec3f*, Vec3f*, Vec3f*, s32, Vec3f*, f32*);
|
||||
|
||||
// fox_A24B0
|
||||
void func_800A18B0(void);
|
||||
void func_800A1980(void);
|
||||
void Game_Initialize(void);
|
||||
void Game_SetGameState(void);
|
||||
bool func_800A1B6C(void);
|
||||
void func_800A1C14(Gfx **);
|
||||
void func_800A1E68(Gfx **);
|
||||
@ -503,13 +458,17 @@ bool func_800A3690(Vec3f*, Vec3f*, s32, Vec3f*);
|
||||
void func_800A3CA0(void);
|
||||
|
||||
// sf_A4B50
|
||||
s32 func_800A3F50(u16);
|
||||
s32 Play_CheckMedalStatus(u16);
|
||||
s32 Play_GetMaxHealth(void);
|
||||
void func_800A5844(void);
|
||||
void func_800A5D6C(void);
|
||||
void func_800A6148(void);
|
||||
void func_800A6CD0(UnkStruct_D_80178280 *, s32, s32);
|
||||
void func_800A69F8(s32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
void func_800A6CD0(Player *, s32, s32);
|
||||
s32 func_800A73E4(f32* arg0, s32* arg1, f32 posX, f32 posY, f32 posZ);
|
||||
s32 func_800A78C4(f32* arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6);
|
||||
void func_800B6F50(f32, f32, f32, f32, f32, f32);
|
||||
void func_800B73E0(UnkStruct_D_80178280 *);
|
||||
void func_800B73E0(Player *);
|
||||
s32 func_800A73E4(f32* arg0, s32* arg1, f32 posX, f32 posY, f32 posZ);
|
||||
void func_800B86CC(void);
|
||||
|
||||
@ -532,6 +491,8 @@ s32 Save_Read(void);
|
||||
|
||||
void func_EFFA40_80187520(s32, void*);
|
||||
|
||||
void func_DF4260_80187530(Object_80*);
|
||||
void func_DF4260_8018753C(Object_80*);
|
||||
void func_DF4260_801878D8(Object_408 *);
|
||||
void func_DF4260_8018B0B4(Object_2F4 *);
|
||||
void func_DF4260_8018BE7C(Object_408 *);
|
||||
@ -543,10 +504,14 @@ void func_DF4260_801935CC(Object_408 *);
|
||||
void func_DF4260_80198310(Object_408 *);
|
||||
void func_DF4260_801988E0(void);
|
||||
|
||||
void func_E08400_80187B08(Object_2F4 *, s32);
|
||||
void func_E08400_80187B08(Object_2F4 *);
|
||||
void func_E08400_80188A40(Object_408 *);
|
||||
void func_E08400_8018CCF8(Object_2F4 *);
|
||||
|
||||
void func_E16C50_801AC8A8(f32, f32, f32, f32, s32);
|
||||
void func_E16C50_8019E9F4(f32, f32, f32, f32, f32, f32, f32, s32);
|
||||
void func_E16C50_80187754(Object_408 *);
|
||||
void func_E16C50_801900FC(Vec3f*, Vec3f*, f32, f32, f32, s32, f32, s32, s32);
|
||||
void func_E16C50_80190F08(Object_2F4 *);
|
||||
void func_E16C50_801915A4(Object_2F4 *);
|
||||
void func_E16C50_80191BB8(Object_2F4 *);
|
||||
@ -566,13 +531,15 @@ void func_E16C50_801B6E54(Object_2F4 *);
|
||||
void func_E16C50_801B7AF0(Object_2F4 *);
|
||||
void func_E16C50_801BA57C(Object_2F4 *);
|
||||
void func_E16C50_801BB26C(Object_2F4 *);
|
||||
void func_E16C50_80190430(Object_2F4 *);
|
||||
|
||||
void func_E51970_80193CA4(Object_408 *);
|
||||
void func_E51970_80198594(Object_408 *, s32);
|
||||
void func_E51970_80198594(Object_408 *);
|
||||
|
||||
void func_E6A810_8018769C(Object_2F4 *);
|
||||
void func_E6A810_80189B80(Object_2F4 *);
|
||||
void func_E6A810_8018ADC4(Object_2F4 *);
|
||||
void func_E6A810_8018B720(Object_2F4 *, s32);
|
||||
void func_E6A810_8018B720(Object_2F4 *);
|
||||
void func_E6A810_8018B96C(Object_2F4 *);
|
||||
void func_E6A810_8018BFB0(Object_2F4 *);
|
||||
void func_E6A810_8018E3B0(Object_2F4 *);
|
||||
@ -581,7 +548,7 @@ void func_E6A810_8018E5E8(Object_2F4 *);
|
||||
void func_E6A810_8018EFF0(Object_4C *);
|
||||
void func_E6A810_8018F0D8(Object_80 *);
|
||||
void func_E6A810_8018FA48(Object_408 *);
|
||||
void func_E6A810_801990DC(Object_408 *, s32);
|
||||
void func_E6A810_801990DC(Object_408 *);
|
||||
void func_E6A810_80199F8C(Object_2F4 *);
|
||||
void func_E6A810_801A3E70(Object_2F4 *);
|
||||
void func_E6A810_801A4660(Object_2F4 *);
|
||||
@ -594,10 +561,12 @@ void func_E6A810_801B58AC(Gfx **, f32);
|
||||
s32 func_E6A810_801B6AEC(f32, f32, f32);
|
||||
void func_E6A810_801B6E20(f32, f32, f32 *, f32 *, f32 *);
|
||||
|
||||
void func_E9F1D0_801888F4(Object_2F4 *, s32);
|
||||
void func_E9F1D0_801A4CB0(Object_2F4*);
|
||||
void func_E9F1D0_801A3BD4(Object_2F4*);
|
||||
void func_E9F1D0_801888F4(Object_2F4 *);
|
||||
void func_E9F1D0_8018D16C(Object_408 *);
|
||||
void func_E9F1D0_80197CC4(Object_408 *);
|
||||
void func_E9F1D0_801A6164(UnkStruct_D_80178280 *);
|
||||
void func_E9F1D0_801A6164(Player *);
|
||||
|
||||
void func_EF0260_8018A96C(void);
|
||||
void func_EF0260_8018AAC4(void);
|
||||
|
285
include/gfx.h
285
include/gfx.h
@ -7,12 +7,20 @@
|
||||
#define SCREEN_WIDTH 320
|
||||
#define SCREEN_HEIGHT 240
|
||||
|
||||
#define FILL_COLOR(rgba) (((rgba) << 0x10) | (rgba))
|
||||
#define RGBA16_RED(color16) (((color16) >> 0xB) & 0x1F)
|
||||
#define RGBA16_GRN(color16) (((color16) >> 6) & 0x1F)
|
||||
#define RGBA16_BLU(color16) (((color16) >> 1) & 0x1F)
|
||||
// unclear what the right macro for this is
|
||||
// #define RGBA16_PACK(r, g, b, a) (((u16) ((r) * 0x800) & 0xF800) | ((u16) ((g) * 0x40) & 0x7C0) | ((u16) ((b) * 2) & 0x3E) | ((a) & 1))
|
||||
|
||||
// used for convenience while decopming. You should find/replace them with the full macros before PRing
|
||||
#define GDL(dl) gSPDisplayList(gMasterDisp++, dl) // 06000000 dl
|
||||
#define GPC(r, g, b, a) gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, r, g, b, a) // FA000000 RRGGBBAA
|
||||
#define GEC(r, g, b, a) gDPSetEnvColor(gMasterDisp++, r, g, b, a) // FB000000 RRGGBBAA
|
||||
#define GSGM_BACK(mode) gSPSetGeometryMode(gMasterDisp++, G_CULL_BACK) // B7000000 00002000, most common geometry mode changed
|
||||
#define GCGM_BACK(mode) gSPSetGeometryMode(gMasterDisp++, G_CULL_BACK) // B6000000 00002000
|
||||
|
||||
#define gSPSetOtherModeHi(pkt, settings) gSPSetOtherMode(pkt, G_SETOTHERMODE_H, G_MDSFT_BLENDMASK, 24, settings)
|
||||
#define gsSPSetOtherModeHi(settings) gsSPSetOtherMode(G_SETOTHERMODE_H, G_MDSFT_BLENDMASK, 24, settings)
|
||||
|
||||
@ -20,6 +28,146 @@
|
||||
|
||||
#define VTX_T(x,y,z,s,t,cr,cg,cb,a) { { x, y, z }, 0, { s, t }, { cr, cg, cb, a } }
|
||||
|
||||
typedef union {
|
||||
u16 data[SCREEN_HEIGHT * SCREEN_WIDTH];
|
||||
u16 array[SCREEN_HEIGHT][SCREEN_WIDTH];
|
||||
} FrameBuffer; // size = 0x25800
|
||||
|
||||
typedef s32 (*OverrideLimbDraw)(s32, Gfx**, Vec3f*, Vec3f*, void*);
|
||||
typedef void (*PostLimbDraw)(s32, Vec3f*, void*);
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ u16 xLen;
|
||||
/* 0x2 */ u16 x;
|
||||
/* 0x4 */ u16 yLen;
|
||||
/* 0x6 */ u16 y;
|
||||
/* 0x8 */ u16 zLen;
|
||||
/* 0xA */ u16 z;
|
||||
} JointKey; // size = 0xC
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ s16 frameCount;
|
||||
/* 0x02 */ s16 limbCount;
|
||||
/* 0x04 */ u16* frameData;
|
||||
/* 0x08 */ JointKey* jointKey;
|
||||
} AnimationHeader; // size = 0xC
|
||||
|
||||
typedef struct Limb {
|
||||
/* 0x000 */ Gfx* dList;
|
||||
/* 0x004 */ Vec3f trans;
|
||||
/* 0x010 */ Vec3s rot;
|
||||
/* 0x018 */ struct Limb* sibling;
|
||||
/* 0x01C */ struct Limb* child;
|
||||
} Limb; // size = 0x20
|
||||
|
||||
typedef Limb* SkelAnime;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ AnimationHeader* unk_0;
|
||||
/* 0x04 */ AnimationHeader* unk_4;
|
||||
/* 0x08 */ SkelAnime* skelanime;
|
||||
} Animation; // size = 0x0C
|
||||
|
||||
void Lights_SetOneLight(Gfx** dList, s32 dirX, s32 dirY, s32 dirZ, s32 colR, s32 colG, s32 colB, s32 ambR, s32 ambG, s32 ambB);
|
||||
void Lights_SetTwoLights(Gfx** dList, s32 dir1x, s32 dir1y, s32 dir1z, s32 dir2x, s32 dir2y, s32 dir2z, s32 col1r, s32 col1g,
|
||||
s32 col1b, s32 col2r, s32 col2g, s32 col2b, s32 ambR, s32 ambG, s32 ambB);
|
||||
|
||||
char* Graphics_ClearPrintBuffer(char *buf, s32 fill, s32 len);
|
||||
s32 Graphics_Printf(const char *fmt, ...);
|
||||
void Texture_Scroll(void *texture, s32 width, s32 height, u8 mode);
|
||||
void Texture_Mottle(void *dst, void *src, u8 mode);
|
||||
s32 Animation_GetLimbIndex(Limb* limb, Limb** skeleton);
|
||||
void Animation_DrawLimb(s32 mode, Limb * limb, Limb* *skeleton, Vec3f* jointTable, OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, void* data);
|
||||
void Animation_DrawSkeleton(s32 mode, Limb** skeletonSegment, Vec3f* jointTable, OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, void* data, Matrix* transform);
|
||||
s16 Animation_GetFrameData(AnimationHeader *animationSegmemt, s32 frame, Vec3f *frameTable);
|
||||
s16 Animation_GetFrameCount(AnimationHeader *animationSegment);
|
||||
void Animation_FindBoundingBox(Gfx* dList, s32 len, Vec3f *min, Vec3f *max, s32 *vtxFound, s32 *vtxCount, Vtx* *vtxList);
|
||||
void Animation_GetDListBoundingBox(Gfx *dList, s32 len, Vec3f *min, Vec3f *max);
|
||||
void Animation_GetSkeletonBoundingBox(Limb **skeletonSegment, AnimationHeader *animationSegment, s32 frame, Vec3f *min, Vec3f* max);
|
||||
void TextureRect_4bCI(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_4bCI_Flip(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_4bCI_MirX(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_4bCI_MirY(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bCI(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bRGBA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bRGBA_MirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_FilpMirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_FilpMirY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_MirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_MirY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA_MirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA_MirY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA_MirXY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_32bRGBA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void Graphics_FillRectangle(Gfx **gfxPtr, s32 ulx, s32 uly, s32 lrx, s32 lry, u8 r, u8 g, u8 b, u8 a);
|
||||
u16* func_8009F7B4(Gfx **gfxPtr, u8 width, u8 height);
|
||||
void Graphics_DisplayHUDNumber(s32 xPos, s32 yPos, s32 number);
|
||||
void Graphics_DisplaySmallNumber(s32 xPos, s32 yPos, s32 number);
|
||||
void Graphics_DisplayLargeText(s32 xPos, s32 yPos, f32 xScale, f32 yScale, char *text);
|
||||
s32 Graphics_GetLargeTextWidth(char *text);
|
||||
void Graphics_DisplayLargeNumber(s32 xPos, s32 yPos, s32 number);
|
||||
void Graphics_DisplaySmallText(s32 xPos, s32 yPos, f32 xScale, f32 yScale, char *text);
|
||||
s32 Graphics_GetSmallTextWidth(char *text);
|
||||
void func_800A1540(s32 arg0, s32 arg1, s32 arg2, s32 arg3);
|
||||
void func_800A1558(f32 weight, u16 size, void *src1, void *src2, void *dst);
|
||||
|
||||
void RCP_SetupDL(Gfx** gfxP, s16 i);
|
||||
void RCP_SetFog(Gfx** gfxP, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_0(void);
|
||||
void RCP_SetupDL_1(void);
|
||||
void RCP_SetupDL_11(void);
|
||||
void RCP_SetupDL_12(void);
|
||||
void RCP_SetupDL_2(void);
|
||||
void RCP_SetupDL_3(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_4(void);
|
||||
void RCP_SetupDL_7(void);
|
||||
void RCP_SetupDL_9(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_8(void);
|
||||
void RCP_SetupDL_13(void);
|
||||
void RCP_SetupDL_14(void);
|
||||
void RCP_SetupDL_17(void);
|
||||
void RCP_SetupDL_36(void);
|
||||
void RCP_SetupDL_52(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_62(void);
|
||||
void RCP_SetupDL_37(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_18(void);
|
||||
void RCP_SetupDL_20(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_19(void);
|
||||
void RCP_SetupDL_21(void);
|
||||
void RCP_SetupDL_33(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_34(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_40(void);
|
||||
void RCP_SetupDL_42(void);
|
||||
void RCP_SetupDL_43(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_60(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_47(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_66(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_55(void);
|
||||
void RCP_SetupDL_57(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_45(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_46(void);
|
||||
void RCP_SetupDL_41(void);
|
||||
void RCP_SetupDL_64(void);
|
||||
void RCP_SetupDL_64_2(void);
|
||||
void RCP_SetupDL_23(void);
|
||||
void RCP_SetupDL_29(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_30(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_27(void);
|
||||
void RCP_SetupDL_32(void);
|
||||
void RCP_SetupDL_73(void);
|
||||
void RCP_SetupDL_76(void);
|
||||
void RCP_SetupDL_74(void);
|
||||
void RCP_SetupDL_78(void);
|
||||
void RCP_SetupDL_81(void);
|
||||
void RCP_SetupDL_48(void);
|
||||
void RCP_SetupDL_68(void);
|
||||
void RCP_SetupDL_49(void);
|
||||
void RCP_SetupDL_44(void);
|
||||
void RCP_SetupDL_50(void);
|
||||
void RCP_SetupDL_61(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
|
||||
typedef enum SetupDL {
|
||||
/* 0x00 */ SETUPDL_0,
|
||||
/* 0x01 */ SETUPDL_1,
|
||||
@ -114,141 +262,4 @@ typedef enum SetupDL {
|
||||
|
||||
extern Gfx gSetupDLs[SETUPDL_MAX][9]; // 0x800D31B0
|
||||
|
||||
typedef s32 (*OverrideLimbDraw)(s32, Gfx**, Vec3f*, Vec3f*, void*);
|
||||
typedef void (*PostLimbDraw)(s32, Vec3f*, void*);
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ u16 xLen;
|
||||
/* 0x2 */ u16 x;
|
||||
/* 0x4 */ u16 yLen;
|
||||
/* 0x6 */ u16 y;
|
||||
/* 0x8 */ u16 zLen;
|
||||
/* 0xA */ u16 z;
|
||||
} JointKey; // size = 0xC
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ s16 frameCount;
|
||||
/* 0x02 */ s16 limbCount;
|
||||
/* 0x04 */ u16* frameData;
|
||||
/* 0x08 */ JointKey* jointKey;
|
||||
} AnimationHeader; // size = 0xC
|
||||
|
||||
typedef struct Limb {
|
||||
/* 0x000 */ Gfx* dList;
|
||||
/* 0x004 */ Vec3f trans;
|
||||
/* 0x010 */ Vec3s rot;
|
||||
/* 0x018 */ struct Limb* sibling;
|
||||
/* 0x01C */ struct Limb* child;
|
||||
} Limb; // size = 0x20
|
||||
|
||||
typedef Limb* SkelAnime;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ AnimationHeader* unk_0;
|
||||
/* 0x04 */ AnimationHeader* unk_4;
|
||||
/* 0x08 */ SkelAnime* skelanime;
|
||||
} Animation; // size = 0x0C
|
||||
|
||||
char* Graphics_ClearPrintBuffer(char *buf, s32 fill, s32 len);
|
||||
s32 Graphics_Printf(const char *fmt, ...);
|
||||
void Texture_Scroll(void *texture, s32 width, s32 height, u8 mode);
|
||||
void Texture_Mottle(void *dst, void *src, u8 mode);
|
||||
s32 Animation_GetLimbIndex(Limb* limb, Limb** skeleton);
|
||||
void Animation_DrawLimb(s32 mode, Limb * limb, Limb* *skeleton, Vec3f* jointTable, OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, void* data);
|
||||
void Animation_DrawSkeleton(s32 mode, Limb** skeletonSegment, Vec3f* jointTable, OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, void* data, Matrix* transform);
|
||||
s16 Animation_GetFrameData(AnimationHeader *animationSegmemt, s32 frame, Vec3f *frameTable);
|
||||
s16 Animation_GetFrameCount(AnimationHeader *animationSegment);
|
||||
void Animation_FindBoundingBox(Gfx* dList, s32 len, Vec3f *min, Vec3f *max, s32 *vtxFound, s32 *vtxCount, Vtx* *vtxList);
|
||||
void Animation_GetDListBoundingBox(Gfx *dList, s32 len, Vec3f *min, Vec3f *max);
|
||||
void Animation_GetSkeletonBoundingBox(Limb **skeletonSegment, AnimationHeader *animationSegment, s32 frame, Vec3f *min, Vec3f* max);
|
||||
f32 Math_SmoothStepToF(f32 *value, f32 target, f32 scale, f32 maxStep, f32 minStep);
|
||||
f32 Math_SmoothStepToAngle(f32 *angle, f32 target, f32 scale, f32 maxStep, f32 minStep);
|
||||
void Math_SmoothStepToVec3fArray(Vec3f *src, Vec3f *dst, s32 mode, s32 count, f32 scale, f32 maxStep, f32 minStep);
|
||||
s32 Math_PursueVec3f(Vec3f *pos, Vec3f *target, Vec3f *rot, f32 stepSize, f32 scaleTurn, f32 maxTurn, f32 dist);
|
||||
void TextureRect_4bCI(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_4bCI_Flip(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_4bCI_MirX(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_4bCI_MirY(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bCI(Gfx **gfxPtr, void* texture, void* palette, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bRGBA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bRGBA_MirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_FilpMirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_FilpMirY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_MirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_8bIA_MirY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA_MirX(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA_MirY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_16bIA_MirXY(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void TextureRect_32bRGBA(Gfx **gfxPtr, void* texture, u32 width, u32 height, f32 xPos, f32 yPos, f32 xScale, f32 yScale);
|
||||
void Graphics_FillRectangle(Gfx **gfxPtr, s32 ulx, s32 uly, s32 lrx, s32 lry, u8 r, u8 g, u8 b, u8 a);
|
||||
void Math_Vec3fFromAngles(Vec3f *step, f32 xRot, f32 yRot, f32 stepsize);
|
||||
f32 Math_RadToDeg(f32 rAngle);
|
||||
u16* func_8009F7B4(Gfx **gfxPtr, u8 width, u8 height);
|
||||
void Graphics_DisplayHUDNumber(s32 xPos, s32 yPos, s32 number);
|
||||
void Graphics_DisplaySmallNumber(s32 xPos, s32 yPos, s32 number);
|
||||
void Graphics_DisplayLargeText(s32 xPos, s32 yPos, f32 xScale, f32 yScale, char *text);
|
||||
s32 Graphics_GetLargeTextWidth(char *text);
|
||||
void Graphics_DisplayLargeNumber(s32 xPos, s32 yPos, s32 number);
|
||||
void Graphics_DisplaySmallText(s32 xPos, s32 yPos, f32 xScale, f32 yScale, char *text);
|
||||
s32 Graphics_GetSmallTextWidth(char *text);
|
||||
void func_800A1540(s32 arg0, s32 arg1, s32 arg2, s32 arg3);
|
||||
void func_800A1558(f32 weight, u16 size, void *src1, void *src2, void *dst);
|
||||
|
||||
void RCP_SetupDL(Gfx** gfxP, s16 i);
|
||||
void RCP_SetFog(Gfx** gfxP, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_0(void);
|
||||
void RCP_SetupDL_1(void);
|
||||
void RCP_SetupDL_11(void);
|
||||
void RCP_SetupDL_12(void);
|
||||
void RCP_SetupDL_2(void);
|
||||
void RCP_SetupDL_3(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_4(void);
|
||||
void RCP_SetupDL_7(void);
|
||||
void RCP_SetupDL_9(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_8(void);
|
||||
void RCP_SetupDL_13(void);
|
||||
void RCP_SetupDL_14(void);
|
||||
void RCP_SetupDL_17(void);
|
||||
void RCP_SetupDL_36(void);
|
||||
void RCP_SetupDL_52(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_62(void);
|
||||
void RCP_SetupDL_37(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_18(void);
|
||||
void RCP_SetupDL_20(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_19(void);
|
||||
void RCP_SetupDL_21(void);
|
||||
void RCP_SetupDL_33(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_34(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_40(void);
|
||||
void RCP_SetupDL_42(void);
|
||||
void RCP_SetupDL_43(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_60(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_47(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_66(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_55(void);
|
||||
void RCP_SetupDL_57(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_45(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_46(void);
|
||||
void RCP_SetupDL_41(void);
|
||||
void RCP_SetupDL_64(void);
|
||||
void RCP_SetupDL_64_2(void);
|
||||
void RCP_SetupDL_23(void);
|
||||
void RCP_SetupDL_29(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_30(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
void RCP_SetupDL_27(void);
|
||||
void RCP_SetupDL_32(void);
|
||||
void RCP_SetupDL_73(void);
|
||||
void RCP_SetupDL_76(void);
|
||||
void RCP_SetupDL_74(void);
|
||||
void RCP_SetupDL_78(void);
|
||||
void RCP_SetupDL_81(void);
|
||||
void RCP_SetupDL_48(void);
|
||||
void RCP_SetupDL_68(void);
|
||||
void RCP_SetupDL_49(void);
|
||||
void RCP_SetupDL_44(void);
|
||||
void RCP_SetupDL_50(void);
|
||||
void RCP_SetupDL_61(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
|
||||
|
||||
#endif
|
||||
|
@ -17,41 +17,9 @@
|
||||
#include "macros.h"
|
||||
#include "sf64math.h"
|
||||
#include "sf64mesg.h"
|
||||
#include "sf64object.h"
|
||||
#include "sf64level.h"
|
||||
#include "sf64thread.h"
|
||||
#include "gfx.h"
|
||||
|
||||
typedef enum {
|
||||
SI_READ_CONTROLLER = 10,
|
||||
SI_READ_SAVE,
|
||||
SI_WRITE_SAVE,
|
||||
SI_RUMBLE,
|
||||
SI_SAVE_FAILED,
|
||||
SI_SAVE_SUCCESS,
|
||||
SI_CONT_READ_DONE,
|
||||
} SerialMesg;
|
||||
|
||||
#define MSG_QUEUE_EMPTY -1
|
||||
|
||||
#define FAULT_MESG_BREAK 1
|
||||
#define FAULT_MESG_FAULT 2
|
||||
|
||||
#define TASK_MESG_1 1
|
||||
#define TASK_MESG_2 2
|
||||
|
||||
#define EVENT_MESG_SP 1
|
||||
#define EVENT_MESG_DP 2
|
||||
#define EVENT_MESG_VI 3
|
||||
#define EVENT_MESG_PRENMI 4
|
||||
|
||||
typedef enum {
|
||||
THREAD_ID_SYSTEM,
|
||||
THREAD_ID_IDLE,
|
||||
THREAD_ID_FAULT,
|
||||
THREAD_ID_MAIN,
|
||||
THREAD_ID_4,
|
||||
THREAD_ID_AUDIO,
|
||||
THREAD_ID_GRAPHICS,
|
||||
THREAD_ID_7,
|
||||
THREAD_ID_SERIAL,
|
||||
} ThreadID;
|
||||
|
||||
#endif // GLOBAL_H
|
||||
|
@ -64,7 +64,7 @@ extern s32 D_80161718;
|
||||
extern s32 D_8016171C;
|
||||
extern s32 D_801617E8[];
|
||||
extern s32 D_801617FC;
|
||||
extern s32 D_80161A98;
|
||||
extern s32 gHitCount;
|
||||
extern s32 D_80177838;
|
||||
extern s32 D_80177854;
|
||||
extern s32 D_80177880;
|
||||
@ -75,7 +75,7 @@ extern s32 D_80177B48;
|
||||
extern s32 D_80177B50[];
|
||||
extern s32 D_80177B70[];
|
||||
extern s32 D_80177E7C;
|
||||
extern s32 D_80178234;
|
||||
extern s32 gCurrentLevel;
|
||||
extern s32 D_80178750;
|
||||
|
||||
#endif
|
||||
|
@ -92,33 +92,33 @@ typedef struct {
|
||||
|
||||
extern DmaEntry gDmaTable[]; // 178A70
|
||||
|
||||
extern OverlayInit sLogoOverlay[1]; // sets segment 15 with no overlay
|
||||
extern OverlayInit sCreditsOverlay_6[6]; // overlay EF0260
|
||||
extern OverlayInit sEBFBE0_Overlay1[1]; // EBFBE0
|
||||
extern OverlayInit sEBFBE0_Overlay2[1]; // EBFBE0
|
||||
extern OverlayInit sEBFBE0_Overlay3[1]; // EBFBE0
|
||||
extern OverlayInit sEBFBE0_Overlay4[1]; // EBFBE0
|
||||
extern OverlayInit sDF4260_Overlay1[1]; // DF4260
|
||||
extern OverlayInit sE08400_Overlay1_2[2]; // E08400
|
||||
extern OverlayInit sE6A810_Overlay1_6[6]; // E6A810
|
||||
extern OverlayInit sE08400_Overlay2_2[2]; // E08400
|
||||
extern OverlayInit sE51970_Overlay1[1]; // E51970
|
||||
extern OverlayInit sE16C50_Overlay1[1]; // E16C50
|
||||
extern OverlayInit sE16C50_Overlay2[1]; // E16C50
|
||||
extern OverlayInit sE51970_Overlay2_2[2]; // E51970
|
||||
extern OverlayInit sE16C50_Overlay3[1]; // E16C50
|
||||
extern OverlayInit sE9F1D0_Overlay1[1]; // E9F1D0
|
||||
extern OverlayInit sE16C50_Overlay4[1]; // E16C50
|
||||
extern OverlayInit sE16C50_Overlay5[1]; // E16C50
|
||||
extern OverlayInit sDF4260_Overlay2[1]; // DF4260
|
||||
extern OverlayInit sE9F1D0_Overlay2[1]; // E9F1D0
|
||||
extern OverlayInit sE9F1D0_Overlay3_2[2]; // E9F1D0
|
||||
extern OverlayInit sE08400_Overlay3[1]; // E08400
|
||||
extern OverlayInit sE51970_Overlay3[1]; // E51970
|
||||
extern OverlayInit sE51970_Overlay4[1]; // E51970
|
||||
extern OverlayInit sE6A810_Overlay2_2[2]; // E6A810
|
||||
extern OverlayInit sDF4260_Overlay3[1]; // DF4260
|
||||
extern OverlayInit sE08400_Overlay4_2[2]; // E08400
|
||||
extern OverlayInit sNoOvl_Logo[1]; // sets segment 15 with no overlay
|
||||
extern OverlayInit sOvlEF0260_Credits[6]; // overlay EF0260
|
||||
extern OverlayInit sOvlEBFBE0_Title[1]; // EBFBE0
|
||||
extern OverlayInit sOvlEBFBE0_Menu[1]; // EBFBE0
|
||||
extern OverlayInit sOvlEBFBE0_Map[1]; // EBFBE0
|
||||
extern OverlayInit sOvlEBFBE0_State5[1]; // EBFBE0
|
||||
extern OverlayInit sOvlDF4260_Corneria[1]; // DF4260
|
||||
extern OverlayInit sOvlE08400_Meteo[2]; // E08400
|
||||
extern OverlayInit sOvlE6A810_Titania[6]; // E6A810
|
||||
extern OverlayInit sOvlE08400_SectorX[2]; // E08400
|
||||
extern OverlayInit sOvlE51970_SectorZ[1]; // E51970
|
||||
extern OverlayInit sOvlE16C50_Aquas[1]; // E16C50
|
||||
extern OverlayInit sOvlE16C50_Area6[1]; // E16C50
|
||||
extern OverlayInit sOvlE51970_Fortuna[2]; // E51970
|
||||
extern OverlayInit sOvlE16C50_Unk4[1]; // E16C50
|
||||
extern OverlayInit sOvlE9F1D0_SectorY[1]; // E9F1D0
|
||||
extern OverlayInit sOvlE16C50_Solar[1]; // E16C50
|
||||
extern OverlayInit sOvlE16C50_Zoness[1]; // E16C50
|
||||
extern OverlayInit sOvlDF4260_Venom1[1]; // DF4260
|
||||
extern OverlayInit sOvlE9F1D0_Venom2[1]; // E9F1D0
|
||||
extern OverlayInit sOvlE9F1D0_VenomSW[2]; // E9F1D0
|
||||
extern OverlayInit sOvlE08400_Setup20[1]; // E08400
|
||||
extern OverlayInit sOvlE51970_Bolse[1]; // E51970
|
||||
extern OverlayInit sOvlE51970_Katina[1]; // E51970
|
||||
extern OverlayInit sOvlE6A810_Macbeth[2]; // E6A810
|
||||
extern OverlayInit sOvlDF4260_Training[1]; // DF4260
|
||||
extern OverlayInit sOvlE08400_Versus[2]; // E08400
|
||||
extern OverlayInit sEFFA40_Overlay[1]; // EFFA40
|
||||
|
||||
DECLARE_SEGMENT(makerom);
|
||||
|
86
include/sf64level.h
Normal file
86
include/sf64level.h
Normal file
@ -0,0 +1,86 @@
|
||||
#ifndef SF64_LEVEL
|
||||
#define SF64_LEVEL
|
||||
|
||||
#include "structs.h"
|
||||
|
||||
typedef enum {
|
||||
LEVELTYPE_GROUND,
|
||||
LEVELTYPE_SPACE,
|
||||
LEVELTYPE_UNK2,
|
||||
LEVELTYPE_UNK3,
|
||||
} LevelType;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ s32 type;
|
||||
/* 0x04 */ s32 unk_04;
|
||||
/* 0x08 */ u16 bgColor;
|
||||
/* 0x0A */ u16 unk_0A;
|
||||
/* 0x0C */ s32 fogR;
|
||||
/* 0x10 */ s32 fogG;
|
||||
/* 0x14 */ s32 fogB;
|
||||
/* 0x18 */ s32 fogN;
|
||||
/* 0x1C */ s32 fogF;
|
||||
/* 0x20 */ Vec3f unk_20;
|
||||
/* 0x2C */ s32 lightR;
|
||||
/* 0x30 */ s32 lightG;
|
||||
/* 0x34 */ s32 lightB;
|
||||
/* 0x38 */ s32 ambR;
|
||||
/* 0x3C */ s32 ambG;
|
||||
/* 0x40 */ s32 ambB;
|
||||
} EnvSettings; // size = 0x44?
|
||||
|
||||
typedef enum {
|
||||
OVL_SETUP_TITLE,
|
||||
OVL_SETUP_MENU,
|
||||
OVL_SETUP_MAP,
|
||||
OVL_SETUP_STATE_5,
|
||||
OVL_SETUP_CREDITS,
|
||||
OVL_SETUP_CORNERIA,
|
||||
OVL_SETUP_METEO,
|
||||
OVL_SETUP_TITANIA,
|
||||
OVL_SETUP_SECTOR_X,
|
||||
OVL_SETUP_AQUAS,
|
||||
OVL_SETUP_AREA_6,
|
||||
OVL_SETUP_FORTUNA,
|
||||
OVL_SETUP_UNK_4,
|
||||
OVL_SETUP_SECTOR_Y,
|
||||
OVL_SETUP_SOLAR,
|
||||
OVL_SETUP_ZONESS,
|
||||
OVL_SETUP_VENOM_2,
|
||||
OVL_SETUP_TRAINING,
|
||||
OVL_SETUP_VENOM_1,
|
||||
OVL_SETUP_KATINA,
|
||||
OVL_SETUP_20,
|
||||
OVL_SETUP_MACBETH,
|
||||
OVL_SETUP_BOLSE,
|
||||
OVL_SETUP_SECTOR_Z,
|
||||
OVL_SETUP_VENOM_SW,
|
||||
OVL_SETUP_VERSUS = 50,
|
||||
OVL_SETUP_LOGO = 99,
|
||||
} OverlaySetups;
|
||||
|
||||
typedef enum {
|
||||
LEVEL_CORNERIA,
|
||||
LEVEL_METEO,
|
||||
LEVEL_SECTOR_X,
|
||||
LEVEL_AREA_6,
|
||||
LEVEL_UNK_4,
|
||||
LEVEL_SECTOR_Y,
|
||||
LEVEL_VENOM_1,
|
||||
LEVEL_SOLAR,
|
||||
LEVEL_ZONESS,
|
||||
LEVEL_VENOM_2,
|
||||
LEVEL_TRAINING,
|
||||
LEVEL_MACBETH,
|
||||
LEVEL_TITANIA,
|
||||
LEVEL_AQUAS,
|
||||
LEVEL_FORTUNA,
|
||||
LEVEL_UNK_15,
|
||||
LEVEL_KATINA,
|
||||
LEVEL_BOLSE,
|
||||
LEVEL_SECTOR_Z,
|
||||
LEVEL_VENOM_SW,
|
||||
LEVEL_VERSUS,
|
||||
} LevelId;
|
||||
|
||||
#endif
|
@ -9,6 +9,11 @@ typedef struct {
|
||||
/* 0x8 */ f32 z;
|
||||
} Vec3f; // size = 0xC
|
||||
|
||||
typedef struct {
|
||||
Vec3f normal;
|
||||
f32 dist;
|
||||
} Plane;
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ s16 x;
|
||||
/* 0x2 */ s16 y;
|
||||
@ -26,4 +31,53 @@ typedef union {
|
||||
// u64 force_struct_alignment;
|
||||
} Matrix; // size = 0x40
|
||||
|
||||
f32 Math_ModF(f32 value, f32 mod);
|
||||
void Rand_Init(void);
|
||||
f32 Rand_ZeroOne(void);
|
||||
void Rand_SetSeed(s32 seed1, s32 seed2, s32 seed3);
|
||||
f32 Rand_ZeroOneSeeded(void);
|
||||
f32 Math_Atan2F(f32 y, f32 x);
|
||||
f32 Math_Atan2F_XY(f32 x, f32 y);
|
||||
f32 Math_Atan2F_XYAlt(f32 x, f32 y);
|
||||
f32 Math_PowF(f32 base, s32 exp);
|
||||
void Math_MinMax(s32* min, s32* max, s32 val1, s32 val2, s32 val3);
|
||||
|
||||
f32 Math_SmoothStepToF(f32 *value, f32 target, f32 scale, f32 maxStep, f32 minStep);
|
||||
f32 Math_SmoothStepToAngle(f32 *angle, f32 target, f32 scale, f32 maxStep, f32 minStep);
|
||||
void Math_SmoothStepToVec3fArray(Vec3f *src, Vec3f *dst, s32 mode, s32 count, f32 scale, f32 maxStep, f32 minStep);
|
||||
s32 Math_PursueVec3f(Vec3f *pos, Vec3f *target, Vec3f *rot, f32 stepSize, f32 scaleTurn, f32 maxTurn, f32 dist);
|
||||
void Math_Vec3fFromAngles(Vec3f *step, f32 xRot, f32 yRot, f32 stepsize);
|
||||
f32 Math_RadToDeg(f32 rAngle);
|
||||
|
||||
void Matrix_Copy(Matrix*, Matrix*);
|
||||
void Matrix_Push(Matrix** mtxStack);
|
||||
void Matrix_Pop(Matrix** mtxStack);
|
||||
void Matrix_Mult(Matrix*, Matrix*, u8);
|
||||
void Matrix_Translate(Matrix*, f32, f32, f32, u8);
|
||||
void Matrix_Scale(Matrix*, f32, f32, f32, u8);
|
||||
void Matrix_RotateX(Matrix*, f32, u8);
|
||||
void Matrix_RotateY(Matrix*, f32, u8);
|
||||
void Matrix_RotateZ(Matrix*, f32, u8);
|
||||
void Matrix_RotateAxis(Matrix*, f32, f32, f32, f32, u8);
|
||||
void Matrix_ToMtx(Mtx *dest);
|
||||
void Matrix_FromMtx(Mtx *src, Matrix *dest);
|
||||
void Matrix_MultVec3f(Matrix*, Vec3f*, Vec3f*);
|
||||
void Matrix_MultVec3fNoTranslate(Matrix*, Vec3f*, Vec3f*);
|
||||
void Matrix_GetYRPAngles(Matrix*, Vec3f*);
|
||||
void Matrix_GetXYZAngles(Matrix*, Vec3f*);
|
||||
void Matrix_LookAt(Matrix*, f32, f32, f32, f32, f32, f32, f32, f32, f32, u8);
|
||||
void Matrix_SetGfxMtx(Gfx**);
|
||||
|
||||
f32 Math_FAtanF(f32);
|
||||
f32 Math_FAtan2F(f32, f32);
|
||||
f32 Math_FAsinF(f32);
|
||||
f32 Math_FAcosF(f32);
|
||||
|
||||
f32 __sinf(f32);
|
||||
f32 __cosf(f32);
|
||||
|
||||
s64 __ull_div(s64, s64);
|
||||
s64 __ll_mul(s64, s64);
|
||||
s64 __ll_rshift(s64, s64);
|
||||
|
||||
#endif
|
||||
|
@ -21,6 +21,87 @@ bool Message_DisplayText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 len)
|
||||
void Message_DisplayScrollingText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 yRangeHi, s32 yRangeLo, s32 len);
|
||||
bool Message_IsPrintingChar(u16* msgPtr, s32 charPos);
|
||||
|
||||
typedef enum {
|
||||
RCID_FOX = 0,
|
||||
RCID_FOX_OPEN,
|
||||
RCID_FOX_RED = 5,
|
||||
RCID_FOX_RED_OPEN,
|
||||
RCID_STATIC = 2,
|
||||
RCID_STATIC_FLIP,
|
||||
RCID_FALCO = 10,
|
||||
RCID_FALCO_OPEN,
|
||||
RCID_FALCO_RED = 15,
|
||||
RCID_FALCO_RED_OPEN,
|
||||
RCID_SLIPPY = 20,
|
||||
RCID_SLIPPY_OPEN,
|
||||
RCID_SLIPPY_RED = 25,
|
||||
RCID_SLIPPY_RED_OPEN,
|
||||
RCID_PEPPY = 30,
|
||||
RCID_PEPPY_OPEN,
|
||||
RCID_PEPPY_RED = 35,
|
||||
RCID_PEPPY_RED_OPEN,
|
||||
RCID_KATT = 40,
|
||||
RCID_KATT_OPEN,
|
||||
RCID_ANDROSS = 50,
|
||||
RCID_ANDROSS_OPEN,
|
||||
RCID_ANDROSS_RED = 55,
|
||||
RCID_ANDROSS_RED_OPEN,
|
||||
RCID_JAMES = 60,
|
||||
RCID_JAMES_OPEN,
|
||||
RCID_PEPPER = 70,
|
||||
RCID_PEPPER_OPEN,
|
||||
RCID_BOSS_CORNERIA = 80,
|
||||
RCID_BOSS_CORNERIA_OPEN,
|
||||
RCID_ROB64 = 90,
|
||||
RCID_ROB64_OPEN,
|
||||
RCID_ROB64_RED = 95,
|
||||
RCID_ROB64_RED_OPEN,
|
||||
RCID_BOSS_METEO = 100,
|
||||
RCID_BOSS_METEO_OPEN,
|
||||
RCID_BOSS_CORNERIA2 = 110,
|
||||
RCID_BOSS_CORNERIA2_OPEN,
|
||||
RCID_BOSS_AREA6 = 120,
|
||||
RCID_BOSS_AREA6_OPEN,
|
||||
RCID_BOSS_ZONESS = 130,
|
||||
RCID_BOSS_ZONESS_OPEN,
|
||||
RCID_ROB64_2 = 140,
|
||||
RCID_ROB64_2_OPEN,
|
||||
RCID_BOSS_SECTORX = 150,
|
||||
RCID_BOSS_SECTORX_OPEN,
|
||||
RCID_BOSS_SECTORY = 160,
|
||||
RCID_BOSS_SECTORY_OPEN,
|
||||
RCID_BILL = 170,
|
||||
RCID_BILL_OPEN,
|
||||
RCID_CAIMAN_AREA6 = 180,
|
||||
RCID_CAIMAN_AREA6_OPEN,
|
||||
RCID_BOSS_MACBETH = 190,
|
||||
RCID_BOSS_MACBETH_OPEN,
|
||||
RCID_WOLF = 200,
|
||||
RCID_WOLF_OPEN,
|
||||
RCID_PIGMA = 210,
|
||||
RCID_PIGMA_OPEN,
|
||||
RCID_LEON = 220,
|
||||
RCID_LEON_OPEN,
|
||||
RCID_ANDREW = 230,
|
||||
RCID_ANDREW_OPEN,
|
||||
RCID_WOLF_2 = 240,
|
||||
RCID_WOLF_2_OPEN,
|
||||
RCID_PIGMA_2 = 250,
|
||||
RCID_PIGMA_2_OPEN,
|
||||
RCID_LEON_2 = 260,
|
||||
RCID_LEON_2_OPEN,
|
||||
RCID_ANDREW_2 = 270,
|
||||
RCID_ANDREW_2_OPEN,
|
||||
RCID_ROB64_TITLE = 300,
|
||||
RCID_ROB64_TITLE_OPEN,
|
||||
RCID_PEPPER_TITLE = 310,
|
||||
RCID_PEPPER_TITLE_OPEN,
|
||||
RCID_TRAINING = 350,
|
||||
RCID_TRAINING_OPEN,
|
||||
RCID_FOX_EXPERT = 400,
|
||||
RCID_FOX_EXPERT_OPEN,
|
||||
} RadioCharacterId;
|
||||
|
||||
typedef enum {
|
||||
MSGCHAR_END,
|
||||
MSGCHAR_NWL,
|
||||
@ -30,10 +111,10 @@ typedef enum {
|
||||
MSGCHAR_NP5,
|
||||
MSGCHAR_NP6,
|
||||
MSGCHAR_NP7,
|
||||
MSGCHAR_NP8,
|
||||
MSGCHAR_NP9,
|
||||
MSGCHAR_NPA,
|
||||
MSGCHAR_NPB,
|
||||
MSGCHAR_PRI0,
|
||||
MSGCHAR_PRI1,
|
||||
MSGCHAR_PRI2,
|
||||
MSGCHAR_PRI3,
|
||||
MSGCHAR_SPC,
|
||||
MSGCHAR_QSP,
|
||||
MSGCHAR_HSP,
|
||||
|
720
include/sf64object.h
Normal file
720
include/sf64object.h
Normal file
@ -0,0 +1,720 @@
|
||||
#ifndef SF64_OBJECT
|
||||
#define SF64_OBJECT
|
||||
|
||||
#include "libultra/ultra64.h"
|
||||
#include "sf64math.h"
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ f32 zPos1;
|
||||
/* 0x04 */ s16 zPos2;
|
||||
/* 0x06 */ s16 xPos;
|
||||
/* 0x08 */ s16 yPos;
|
||||
/* 0x0A */ s16 unk_A;
|
||||
/* 0x0C */ s16 unk_C;
|
||||
/* 0x0E */ s16 unk_E;
|
||||
/* 0x10 */ s16 id;
|
||||
} ObjectInit; // size = 0x14
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Gfx* unk_00;
|
||||
/* 0x04 */ f32* unk_04;
|
||||
/* 0x08 */ f32 unk_08;
|
||||
/* 0x0C */ f32 unk_0C;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ u8 unk_14;
|
||||
/* 0x15 */ u8 unk_15;
|
||||
/* 0x16 */ u8 unk_16;
|
||||
/* 0x17 */ u8 unk_17;
|
||||
/* 0x18 */ f32 unk_18;
|
||||
/* 0x1C */ u8 unk_1C;
|
||||
} UnkStruct_D003C; // size = 0x20
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 status;
|
||||
/* 0x02 */ u16 id;
|
||||
/* 0x04 */ Vec3f pos;
|
||||
/* 0x10 */ Vec3f rot;
|
||||
} Object; // size = 0x1C
|
||||
|
||||
typedef void (*ObjectFunc)(Object*);
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ union {
|
||||
ObjectFunc draw;
|
||||
Gfx* dList;
|
||||
};
|
||||
/* 0x00 */ u8 drawType;
|
||||
/* 0x08 */ ObjectFunc action; // argument must have object type.
|
||||
/* 0x0C */ f32* unk_0C; // some sort of script?
|
||||
/* 0x10 */ f32 unk_10; // z coordinate of something
|
||||
/* 0x14 */ s16 unk_14; // can be -1, 0, 1
|
||||
/* 0x16 */ s16 unk_16; // can be 0, 1, 2
|
||||
/* 0x18 */ u8 unk_18; // damage?
|
||||
/* 0x19 */ u8 unk_19; // can be 0, 1, 2
|
||||
/* 0x1C */ f32 unk_1C; // y offset of something
|
||||
/* 0x20 */ u8 unk_20; // increment for something
|
||||
} ObjectStruct_1C; // size = 0x24
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ char pad1C[4];
|
||||
/* 0x20 */ Vec3f unk_20;
|
||||
/* 0x2C */ char pad2C[0xC];
|
||||
/* 0x38 */ Vec3f unk_38;
|
||||
/* 0x44 */ char pad44[0x14];
|
||||
/* 0x58 */ s32 unk_58;
|
||||
/* 0x5C */ char pad5C[4];
|
||||
/* 0x60 */ s32 unk_60;
|
||||
/* 0x64 */ s32 unk_64;
|
||||
/* 0x68 */ s32 unk_68;
|
||||
/* 0x6C */ char pad6C[4];
|
||||
} Object_70; // size = 0x70
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ char unk40[0x8];
|
||||
/* 0x48 */ Vec3f unk_48;
|
||||
/* 0x54 */ f32 unk_54;
|
||||
} Object_58; // size = 0x58
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ s32 unk_44;
|
||||
/* 0x48 */ s32 unk_48;
|
||||
/* 0x4C */ s32 unk_4C;
|
||||
/* 0x50 */ u8 unk_50;
|
||||
/* 0x51 */ char pad51[3];
|
||||
/* 0x54 */ s32 unk_54;
|
||||
/* 0x58 */ char pad58[8];
|
||||
/* 0x60 */ f32 unk_60;
|
||||
/* 0x64 */ Vec3f unk_64;
|
||||
/* 0x70 */ Vec3f unk_70;
|
||||
/* 0x7C */ char pad7C[4];
|
||||
} Object_80; // size = 0x80
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ char pad44[1];
|
||||
/* 0x45 */ u8 unk_45; // could be short loaded as u8
|
||||
/* 0x46 */ s8 unk_46;
|
||||
/* 0x48 */ s32 unk_48;
|
||||
} Object_4C; // size = 0x4C
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ s16 unk_44;
|
||||
/* 0x46 */ u8 unk_46;
|
||||
/* 0x48 */ u16 unk_48;
|
||||
/* 0x4A */ u16 unk_4A;
|
||||
/* 0x4C */ s8 unk_4C;
|
||||
/* 0x4E */ s16 unk_4E;
|
||||
/* 0x50 */ f32 unk_50;
|
||||
/* 0x54 */ f32 unk_54;
|
||||
/* 0x58 */ f32 unk_58;
|
||||
/* 0x5C */ Vec3f unk_5C;
|
||||
/* 0x68 */ f32 unk_68;
|
||||
} Object_6C; // size 0x6C
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ s16 unk_44;
|
||||
/* 0x46 */ s16 unk_46;
|
||||
/* 0x48 */ s16 unk_48;
|
||||
/* 0x4A */ s16 unk_4A;
|
||||
/* 0x4C */ u8 unk_4C;
|
||||
/* 0x4E */ s16 unk_4E;
|
||||
/* 0x50 */ u16 unk_50;
|
||||
/* 0x52 */ char pad52[0x2];
|
||||
/* 0x54 */ Vec3f unk_54;
|
||||
/* 0x60 */ Vec3f unk_60;
|
||||
/* 0x6C */ f32 unk_6C;
|
||||
/* 0x70 */ f32 unk_70;
|
||||
/* 0x74 */ Gfx* unk_74;
|
||||
/* 0x78 */ s16 unk_78;
|
||||
/* 0x7A */ s16 unk_7A;
|
||||
/* 0x7C */ char pad7C[4];
|
||||
/* 0x80 */ Vec3f unk_80;
|
||||
} Object_8C; // size 0x8C
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ Object obj;
|
||||
/* 0x01C */ ObjectStruct_1C unk_01C;
|
||||
/* 0x040 */ s32 unk_040;
|
||||
/* 0x044 */ char unk_44[0xA];
|
||||
/* 0x04E */ s16 unk_04E;
|
||||
/* 0x050 */ s16 unk_050;
|
||||
/* 0x052 */ s16 unk_052;
|
||||
/* 0x054 */ s16 unk_054;
|
||||
/* 0x056 */ s16 unk_056;
|
||||
/* 0x058 */ s16 unk_058;
|
||||
/* 0x05A */ s16 unk_05A;
|
||||
/* 0x05C */ s16 unk_05C;
|
||||
/* 0x05E */ u8 unk_05E;
|
||||
/* 0x05F */ char pad5F[3];
|
||||
/* 0x062 */ s8 unk_062;
|
||||
/* 0x063 */ char pad63[1];
|
||||
/* 0x064 */ s16 unk_064;
|
||||
/* 0x066 */ s16 unk_066;
|
||||
/* 0x068 */ f32 unk_068;
|
||||
/* 0x06C */ f32 unk_06C;
|
||||
/* 0x070 */ f32 unk_070;
|
||||
/* 0x074 */ f32 unk_074;
|
||||
/* 0x078 */ char pad78[0xC];
|
||||
/* 0x084 */ f32 unk_084;
|
||||
/* 0x088 */ s16 unk_088;
|
||||
/* 0x08A */ s16 unk_08A;
|
||||
/* 0x08C */ char pad8C[6];
|
||||
/* 0x092 */ u16 unk_092;
|
||||
/* 0x094 */ char pad94[0x12];
|
||||
/* 0x0A6 */ s16 unk_0A6;
|
||||
/* 0x0A8 */ char padA8[6];
|
||||
/* 0x0AE */ s16 unk_0AE;
|
||||
/* 0x0B0 */ char padB0[0x16];
|
||||
/* 0x0C6 */ u16 unk_0C6;
|
||||
/* 0x0C8 */ char padC8[1];
|
||||
/* 0x0C9 */ u8 unk_0C9;
|
||||
/* 0x0CA */ char padCA[6];
|
||||
/* 0x0D0 */ s16 unk_0D0;
|
||||
/* 0x0D2 */ char padD2[4];
|
||||
/* 0x0D6 */ s16 unk_0D6;
|
||||
/* 0x0D8 */ char padD8[4];
|
||||
/* 0x0DC */ f32 unk_0DC;
|
||||
/* 0x0E0 */ f32 unk_0E0;
|
||||
/* 0x0E4 */ f32 unk_0E4;
|
||||
/* 0x0E8 */ f32 unk_0E8;
|
||||
/* 0x0EC */ f32 unk_0EC;
|
||||
/* 0x0F0 */ f32 unk_0F0;
|
||||
/* 0x0F4 */ f32 unk_0F4;
|
||||
/* 0x0F8 */ f32 unk_0F8;
|
||||
/* 0x0FC */ f32 unk_0FC;
|
||||
/* 0x100 */ Vec3f unk_100;
|
||||
/* 0x10C */ char pad10C[4];
|
||||
/* 0x110 */ f32 unk_110;
|
||||
/* 0x114 */ f32 unk_114;
|
||||
/* 0x118 */ char pad118[0x7C];
|
||||
/* 0x194 */ f32 unk_194;
|
||||
/* 0x198 */ f32 unk_198;
|
||||
/* 0x19C */ f32 unk_19C;
|
||||
/* 0x1A0 */ char pad1A0[0x168];
|
||||
/* 0x308 */ Vec3f unk_308;
|
||||
/* 0x314 */ char pad314[0xE4];
|
||||
/* 0x3F8 */ f32 unk_3F8;
|
||||
/* 0x3FC */ Vec3f unk_3FC;
|
||||
} Object_408; // size = 0x408
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ Object obj;
|
||||
/* 0x01C */ ObjectStruct_1C unk_01C;
|
||||
/* 0x040 */ s32 unk_040;
|
||||
/* 0x044 */ u8 unk_044;
|
||||
/* 0x046 */ s16 unk_046;
|
||||
/* 0x048 */ s16 unk_048;
|
||||
/* 0x04A */ s16 unk_04A;
|
||||
/* 0x04C */ s16 unk_04C;
|
||||
/* 0x04E */ s16 unk_04E;
|
||||
/* 0x050 */ bool unk_050;
|
||||
/* 0x054 */ bool unk_054;
|
||||
/* 0x058 */ s32 unk_058;
|
||||
/* 0x05C */ s32 unk_05C;
|
||||
/* 0x060 */ s32 unk_060;
|
||||
/* 0x064 */ s32 unk_064;
|
||||
/* 0x068 */ s32 unk_068;
|
||||
/* 0x06C */ s32 unk_06C;
|
||||
/* 0x070 */ s32 unk_070;
|
||||
/* 0x074 */ s32 unk_074;
|
||||
/* 0x078 */ s32 unk_078;
|
||||
/* 0x07C */ s32 unk_07C;
|
||||
/* 0x080 */ s32 unk_080;
|
||||
/* 0x084 */ s32 unk_084;
|
||||
/* 0x088 */ s32 unk_088;
|
||||
/* 0x08C */ s32 unk_08C;
|
||||
/* 0x090 */ s32 unk_090;
|
||||
/* 0x094 */ s32 unk_094;
|
||||
/* 0x098 */ s32 unk_098;
|
||||
/* 0x09C */ s32 unk_09C;
|
||||
/* 0x0A0 */ char padA0[0x10];
|
||||
/* 0x0B0 */ s32 unk_0B0;
|
||||
/* 0x0B4 */ s16 unk_0B4;
|
||||
/* 0x0B6 */ s16 unk_0B6;
|
||||
/* 0x0B8 */ s16 unk_0B8;
|
||||
/* 0x0BA */ char pad0BA[0x2];
|
||||
/* 0x0BC */ u16 unk_0BC;
|
||||
/* 0x0BC */ u16 unk_0BE;
|
||||
/* 0x0C0 */ u16 unk_0C0;
|
||||
/* 0x0C2 */ u16 unk_0C2;
|
||||
/* 0x0C4 */ u16 unk_0C4;
|
||||
/* 0x0C6 */ u16 unk_0C6;
|
||||
/* 0x0C8 */ u8 unk_0C8;
|
||||
/* 0x0C9 */ u8 unk_0C9;
|
||||
/* 0x0C9 */ u8 unk_0CA[4];
|
||||
/* 0x0CE */ s16 unk_0CE;
|
||||
/* 0x0D0 */ s8 unk_0D0;
|
||||
/* 0x0D1 */ s16 unk_0D2;
|
||||
/* 0x0D4 */ s16 unk_0D4;
|
||||
/* 0x0D6 */ u16 unk_0D6;
|
||||
/* 0x0D8 */ Vec3f unk_0D8;
|
||||
/* 0x0E4 */ s16 unk_0E4;
|
||||
/* 0x0E6 */ s16 unk_0E6;
|
||||
/* 0x0E8 */ Vec3f unk_0E8;
|
||||
/* 0x0F4 */ Vec3f unk_0F4;
|
||||
/* 0x100 */ Vec3f unk_100;
|
||||
/* 0x10C */ f32 unk_10C;
|
||||
/* 0x110 */ f32 unk_110;
|
||||
/* 0x114 */ f32 unk_114;
|
||||
/* 0x118 */ f32 unk_118;
|
||||
/* 0x11C */ f32 unk_11C;
|
||||
/* 0x120 */ f32 unk_120;
|
||||
/* 0x124 */ Vec3f unk_124;
|
||||
/* 0x130 */ f32 unk_130;
|
||||
/* 0x134 */ f32 unk_134;
|
||||
/* 0x138 */ f32 unk_138;
|
||||
/* 0x13C */ f32 unk_13C;
|
||||
/* 0x140 */ f32 unk_140;
|
||||
/* 0x144 */ f32 unk_144;
|
||||
/* 0x148 */ f32 unk_148;
|
||||
/* 0x14C */ f32 unk_14C;
|
||||
/* 0x150 */ f32 unk_150;
|
||||
/* 0x154 */ f32 unk_154;
|
||||
/* 0x158 */ f32 unk_158;
|
||||
/* 0x15C */ f32 unk_15C;
|
||||
/* 0x160 */ f32 unk_160;
|
||||
/* 0x164 */ f32 unk_164;
|
||||
/* 0x168 */ f32 unk_168;
|
||||
/* 0x16C */ f32 unk_16C;
|
||||
/* 0x170 */ f32 unk_170;
|
||||
/* 0x174 */ f32 unk_174;
|
||||
/* 0x178 */ f32 unk_178;
|
||||
/* 0x17C */ f32 unk_17C;
|
||||
/* 0x180 */ f32 unk_180;
|
||||
/* 0x184 */ f32 unk_184;
|
||||
/* 0x188 */ f32 unk_188;
|
||||
/* 0x18C */ Vec3f unk_18C[28]; // could be joint table
|
||||
/* 0x2DC */ Vec3f unk_2DC;
|
||||
/* 0x2E8 */ Vec3f unk_2E8;
|
||||
} Object_2F4; // size = 0x2F4
|
||||
|
||||
typedef enum{
|
||||
/* -1*/ OBJECT_INVALID=-1,
|
||||
/* 0 */ OBJECT_0,
|
||||
/* 1 */ OBJECT_1,
|
||||
/* 2 */ OBJECT_2,
|
||||
/* 3 */ OBJECT_3,
|
||||
/* 4 */ OBJECT_4,
|
||||
/* 5 */ OBJECT_5,
|
||||
/* 6 */ OBJECT_6,
|
||||
/* 7 */ OBJECT_7,
|
||||
/* 8 */ OBJECT_8,
|
||||
/* 9 */ OBJECT_9,
|
||||
/* 10 */ OBJECT_10,
|
||||
/* 11 */ OBJECT_11,
|
||||
/* 12 */ OBJECT_12,
|
||||
/* 13 */ OBJECT_13,
|
||||
/* 14 */ OBJECT_14,
|
||||
/* 15 */ OBJECT_15,
|
||||
/* 16 */ OBJECT_16,
|
||||
/* 17 */ OBJECT_17,
|
||||
/* 18 */ OBJECT_18,
|
||||
/* 19 */ OBJECT_19,
|
||||
/* 20 */ OBJECT_20,
|
||||
/* 21 */ OBJECT_21,
|
||||
/* 22 */ OBJECT_22,
|
||||
/* 23 */ OBJECT_23,
|
||||
/* 24 */ OBJECT_24,
|
||||
/* 25 */ OBJECT_25,
|
||||
/* 26 */ OBJECT_26,
|
||||
/* 27 */ OBJECT_27,
|
||||
/* 28 */ OBJECT_28,
|
||||
/* 29 */ OBJECT_29,
|
||||
/* 30 */ OBJECT_30,
|
||||
/* 31 */ OBJECT_31,
|
||||
/* 32 */ OBJECT_32,
|
||||
/* 33 */ OBJECT_33,
|
||||
/* 34 */ OBJECT_34,
|
||||
/* 35 */ OBJECT_35,
|
||||
/* 36 */ OBJECT_36,
|
||||
/* 37 */ OBJECT_37,
|
||||
/* 38 */ OBJECT_38,
|
||||
/* 39 */ OBJECT_39,
|
||||
/* 40 */ OBJECT_40,
|
||||
/* 41 */ OBJECT_41,
|
||||
/* 42 */ OBJECT_42,
|
||||
/* 43 */ OBJECT_43,
|
||||
/* 44 */ OBJECT_44,
|
||||
/* 45 */ OBJECT_45,
|
||||
/* 46 */ OBJECT_46,
|
||||
/* 47 */ OBJECT_47,
|
||||
/* 48 */ OBJECT_48,
|
||||
/* 49 */ OBJECT_49,
|
||||
/* 50 */ OBJECT_50,
|
||||
/* 51 */ OBJECT_51,
|
||||
/* 52 */ OBJECT_52,
|
||||
/* 53 */ OBJECT_53,
|
||||
/* 54 */ OBJECT_54,
|
||||
/* 55 */ OBJECT_55,
|
||||
/* 56 */ OBJECT_56,
|
||||
/* 57 */ OBJECT_57,
|
||||
/* 58 */ OBJECT_58,
|
||||
/* 59 */ OBJECT_59,
|
||||
/* 60 */ OBJECT_60,
|
||||
/* 61 */ OBJECT_61,
|
||||
/* 62 */ OBJECT_62,
|
||||
/* 63 */ OBJECT_63,
|
||||
/* 64 */ OBJECT_64,
|
||||
/* 65 */ OBJECT_65,
|
||||
/* 66 */ OBJECT_66,
|
||||
/* 67 */ OBJECT_67,
|
||||
/* 68 */ OBJECT_68,
|
||||
/* 69 */ OBJECT_69,
|
||||
/* 70 */ OBJECT_70,
|
||||
/* 71 */ OBJECT_71,
|
||||
/* 72 */ OBJECT_72,
|
||||
/* 73 */ OBJECT_73,
|
||||
/* 74 */ OBJECT_74,
|
||||
/* 75 */ OBJECT_75,
|
||||
/* 76 */ OBJECT_76,
|
||||
/* 77 */ OBJECT_77,
|
||||
/* 78 */ OBJECT_78,
|
||||
/* 79 */ OBJECT_79,
|
||||
/* 80 */ OBJECT_80,
|
||||
/* 81 */ OBJECT_81,
|
||||
/* 82 */ OBJECT_82,
|
||||
/* 83 */ OBJECT_83,
|
||||
/* 84 */ OBJECT_84,
|
||||
/* 85 */ OBJECT_85,
|
||||
/* 86 */ OBJECT_86,
|
||||
/* 87 */ OBJECT_87,
|
||||
/* 88 */ OBJECT_88,
|
||||
/* 89 */ OBJECT_89,
|
||||
/* 90 */ OBJECT_90,
|
||||
/* 91 */ OBJECT_91,
|
||||
/* 92 */ OBJECT_92,
|
||||
/* 93 */ OBJECT_93,
|
||||
/* 94 */ OBJECT_94,
|
||||
/* 95 */ OBJECT_95,
|
||||
/* 96 */ OBJECT_96,
|
||||
/* 97 */ OBJECT_97,
|
||||
/* 98 */ OBJECT_98,
|
||||
/* 99 */ OBJECT_99,
|
||||
/* 100 */ OBJECT_100,
|
||||
/* 101 */ OBJECT_101,
|
||||
/* 102 */ OBJECT_102,
|
||||
/* 103 */ OBJECT_103,
|
||||
/* 104 */ OBJECT_104,
|
||||
/* 105 */ OBJECT_105,
|
||||
/* 106 */ OBJECT_106,
|
||||
/* 107 */ OBJECT_107,
|
||||
/* 108 */ OBJECT_108,
|
||||
/* 109 */ OBJECT_109,
|
||||
/* 110 */ OBJECT_110,
|
||||
/* 111 */ OBJECT_111,
|
||||
/* 112 */ OBJECT_112,
|
||||
/* 113 */ OBJECT_113,
|
||||
/* 114 */ OBJECT_114,
|
||||
/* 115 */ OBJECT_115,
|
||||
/* 116 */ OBJECT_116,
|
||||
/* 117 */ OBJECT_117,
|
||||
/* 118 */ OBJECT_118,
|
||||
/* 119 */ OBJECT_119,
|
||||
/* 120 */ OBJECT_120,
|
||||
/* 121 */ OBJECT_121,
|
||||
/* 122 */ OBJECT_122,
|
||||
/* 123 */ OBJECT_123,
|
||||
/* 124 */ OBJECT_124,
|
||||
/* 125 */ OBJECT_125,
|
||||
/* 126 */ OBJECT_126,
|
||||
/* 127 */ OBJECT_127,
|
||||
/* 128 */ OBJECT_128,
|
||||
/* 129 */ OBJECT_129,
|
||||
/* 130 */ OBJECT_130,
|
||||
/* 131 */ OBJECT_131,
|
||||
/* 132 */ OBJECT_132,
|
||||
/* 133 */ OBJECT_133,
|
||||
/* 134 */ OBJECT_134,
|
||||
/* 135 */ OBJECT_135,
|
||||
/* 136 */ OBJECT_136,
|
||||
/* 137 */ OBJECT_137,
|
||||
/* 138 */ OBJECT_138,
|
||||
/* 139 */ OBJECT_139,
|
||||
/* 140 */ OBJECT_140,
|
||||
/* 141 */ OBJECT_141,
|
||||
/* 142 */ OBJECT_142,
|
||||
/* 143 */ OBJECT_143,
|
||||
/* 144 */ OBJECT_144,
|
||||
/* 145 */ OBJECT_145,
|
||||
/* 146 */ OBJECT_146,
|
||||
/* 147 */ OBJECT_147,
|
||||
/* 148 */ OBJECT_148,
|
||||
/* 149 */ OBJECT_149,
|
||||
/* 150 */ OBJECT_150,
|
||||
/* 151 */ OBJECT_151,
|
||||
/* 152 */ OBJECT_152,
|
||||
/* 153 */ OBJECT_153,
|
||||
/* 154 */ OBJECT_154,
|
||||
/* 155 */ OBJECT_155,
|
||||
/* 156 */ OBJECT_156,
|
||||
/* 157 */ OBJECT_157,
|
||||
/* 158 */ OBJECT_158,
|
||||
/* 159 */ OBJECT_159,
|
||||
/* 160 */ OBJECT_160,
|
||||
/* 161 */ OBJECT_161, // start of 4C
|
||||
/* 162 */ OBJECT_162,
|
||||
/* 163 */ OBJECT_163,
|
||||
/* 164 */ OBJECT_164,
|
||||
/* 165 */ OBJECT_165,
|
||||
/* 166 */ OBJECT_166,
|
||||
/* 167 */ OBJECT_167,
|
||||
/* 168 */ OBJECT_168,
|
||||
/* 169 */ OBJECT_169,
|
||||
/* 170 */ OBJECT_170,
|
||||
/* 171 */ OBJECT_171,
|
||||
/* 172 */ OBJECT_172,
|
||||
/* 173 */ OBJECT_173,
|
||||
/* 174 */ OBJECT_174,
|
||||
/* 175 */ OBJECT_175,
|
||||
/* 176 */ OBJECT_176, // start of 2F4
|
||||
/* 177 */ OBJECT_177,
|
||||
/* 178 */ OBJECT_178,
|
||||
/* 179 */ OBJECT_179,
|
||||
/* 180 */ OBJECT_180,
|
||||
/* 181 */ OBJECT_181,
|
||||
/* 182 */ OBJECT_182,
|
||||
/* 183 */ OBJECT_183,
|
||||
/* 184 */ OBJECT_184,
|
||||
/* 185 */ OBJECT_185,
|
||||
/* 186 */ OBJECT_186,
|
||||
/* 187 */ OBJECT_187,
|
||||
/* 188 */ OBJECT_188,
|
||||
/* 189 */ OBJECT_189,
|
||||
/* 190 */ OBJECT_190,
|
||||
/* 191 */ OBJECT_191,
|
||||
/* 192 */ OBJECT_192,
|
||||
/* 193 */ OBJECT_193,
|
||||
/* 194 */ OBJECT_194,
|
||||
/* 195 */ OBJECT_195,
|
||||
/* 196 */ OBJECT_196,
|
||||
/* 197 */ OBJECT_197,
|
||||
/* 198 */ OBJECT_198,
|
||||
/* 199 */ OBJECT_199,
|
||||
/* 200 */ OBJECT_200,
|
||||
/* 201 */ OBJECT_201,
|
||||
/* 202 */ OBJECT_202,
|
||||
/* 203 */ OBJECT_203,
|
||||
/* 204 */ OBJECT_204,
|
||||
/* 205 */ OBJECT_205,
|
||||
/* 206 */ OBJECT_206,
|
||||
/* 207 */ OBJECT_207,
|
||||
/* 208 */ OBJECT_208,
|
||||
/* 209 */ OBJECT_209,
|
||||
/* 210 */ OBJECT_210,
|
||||
/* 211 */ OBJECT_211,
|
||||
/* 212 */ OBJECT_212,
|
||||
/* 213 */ OBJECT_213,
|
||||
/* 214 */ OBJECT_214,
|
||||
/* 215 */ OBJECT_215,
|
||||
/* 216 */ OBJECT_216,
|
||||
/* 217 */ OBJECT_217,
|
||||
/* 218 */ OBJECT_218,
|
||||
/* 219 */ OBJECT_219,
|
||||
/* 220 */ OBJECT_220,
|
||||
/* 221 */ OBJECT_221,
|
||||
/* 222 */ OBJECT_222,
|
||||
/* 223 */ OBJECT_223,
|
||||
/* 224 */ OBJECT_224,
|
||||
/* 225 */ OBJECT_225,
|
||||
/* 226 */ OBJECT_226,
|
||||
/* 227 */ OBJECT_227,
|
||||
/* 228 */ OBJECT_228,
|
||||
/* 229 */ OBJECT_229,
|
||||
/* 230 */ OBJECT_230,
|
||||
/* 231 */ OBJECT_231,
|
||||
/* 232 */ OBJECT_232,
|
||||
/* 233 */ OBJECT_233,
|
||||
/* 234 */ OBJECT_234,
|
||||
/* 235 */ OBJECT_235,
|
||||
/* 236 */ OBJECT_236,
|
||||
/* 237 */ OBJECT_237,
|
||||
/* 238 */ OBJECT_238,
|
||||
/* 239 */ OBJECT_239,
|
||||
/* 240 */ OBJECT_240,
|
||||
/* 241 */ OBJECT_241,
|
||||
/* 242 */ OBJECT_242,
|
||||
/* 243 */ OBJECT_243,
|
||||
/* 244 */ OBJECT_244,
|
||||
/* 245 */ OBJECT_245,
|
||||
/* 246 */ OBJECT_246,
|
||||
/* 247 */ OBJECT_247,
|
||||
/* 248 */ OBJECT_248,
|
||||
/* 249 */ OBJECT_249,
|
||||
/* 250 */ OBJECT_250,
|
||||
/* 251 */ OBJECT_251,
|
||||
/* 252 */ OBJECT_252,
|
||||
/* 253 */ OBJECT_253,
|
||||
/* 254 */ OBJECT_254,
|
||||
/* 255 */ OBJECT_255,
|
||||
/* 256 */ OBJECT_256,
|
||||
/* 257 */ OBJECT_257,
|
||||
/* 258 */ OBJECT_258,
|
||||
/* 259 */ OBJECT_259,
|
||||
/* 260 */ OBJECT_260,
|
||||
/* 261 */ OBJECT_261,
|
||||
/* 262 */ OBJECT_262,
|
||||
/* 263 */ OBJECT_263,
|
||||
/* 264 */ OBJECT_264,
|
||||
/* 265 */ OBJECT_265,
|
||||
/* 266 */ OBJECT_266,
|
||||
/* 267 */ OBJECT_267,
|
||||
/* 268 */ OBJECT_268,
|
||||
/* 269 */ OBJECT_269,
|
||||
/* 270 */ OBJECT_270,
|
||||
/* 271 */ OBJECT_271,
|
||||
/* 272 */ OBJECT_272,
|
||||
/* 273 */ OBJECT_273,
|
||||
/* 274 */ OBJECT_274,
|
||||
/* 275 */ OBJECT_275,
|
||||
/* 276 */ OBJECT_276,
|
||||
/* 277 */ OBJECT_277,
|
||||
/* 278 */ OBJECT_278,
|
||||
/* 279 */ OBJECT_279,
|
||||
/* 280 */ OBJECT_280,
|
||||
/* 281 */ OBJECT_281,
|
||||
/* 282 */ OBJECT_282,
|
||||
/* 283 */ OBJECT_283,
|
||||
/* 284 */ OBJECT_284,
|
||||
/* 285 */ OBJECT_285,
|
||||
/* 286 */ OBJECT_286,
|
||||
/* 287 */ OBJECT_287,
|
||||
/* 288 */ OBJECT_288,
|
||||
/* 289 */ OBJECT_289,
|
||||
/* 290 */ OBJECT_290,
|
||||
/* 291 */ OBJECT_291,
|
||||
/* 292 */ OBJECT_292, // start of 408
|
||||
/* 293 */ OBJECT_293,
|
||||
/* 294 */ OBJECT_294,
|
||||
/* 295 */ OBJECT_295,
|
||||
/* 296 */ OBJECT_296,
|
||||
/* 297 */ OBJECT_297,
|
||||
/* 298 */ OBJECT_298,
|
||||
/* 299 */ OBJECT_299,
|
||||
/* 300 */ OBJECT_300,
|
||||
/* 301 */ OBJECT_301,
|
||||
/* 302 */ OBJECT_302,
|
||||
/* 303 */ OBJECT_303,
|
||||
/* 304 */ OBJECT_304,
|
||||
/* 305 */ OBJECT_305,
|
||||
/* 306 */ OBJECT_306,
|
||||
/* 307 */ OBJECT_307,
|
||||
/* 308 */ OBJECT_308,
|
||||
/* 309 */ OBJECT_309,
|
||||
/* 310 */ OBJECT_310,
|
||||
/* 311 */ OBJECT_311,
|
||||
/* 312 */ OBJECT_312,
|
||||
/* 313 */ OBJECT_313,
|
||||
/* 314 */ OBJECT_314,
|
||||
/* 315 */ OBJECT_315,
|
||||
/* 316 */ OBJECT_316,
|
||||
/* 317 */ OBJECT_317,
|
||||
/* 318 */ OBJECT_318,
|
||||
/* 319 */ OBJECT_319,
|
||||
/* 320 */ OBJECT_320,
|
||||
/* 321 */ OBJECT_321,
|
||||
/* 322 */ OBJECT_6C_LASERS, // start of 6C
|
||||
/* 323 */ OBJECT_323,
|
||||
/* 324 */ OBJECT_6C_SILVER_RING,
|
||||
/* 325 */ OBJECT_325,
|
||||
/* 326 */ OBJECT_326,
|
||||
/* 327 */ OBJECT_6C_BOMB,
|
||||
/* 328 */ OBJECT_328,
|
||||
/* 329 */ OBJECT_329,
|
||||
/* 330 */ OBJECT_330,
|
||||
/* 331 */ OBJECT_331,
|
||||
/* 332 */ OBJECT_332,
|
||||
/* 333 */ OBJECT_333,
|
||||
/* 334 */ OBJECT_334,
|
||||
/* 335 */ OBJECT_6C_1UP,
|
||||
/* 336 */ OBJECT_6C_GOLD_RING,
|
||||
/* 337 */ OBJECT_6C_WING_REPAIR,
|
||||
/* 338 */ OBJECT_338,
|
||||
/* 339 */ OBJECT_339, // start of 8C
|
||||
/* 340 */ OBJECT_340,
|
||||
/* 341 */ OBJECT_341,
|
||||
/* 342 */ OBJECT_342,
|
||||
/* 343 */ OBJECT_343,
|
||||
/* 344 */ OBJECT_344,
|
||||
/* 345 */ OBJECT_345,
|
||||
/* 346 */ OBJECT_346,
|
||||
/* 347 */ OBJECT_347,
|
||||
/* 348 */ OBJECT_348,
|
||||
/* 349 */ OBJECT_349,
|
||||
/* 350 */ OBJECT_350,
|
||||
/* 351 */ OBJECT_351,
|
||||
/* 352 */ OBJECT_352,
|
||||
/* 353 */ OBJECT_353,
|
||||
/* 354 */ OBJECT_354,
|
||||
/* 355 */ OBJECT_355,
|
||||
/* 356 */ OBJECT_356,
|
||||
/* 357 */ OBJECT_357,
|
||||
/* 358 */ OBJECT_358,
|
||||
/* 359 */ OBJECT_359,
|
||||
/* 360 */ OBJECT_360,
|
||||
/* 361 */ OBJECT_361,
|
||||
/* 362 */ OBJECT_362,
|
||||
/* 363 */ OBJECT_363,
|
||||
/* 364 */ OBJECT_364,
|
||||
/* 365 */ OBJECT_365,
|
||||
/* 366 */ OBJECT_366,
|
||||
/* 367 */ OBJECT_367,
|
||||
/* 368 */ OBJECT_368,
|
||||
/* 369 */ OBJECT_369,
|
||||
/* 370 */ OBJECT_370,
|
||||
/* 371 */ OBJECT_371,
|
||||
/* 372 */ OBJECT_372,
|
||||
/* 373 */ OBJECT_373,
|
||||
/* 374 */ OBJECT_374,
|
||||
/* 375 */ OBJECT_375,
|
||||
/* 376 */ OBJECT_376,
|
||||
/* 377 */ OBJECT_377,
|
||||
/* 378 */ OBJECT_378,
|
||||
/* 379 */ OBJECT_379,
|
||||
/* 380 */ OBJECT_380,
|
||||
/* 381 */ OBJECT_381,
|
||||
/* 382 */ OBJECT_382,
|
||||
/* 383 */ OBJECT_383,
|
||||
/* 384 */ OBJECT_384,
|
||||
/* 385 */ OBJECT_385,
|
||||
/* 386 */ OBJECT_386,
|
||||
/* 387 */ OBJECT_387,
|
||||
/* 388 */ OBJECT_388,
|
||||
/* 389 */ OBJECT_389,
|
||||
/* 390 */ OBJECT_390,
|
||||
/* 391 */ OBJECT_391,
|
||||
/* 392 */ OBJECT_392,
|
||||
/* 393 */ OBJECT_393,
|
||||
/* 394 */ OBJECT_394,
|
||||
/* 395 */ OBJECT_395,
|
||||
/* 396 */ OBJECT_396,
|
||||
/* 397 */ OBJECT_397,
|
||||
/* 398 */ OBJECT_398,
|
||||
/* 399 */ OBJECT_399,
|
||||
/* 400 */ OBJECT_ID_MAX,
|
||||
} ObjectId;
|
||||
|
||||
#define OBJECT_UNK_400 400
|
||||
#define OBJECT_UNK_401 401
|
||||
#define OBJECT_UNK_402 402
|
||||
#define OBJECT_UNK_403 403
|
||||
#define OBJECT_UNK_404 404
|
||||
#define OBJECT_UNK_405 405
|
||||
#define OBJECT_UNK_406 406
|
||||
|
||||
#define OBJECT_UNK_1000 1000
|
||||
|
||||
#endif
|
125
include/sf64thread.h
Normal file
125
include/sf64thread.h
Normal file
@ -0,0 +1,125 @@
|
||||
#ifndef SF64_THREAD
|
||||
#define SF64_THREAD
|
||||
|
||||
#include "libultra/ultra64.h"
|
||||
#include "gfx.h"
|
||||
|
||||
typedef enum {
|
||||
GSTATE_NONE,
|
||||
GSTATE_INIT,
|
||||
GSTATE_TITLE,
|
||||
GSTATE_MENU,
|
||||
GSTATE_MAP,
|
||||
GSTATE_STATE_5,
|
||||
GSTATE_VS_INIT,
|
||||
GSTATE_PLAY,
|
||||
GSTATE_CREDITS,
|
||||
GSTATE_BOOT = 100,
|
||||
GSTATE_BOOT_WAIT,
|
||||
GSTATE_SHOW_LOGO,
|
||||
GSTATE_CHECK_SAVE,
|
||||
GSTATE_LOGO_WAIT,
|
||||
GSTATE_START,
|
||||
} GameStates;
|
||||
|
||||
typedef void (*TimerAction)(s32*, s32);
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 active;
|
||||
/* 0x08 */ OSTimer timer;
|
||||
/* 0x28 */ TimerAction action;
|
||||
/* 0x2C */ s32* address;
|
||||
/* 0x30 */ s32 value;
|
||||
} TimerTask; // size = 0x38, 0x8 aligned
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ OSThread thread;
|
||||
/* 0x1B0 */ char stack[0x800];
|
||||
/* 0x9B0 */ OSMesgQueue msgQueue;
|
||||
/* 0x9C8 */ OSMesg msg;
|
||||
/* 0x9CC */ FrameBuffer* fb;
|
||||
/* 0x9D0 */ u16 width;
|
||||
/* 0x9D2 */ u16 height;
|
||||
} FaultMgr; // size = 0x9D8, 0x8 aligned
|
||||
|
||||
typedef enum {
|
||||
SPTASK_STATE_NOT_STARTED,
|
||||
SPTASK_STATE_RUNNING,
|
||||
SPTASK_STATE_INTERRUPTED,
|
||||
SPTASK_STATE_FINISHED,
|
||||
SPTASK_STATE_FINISHED_DP
|
||||
} SpTaskState;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ OSTask task;
|
||||
/* 0x40 */ OSMesgQueue* msgQueue;
|
||||
/* 0x44 */ OSMesg msg;
|
||||
/* 0x48 */ SpTaskState state;
|
||||
} SPTask; // size = 0x50, 0x8 aligned
|
||||
|
||||
typedef struct {
|
||||
/* 0x00000 */ SPTask task;
|
||||
/* 0x00050 */ Vp viewports[0x10];
|
||||
/* 0x00150 */ Mtx mtx[0x480];
|
||||
/* 0x12150 */ Gfx unkDL1[0x180];
|
||||
/* 0x12D50 */ Gfx masterDL[0x1380];
|
||||
/* 0x1C950 */ Gfx unkDL2[0xD80];
|
||||
/* 0x23550 */ Lightsn lights[0x100];
|
||||
} GfxPool; // size = 0x2AD50, 0x8 aligned
|
||||
|
||||
void Controller_Init(void);
|
||||
void Controller_UpdateInput(void);
|
||||
void Controller_ReadData(void);
|
||||
void Save_ReadData(void);
|
||||
void Save_WriteData(void);
|
||||
void Controller_Rumble(void);
|
||||
|
||||
s32 Timer_CreateTask(u64, TimerAction, s32*, s32);
|
||||
void Timer_Increment(s32* address, s32 value);
|
||||
void Timer_SetValue(s32* address, s32 value);
|
||||
void Timer_CompleteTask(TimerTask*);
|
||||
void Timer_Wait(u64);
|
||||
|
||||
s32 Save_WriteEeprom(SaveFile*);
|
||||
s32 Save_ReadEeprom(SaveFile*);
|
||||
|
||||
void Fault_ThreadEntry(void*);
|
||||
void func_80007FE4(FrameBuffer*, u16, u16);
|
||||
void Fault_Init(void);
|
||||
|
||||
typedef enum {
|
||||
SI_READ_CONTROLLER = 10,
|
||||
SI_READ_SAVE,
|
||||
SI_WRITE_SAVE,
|
||||
SI_RUMBLE,
|
||||
SI_SAVE_FAILED,
|
||||
SI_SAVE_SUCCESS,
|
||||
SI_CONT_READ_DONE,
|
||||
} SerialMesg;
|
||||
|
||||
#define MSG_QUEUE_EMPTY -1
|
||||
|
||||
#define FAULT_MESG_BREAK 1
|
||||
#define FAULT_MESG_FAULT 2
|
||||
|
||||
#define TASK_MESG_1 1
|
||||
#define TASK_MESG_2 2
|
||||
|
||||
#define EVENT_MESG_SP 1
|
||||
#define EVENT_MESG_DP 2
|
||||
#define EVENT_MESG_VI 3
|
||||
#define EVENT_MESG_PRENMI 4
|
||||
|
||||
typedef enum {
|
||||
THREAD_ID_SYSTEM,
|
||||
THREAD_ID_IDLE,
|
||||
THREAD_ID_FAULT,
|
||||
THREAD_ID_MAIN,
|
||||
THREAD_ID_4,
|
||||
THREAD_ID_AUDIO,
|
||||
THREAD_ID_GRAPHICS,
|
||||
THREAD_ID_7,
|
||||
THREAD_ID_SERIAL,
|
||||
} ThreadID;
|
||||
|
||||
#endif
|
@ -6,11 +6,6 @@
|
||||
|
||||
#define UNK_TYPE s32
|
||||
|
||||
typedef struct {
|
||||
Vec3f normal;
|
||||
f32 dist;
|
||||
} Plane;
|
||||
|
||||
typedef struct {
|
||||
s16 vtx[3];
|
||||
s16 unk_06;
|
||||
@ -34,21 +29,6 @@ typedef struct {
|
||||
Vec3f* mesh;
|
||||
} CollisionHeader2; // size = 0x24
|
||||
|
||||
typedef void (*TimerAction)(s32*, s32);
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 active;
|
||||
/* 0x08 */ OSTimer timer;
|
||||
/* 0x28 */ TimerAction action;
|
||||
/* 0x2C */ s32* address;
|
||||
/* 0x30 */ s32 value;
|
||||
} TimerTask; // size = 0x38, 0x8 aligned
|
||||
|
||||
typedef union {
|
||||
u16 data[240 * 320];
|
||||
u16 array[240][320];
|
||||
} FrameBuffer; // size = 0x25800
|
||||
|
||||
typedef struct {
|
||||
/* bit 0 */ u8 unk_0 : 3;
|
||||
/* bit 3 */ u8 unk_3 : 1;
|
||||
@ -70,10 +50,10 @@ typedef struct {
|
||||
typedef struct{
|
||||
/* 0x00 */ Save_SubStruct_00 unk_00[16];
|
||||
/* 0x10 */ char pad10[0x4];
|
||||
/* 0x14 */ u8 unk_14;
|
||||
/* 0x15 */ u8 unk_15;
|
||||
/* 0x16 */ u8 unk_16;
|
||||
/* 0x17 */ u8 unk_17;
|
||||
/* 0x14 */ u8 soundMode;
|
||||
/* 0x15 */ u8 musicVolume;
|
||||
/* 0x16 */ u8 voiceVolume;
|
||||
/* 0x17 */ u8 sfxVolume;
|
||||
/* 0x18 */ u8 unk_18[10][3];
|
||||
/* 0x36 */ u8 unk_36[10];
|
||||
/* 0x40 */ u8 unk_40[10];
|
||||
@ -97,41 +77,6 @@ typedef struct {
|
||||
/* 0x100 */ Save backup;
|
||||
} SaveFile; // size = 0x200
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ OSThread thread;
|
||||
/* 0x1B0 */ char stack[0x800];
|
||||
/* 0x9B0 */ OSMesgQueue msgQueue;
|
||||
/* 0x9C8 */ OSMesg msg;
|
||||
/* 0x9CC */ FrameBuffer* fb;
|
||||
/* 0x9D0 */ u16 width;
|
||||
/* 0x9D2 */ u16 height;
|
||||
} FaultMgr; // size = 0x9D8, 0x8 aligned
|
||||
|
||||
typedef enum {
|
||||
SPTASK_STATE_NOT_STARTED,
|
||||
SPTASK_STATE_RUNNING,
|
||||
SPTASK_STATE_INTERRUPTED,
|
||||
SPTASK_STATE_FINISHED,
|
||||
SPTASK_STATE_FINISHED_DP
|
||||
} SpTaskState;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ OSTask task;
|
||||
/* 0x40 */ OSMesgQueue* msgQueue;
|
||||
/* 0x44 */ OSMesg msg;
|
||||
/* 0x48 */ SpTaskState state;
|
||||
} SPTask; // size = 0x50, 0x8 aligned
|
||||
|
||||
typedef struct {
|
||||
/* 0x00000 */ SPTask task;
|
||||
/* 0x00050 */ Vp viewports[0x10];
|
||||
/* 0x00150 */ Mtx mtx[0x480];
|
||||
/* 0x12150 */ Gfx unkDL1[0x180];
|
||||
/* 0x12D50 */ Gfx masterDL[0x1380];
|
||||
/* 0x1C950 */ Gfx unkDL2[0xD80];
|
||||
/* 0x23550 */ Lightsn lights[0x100];
|
||||
} GfxPool; // size = 0x2AD50, 0x8 aligned
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ u16 unk_0;
|
||||
/* 0x2 */ s8 unk_2;
|
||||
@ -140,7 +85,31 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 unk_00;
|
||||
/* 0x01 */ u8 unk_01;
|
||||
/* 0x01 */ char pad01[0x1];
|
||||
/* 0x02 */ u16 unk_02;
|
||||
/* 0x04 */ Vec3f pos;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ char pad14[0x14];
|
||||
} UnkEntity28; // size = 0x28
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 mode;
|
||||
/* 0x02 */ u16 timer;
|
||||
/* 0x04 */ Vec3f unk_04;
|
||||
/* 0x10 */ Vec3f unk_10;
|
||||
/* 0x1C */ f32 unk_1C;
|
||||
/* 0x20 */ f32 unk_20;
|
||||
/* 0x24 */ f32 unk_24;
|
||||
/* 0x28 */ f32 unk_28;
|
||||
/* 0x2C */ u8 unk_2C; // possibly a color struct
|
||||
/* 0x2D */ u8 unk_2D;
|
||||
/* 0x2E */ u8 unk_2E;
|
||||
/* 0x2F */ u8 unk_2F;
|
||||
} UnkEntity30; // size = 0x30
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 rightState;
|
||||
/* 0x01 */ u8 leftState;
|
||||
/* 0x04 */ f32 unk_04;
|
||||
/* 0x08 */ f32 unk_08;
|
||||
/* 0x0C */ f32 unk_0C;
|
||||
@ -155,33 +124,12 @@ typedef struct {
|
||||
/* 0x30 */ f32 unk_30;
|
||||
/* 0x34 */ f32 unk_34;
|
||||
/* 0x38 */ f32 unk_38;
|
||||
} UnkStruct_D_80161630; // size = 0x3C
|
||||
} WingInfo; // size = 0x3C
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ s32 unk_00;
|
||||
/* 0x04 */ s32 unk_04;
|
||||
/* 0x08 */ u16 unk_08;
|
||||
/* 0x0A */ u16 unk_0A;
|
||||
/* 0x0C */ s32 unk_0C;
|
||||
/* 0x10 */ s32 unk_10;
|
||||
/* 0x14 */ s32 unk_14;
|
||||
/* 0x18 */ s32 unk_18;
|
||||
/* 0x1C */ s32 unk_1C;
|
||||
/* 0x20 */ f32 unk_20;
|
||||
/* 0x24 */ f32 unk_24;
|
||||
/* 0x28 */ f32 unk_28;
|
||||
/* 0x2C */ s32 unk_2C;
|
||||
/* 0x30 */ s32 unk_30;
|
||||
/* 0x34 */ s32 unk_34;
|
||||
/* 0x38 */ s32 unk_38;
|
||||
/* 0x3C */ s32 unk_3C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ char pad44[0x60];
|
||||
} UnkStruct_D_80161A68; // size = 0x44?
|
||||
|
||||
typedef struct UnkStruct_D_80178280 {
|
||||
typedef struct Player {
|
||||
/* 0x000 */ f32 unk_000;
|
||||
/* 0x004 */ char pad4[8];
|
||||
/* 0x004 */ f32 unk_004;
|
||||
/* 0x008 */ char pad8[4];
|
||||
/* 0x00C */ f32 unk_00C;
|
||||
/* 0x010 */ char pad10[0x24];
|
||||
/* 0x034 */ f32 unk_034;
|
||||
@ -201,11 +149,11 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x080 */ f32 unk_080;
|
||||
/* 0x084 */ f32 unk_084;
|
||||
/* 0x088 */ f32 unk_088;
|
||||
/* 0x08C */ char pad8C[4];
|
||||
/* 0x090 */ f32 unk_090;
|
||||
/* 0x094 */ f32 unk_094;
|
||||
/* 0x08C */ Vec3f unk_08C;
|
||||
/* 0x098 */ f32 unk_098;
|
||||
/* 0x09C */ char pad9C[0x10];
|
||||
/* 0x09C */ f32 unk_09C;
|
||||
/* 0x0A0 */ f32 unk_0A0;
|
||||
/* 0x0A4 */ char padA4[8];
|
||||
/* 0x0AC */ f32 unk_0AC;
|
||||
/* 0x0B0 */ f32 unk_0B0;
|
||||
/* 0x0B4 */ f32 unk_0B4;
|
||||
@ -214,7 +162,7 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x0C0 */ Vec3f unk_0C0;
|
||||
/* 0x0CC */ char padCC[4];
|
||||
/* 0x0D0 */ f32 unk_0D0;
|
||||
/* 0x0D4 */ char padD4[4];
|
||||
/* 0x0D4 */ f32 unk_0D4;
|
||||
/* 0x0D8 */ Vec3f unk_0D8;
|
||||
/* 0x0E4 */ f32 unk_0E4;
|
||||
/* 0x0E8 */ f32 unk_0E8;
|
||||
@ -224,7 +172,7 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x0F8 */ f32 unk_0F8;
|
||||
/* 0x0FC */ char padFC[8];
|
||||
/* 0x104 */ f32 unk_104;
|
||||
/* 0x108 */ char pad108[4];
|
||||
/* 0x108 */ f32 unk_108;
|
||||
/* 0x10C */ f32 unk_10C;
|
||||
/* 0x110 */ f32 unk_110;
|
||||
/* 0x114 */ f32 unk_114;
|
||||
@ -252,9 +200,10 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x174 */ char pad174[8];
|
||||
/* 0x17C */ f32 unk_17C;
|
||||
/* 0x180 */ f32 unk_180;
|
||||
/* 0x184 */ char pad184[8];
|
||||
/* 0x184 */ f32 unk_184;
|
||||
/* 0x188 */ f32 unk_188;
|
||||
/* 0x18C */ f32 unk_18C;
|
||||
/* 0x190 */ char pad190[4];
|
||||
/* 0x190 */ f32 unk_190;
|
||||
/* 0x194 */ f32 unk_194;
|
||||
/* 0x198 */ char pad198[4];
|
||||
/* 0x19C */ s32 unk_19C;
|
||||
@ -266,7 +215,12 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x1CC */ s32 unk_1CC;
|
||||
/* 0x1D0 */ s32 unk_1D0;
|
||||
/* 0x1D4 */ s32 unk_1D4;
|
||||
/* 0x1D8 */ char pad1D8[0x18];
|
||||
/* 0x1D8 */ char pad1D8[4];
|
||||
/* 0x1DC */ s32 unk_1DC;
|
||||
/* 0x1E0 */ s32 unk_1E0;
|
||||
/* 0x1E4 */ s32 unk_1E4;
|
||||
/* 0x1E8 */ s32 unk_1E8;
|
||||
/* 0x1EC */ s32 unk_1EC;
|
||||
/* 0x1F0 */ s32 unk_1F0;
|
||||
/* 0x1F4 */ s32 unk_1F4;
|
||||
/* 0x1F8 */ s32 unk_1F8;
|
||||
@ -289,13 +243,16 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x244 */ char pad244[4];
|
||||
/* 0x248 */ f32 unk_248;
|
||||
/* 0x24C */ f32 unk_24C;
|
||||
/* 0x250 */ char pad250[0xC];
|
||||
/* 0x250 */ f32 unk_250;
|
||||
/* 0x250 */ char pad254[8];
|
||||
/* 0x25C */ f32 unk_25C;
|
||||
/* 0x260 */ char pad260[4];
|
||||
/* 0x264 */ s32 unk_264;
|
||||
/* 0x268 */ s32 unk_268;
|
||||
/* 0x26C */ s32 unk_26C;
|
||||
/* 0x270 */ char pad270[0xC];
|
||||
/* 0x264 */ s32 health;
|
||||
/* 0x268 */ s32 damage;
|
||||
/* 0x26C */ s32 heal;
|
||||
/* 0x270 */ s32 unk_270;
|
||||
/* 0x274 */ char pad274[4];
|
||||
/* 0x278 */ s32 unk_278;
|
||||
/* 0x27C */ s32 unk_27C;
|
||||
/* 0x280 */ s32 unk_280;
|
||||
/* 0x284 */ s32 unk_284;
|
||||
@ -304,311 +261,31 @@ typedef struct UnkStruct_D_80178280 {
|
||||
/* 0x2B4 */ s32 unk_2B4;
|
||||
/* 0x2B8 */ char pad2B8[0x4];
|
||||
/* 0x2BC */ f32 unk_2BC;
|
||||
/* 0x2C0 */ char pad2C0[8];
|
||||
/* 0x2C0 */ f32 unk_2C0;
|
||||
/* 0x2C4 */ s32 unk_2C4;
|
||||
/* 0x2C8 */ Vec3f unk_2C8;
|
||||
/* 0x2D4 */ Vec3f unk_2D4;
|
||||
/* 0x2E0 */ Vec3f unk_2E0;
|
||||
/* 0x2EC */ Vec3f unk_2EC;
|
||||
/* 0x2F8 */ Vec3f jointTable[30];
|
||||
/* 0x460 */ Vec3f unk_460[2];
|
||||
/* 0x460 */ union {
|
||||
Vec3f unk_460;
|
||||
Vec3f unk_460_arr[1]; // probably fake
|
||||
};
|
||||
/* 0x460 */ Vec3f unk_46C;
|
||||
/* 0x494 */ char pad478[4];
|
||||
/* 0x47C */ Vec3f *unk_47C;
|
||||
/* 0x480 */ Vec3f *unk_480;
|
||||
/* 0x484 */ char pad484[4];
|
||||
/* 0x488 */ f32 unk_488;
|
||||
/* 0x48C */ char pad48C[4];
|
||||
/* 0x48C */ s8 unk_48C;
|
||||
/* 0x490 */ f32 unk_490;
|
||||
/* 0x494 */ char pad494[4];
|
||||
/* 0x494 */ s32 unk_494;
|
||||
/* 0x498 */ s32 unk_498;
|
||||
/* 0x49C */ UnkStruct_D_80161630 unk_49C;
|
||||
/* 0x49C */ WingInfo wings;
|
||||
/* 0x4D8 */ f32 unk_4D8;
|
||||
/* 0x4DC */ f32 unk_4DC;
|
||||
} UnkStruct_D_80178280; // size = 0x4E0 Might be Player
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ f32 unk_0;
|
||||
/* 0x04 */ s16 unk_4;
|
||||
/* 0x06 */ s16 unk_6;
|
||||
/* 0x08 */ s16 unk_8;
|
||||
/* 0x0A */ s16 unk_A;
|
||||
/* 0x0C */ s16 unk_C;
|
||||
/* 0x0E */ s16 unk_E;
|
||||
/* 0x10 */ s16 unk_10;
|
||||
} ObjectInit; // size = 0x14
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 status;
|
||||
/* 0x02 */ u16 id;
|
||||
/* 0x04 */ Vec3f pos;
|
||||
/* 0x10 */ Vec3f rot;
|
||||
} Object; // size = 0x1C
|
||||
|
||||
typedef void (*ObjectFunc)(Object*);
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ union {
|
||||
ObjectFunc draw;
|
||||
Gfx* dList;
|
||||
};
|
||||
/* 0x00 */ u8 drawType;
|
||||
/* 0x08 */ ObjectFunc action; // argument must have object type.
|
||||
/* 0x0C */ f32* unk_0C; // some sort of script?
|
||||
/* 0x10 */ f32 unk_10; // z coordinate of something
|
||||
/* 0x14 */ s16 unk_14; // can be -1, 0, 1
|
||||
/* 0x16 */ s16 unk_16; // can be 0, 1, 2
|
||||
/* 0x18 */ u8 unk_18; // damage?
|
||||
/* 0x19 */ u8 unk_19; // can be 0, 1, 2
|
||||
/* 0x1C */ f32 unk_1C; // y offset of something
|
||||
/* 0x20 */ u8 unk_20; // increment for something
|
||||
} ObjectStruct_1C; // size = 0x24
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 unk_00;
|
||||
/* 0x01 */ char pad01[0x1];
|
||||
/* 0x02 */ u16 unk_02;
|
||||
/* 0x04 */ Vec3f pos;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ char pad14[0x14];
|
||||
} UnkStruct_D_80175A10; // size = 0x28
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ char pad1C[0x1C];
|
||||
/* 0x38 */ Vec3f unk_38;
|
||||
/* 0x44 */ char pad44[0x1C];
|
||||
/* 0x60 */ s32 unk_60;
|
||||
/* 0x64 */ char pad64[0xC];
|
||||
} Object_70; // size = 0x70
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ char unk40[0x8];
|
||||
/* 0x48 */ Vec3f unk_48;
|
||||
/* 0x54 */ f32 unk_54;
|
||||
} Object_58; // size = 0x58
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 unk_00;
|
||||
/* 0x02 */ u16 unk_02;
|
||||
/* 0x04 */ f32 unk_04;
|
||||
/* 0x08 */ f32 unk_08;
|
||||
/* 0x0C */ f32 unk_0C;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 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 */ u8 unk_2C; // possibly a color struct
|
||||
/* 0x2D */ u8 unk_2D;
|
||||
/* 0x2E */ u8 unk_2E;
|
||||
/* 0x2F */ u8 unk_2F;
|
||||
} UnkStruct_D_80174750; // size = 0x30
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ s32 unk_44;
|
||||
/* 0x48 */ s32 unk_48;
|
||||
/* 0x4C */ s32 unk_4C;
|
||||
/* 0x50 */ char pad50[0x10];
|
||||
/* 0x60 */ f32 unk_60;
|
||||
/* 0x64 */ f32 unk_64;
|
||||
/* 0x68 */ char pad68[8];
|
||||
/* 0x70 */ Vec3f unk_70;
|
||||
/* 0x7C */ char pad7C[4];
|
||||
} Object_80; // size = 0x80
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ char pad44[1];
|
||||
/* 0x45 */ u8 unk_45; // could be short loaded as u8
|
||||
/* 0x46 */ s8 unk_46;
|
||||
/* 0x48 */ s32 unk_48;
|
||||
} Object_4C; // size = 0x4C
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ s16 unk_44;
|
||||
/* 0x46 */ u8 unk_46;
|
||||
/* 0x48 */ u16 unk_48;
|
||||
/* 0x4A */ u16 unk_4A;
|
||||
/* 0x4C */ s8 unk_4C;
|
||||
/* 0x4E */ s16 unk_4E;
|
||||
/* 0x50 */ f32 unk_50;
|
||||
/* 0x54 */ f32 unk_54;
|
||||
/* 0x58 */ f32 unk_58;
|
||||
/* 0x5C */ Vec3f unk_5C;
|
||||
/* 0x68 */ f32 unk_68;
|
||||
} Object_6C; // size 0x6C
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Object obj;
|
||||
/* 0x1C */ ObjectStruct_1C unk_1C;
|
||||
/* 0x40 */ s32 unk_40;
|
||||
/* 0x44 */ s16 unk_44;
|
||||
/* 0x46 */ s16 unk_46;
|
||||
/* 0x48 */ s16 unk_48;
|
||||
/* 0x4A */ s16 unk_4A;
|
||||
/* 0x4C */ u8 unk_4C;
|
||||
/* 0x4E */ s16 unk_4E;
|
||||
/* 0x50 */ u16 unk_50;
|
||||
/* 0x50 */ char pad50[0x2];
|
||||
/* 0x54 */ f32 unk_54;
|
||||
/* 0x58 */ f32 unk_58;
|
||||
/* 0x5C */ f32 unk_5C;
|
||||
/* 0x60 */ Vec3f unk_60;
|
||||
/* 0x6C */ f32 unk_6C;
|
||||
/* 0x70 */ f32 unk_70;
|
||||
/* 0x74 */ char pad74[0xC];
|
||||
/* 0x80 */ Vec3f unk_80;
|
||||
} Object_8C; // size 0x8C
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ Object obj;
|
||||
/* 0x01C */ ObjectStruct_1C unk_01C;
|
||||
/* 0x040 */ s32 unk_040;
|
||||
/* 0x044 */ char unk_44[0xA];
|
||||
/* 0x04E */ s16 unk_04E;
|
||||
/* 0x050 */ s16 unk_050;
|
||||
/* 0x052 */ s16 unk_052;
|
||||
/* 0x054 */ s16 unk_054;
|
||||
/* 0x056 */ s16 unk_056;
|
||||
/* 0x058 */ s16 unk_058;
|
||||
/* 0x05A */ s16 unk_05A;
|
||||
/* 0x05C */ s16 unk_05C;
|
||||
/* 0x05E */ u8 unk_05E;
|
||||
/* 0x05F */ char pad5F[3];
|
||||
/* 0x062 */ s8 unk_062;
|
||||
/* 0x063 */ char pad63[5];
|
||||
/* 0x068 */ f32 unk_068;
|
||||
/* 0x06C */ f32 unk_06C;
|
||||
/* 0x070 */ f32 unk_070;
|
||||
/* 0x074 */ f32 unk_074;
|
||||
/* 0x078 */ char pad78[0xC];
|
||||
/* 0x084 */ f32 unk_084;
|
||||
/* 0x088 */ char pad88[0x1E];
|
||||
/* 0x0A6 */ s16 unk_0A6;
|
||||
/* 0x0A8 */ char padA8[0x1E];
|
||||
/* 0x0C6 */ u16 unk_0C6;
|
||||
/* 0x0C8 */ char padC8[1];
|
||||
/* 0x0C9 */ u8 unk_0C9;
|
||||
/* 0x0CA */ char padCA[6];
|
||||
/* 0x0D0 */ s16 unk_0D0;
|
||||
/* 0x0D2 */ char padD2[0xA];
|
||||
/* 0x0DC */ f32 unk_0DC;
|
||||
/* 0x0E0 */ f32 unk_0E0;
|
||||
/* 0x0E4 */ f32 unk_0E4;
|
||||
/* 0x0E8 */ char padE8[0x28];
|
||||
/* 0x110 */ f32 unk_110;
|
||||
/* 0x114 */ f32 unk_114;
|
||||
/* 0x118 */ char pad118[0x1F0];
|
||||
/* 0x308 */ Vec3f unk_308;
|
||||
/* 0x314 */ char pad314[0xE4];
|
||||
/* 0x3F8 */ f32 unk_3F8;
|
||||
/* 0x3FC */ Vec3f unk_3FC;
|
||||
} Object_408; // size = 0x408
|
||||
|
||||
typedef struct {
|
||||
/* 0x000 */ Object obj;
|
||||
/* 0x01C */ ObjectStruct_1C unk_01C;
|
||||
/* 0x040 */ s32 unk_040;
|
||||
/* 0x044 */ u8 unk_044;
|
||||
/* 0x046 */ s16 unk_046;
|
||||
/* 0x048 */ s16 unk_048;
|
||||
/* 0x04A */ s16 unk_04A;
|
||||
/* 0x04C */ s16 unk_04C;
|
||||
/* 0x04E */ s16 unk_04E;
|
||||
/* 0x050 */ s32 unk_050;
|
||||
/* 0x054 */ s32 unk_054;
|
||||
/* 0x058 */ s32 unk_058;
|
||||
/* 0x05C */ s32 unk_05C;
|
||||
/* 0x060 */ s32 unk_060;
|
||||
/* 0x064 */ s32 unk_064;
|
||||
/* 0x068 */ s32 unk_068;
|
||||
/* 0x06C */ s32 unk_06C;
|
||||
/* 0x070 */ s32 unk_070;
|
||||
/* 0x074 */ s32 unk_074;
|
||||
/* 0x078 */ s32 unk_078;
|
||||
/* 0x07C */ s32 unk_07C;
|
||||
/* 0x080 */ s32 unk_080;
|
||||
/* 0x084 */ char pad84[4];
|
||||
/* 0x088 */ s32 unk_088;
|
||||
/* 0x08C */ s32 unk_08C;
|
||||
/* 0x090 */ char pad90[8];
|
||||
/* 0x098 */ s32 unk_098;
|
||||
/* 0x09C */ char pad9C[0x14];
|
||||
/* 0x0B0 */ s32 unk_0B0;
|
||||
/* 0x0B4 */ s16 unk_0B4;
|
||||
/* 0x0B6 */ s16 unk_0B6;
|
||||
/* 0x0B8 */ s16 unk_0B8;
|
||||
/* 0x0BA */ char pad0BA[0x2];
|
||||
/* 0x0BC */ u16 unk_0BC;
|
||||
/* 0x0BC */ u16 unk_0BE;
|
||||
/* 0x0C0 */ u16 unk_0C0;
|
||||
/* 0x0C2 */ u16 unk_0C2;
|
||||
/* 0x0C4 */ u16 unk_0C4;
|
||||
/* 0x0C6 */ u16 unk_0C6;
|
||||
/* 0x0C8 */ char padC8[1];
|
||||
/* 0x0C9 */ u8 unk_0C9;
|
||||
/* 0x0C9 */ u8 unk_0CA[4];
|
||||
/* 0x0CE */ s16 unk_0CE;
|
||||
/* 0x0D0 */ s8 unk_0D0;
|
||||
/* 0x0D1 */ s16 unk_0D2;
|
||||
/* 0x0D4 */ s16 unk_0D4;
|
||||
/* 0x0D6 */ u16 unk_0D6;
|
||||
/* 0x0D8 */ Vec3f unk_0D8;
|
||||
/* 0x0E4 */ s16 unk_0E4;
|
||||
/* 0x0E6 */ s16 unk_0E6;
|
||||
/* 0x0E8 */ f32 unk_0E8;
|
||||
/* 0x0EC */ f32 unk_0EC;
|
||||
/* 0x0F0 */ f32 unk_0F0;
|
||||
/* 0x0F4 */ f32 unk_0F4;
|
||||
/* 0x0F8 */ f32 unk_0F8; // angle
|
||||
/* 0x0FC */ f32 unk_0FC;
|
||||
/* 0x100 */ Vec3f unk_100; // may be Vec3f
|
||||
/* 0x10C */ f32 unk_10C;
|
||||
/* 0x110 */ f32 unk_110;
|
||||
/* 0x114 */ f32 unk_114;
|
||||
/* 0x118 */ f32 unk_118;
|
||||
/* 0x11C */ f32 unk_11C;
|
||||
/* 0x120 */ f32 unk_120;
|
||||
/* 0x124 */ Vec3f unk_124;
|
||||
/* 0x130 */ f32 unk_130;
|
||||
/* 0x134 */ f32 unk_134;
|
||||
/* 0x138 */ f32 unk_138;
|
||||
/* 0x13C */ f32 unk_13C;
|
||||
/* 0x140 */ char pad140[4];
|
||||
/* 0x144 */ f32 unk_144;
|
||||
/* 0x148 */ f32 unk_148;
|
||||
/* 0x14C */ f32 unk_14C;
|
||||
/* 0x150 */ f32 unk_150;
|
||||
/* 0x154 */ f32 unk_154;
|
||||
/* 0x158 */ f32 unk_158;
|
||||
/* 0x15C */ char pad15C[4];
|
||||
/* 0x160 */ f32 unk_160;
|
||||
/* 0x164 */ f32 unk_164;
|
||||
/* 0x168 */ f32 unk_168;
|
||||
/* 0x16C */ f32 unk_16C;
|
||||
/* 0x170 */ f32 unk_170;
|
||||
/* 0x174 */ char pad174[4];
|
||||
/* 0x178 */ f32 unk_178;
|
||||
/* 0x17C */ f32 unk_17C;
|
||||
/* 0x180 */ f32 unk_180;
|
||||
/* 0x184 */ f32 unk_184;
|
||||
/* 0x188 */ f32 unk_188;
|
||||
/* 0x18C */ Vec3f unk_18C; // could be joint table
|
||||
/* 0x198 */ char pad198[0x144];
|
||||
/* 0x2DC */ Vec3f unk_2DC;
|
||||
/* 0x2E8 */ Vec3f unk_2E8;
|
||||
} Object_2F4; // size = 0x2F4
|
||||
} Player; // size = 0x4E0 Might be Player
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 unk_00;
|
||||
@ -616,6 +293,6 @@ typedef struct {
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ char pad14[0x4];
|
||||
/* 0x18 */ u16 unk_18;
|
||||
} UnkStruct_D_80176438; // size = 0x1C
|
||||
} UnkEntity1C; // size = 0x1C
|
||||
|
||||
#endif
|
||||
|
@ -1,8 +1,13 @@
|
||||
#ifndef VARIABLES_H
|
||||
#define VARIABLES_H
|
||||
|
||||
#include "libc/stdbool.h"
|
||||
#include "sf64math.h"
|
||||
#include "structs.h"
|
||||
#include "gfx.h"
|
||||
#include "sf64level.h"
|
||||
#include "sf64thread.h"
|
||||
#include "sf64object.h"
|
||||
|
||||
extern u64 __rspboot_start[];
|
||||
extern u64 __rspboot_end[];
|
||||
@ -123,10 +128,14 @@ extern OSMesg D_80156618[1];
|
||||
extern OSMesg D_8015661C[1];
|
||||
|
||||
extern u16 D_800C9C3C[16];
|
||||
extern Vec3f D_800C9F2C; // could be f32[4]?
|
||||
extern Object_2F4* D_800CA234;
|
||||
extern f32 D_800CBE70[];
|
||||
extern f32 D_800CBE8C[];
|
||||
extern f32 D_800CBEA8[];
|
||||
extern f32 D_800CBEC4[];
|
||||
extern f32 D_800CBEE0[];
|
||||
extern f32 D_800CBEFC[];
|
||||
extern f32 D_800CBF18[];
|
||||
extern f32 D_800CBF34[];
|
||||
extern f32 D_800CBF38[];
|
||||
@ -139,6 +148,10 @@ extern f32 D_800CBFE4[];
|
||||
extern f32 D_800CC000[];
|
||||
extern f32 D_800CC01C[];
|
||||
extern f32 D_800CC038[];
|
||||
extern f32 D_800CC054[];
|
||||
extern f32 D_800CC070[];
|
||||
extern f32 D_800CC0D4[];
|
||||
extern f32 D_800CC0F0[];
|
||||
extern ObjectStruct_1C D_800CC124[];
|
||||
extern f32 D_800CF9B0[];
|
||||
extern Gfx* D_800CFA54[];
|
||||
@ -157,6 +170,7 @@ extern Gfx* D_800CFC40[];
|
||||
extern Gfx* D_800CFC50[];
|
||||
extern Gfx* D_800CFC64[];
|
||||
extern Gfx* D_800CFC7C[];
|
||||
extern f32* D_800CF964[];
|
||||
extern f32 D_800CFCA0[];
|
||||
extern Vec3f D_800CFCC0; // initializer in sf_5A240
|
||||
extern f32 D_800CFCCC[];
|
||||
@ -174,6 +188,7 @@ extern f32 D_800CFE5C[];
|
||||
extern Vec3f D_800CFEC4[6];
|
||||
extern Vec3f D_800CFF0C[6];
|
||||
extern u32 D_800CFF54[9];
|
||||
extern s32 D_800CFF80[4];
|
||||
extern s32 D_800CFF90;
|
||||
extern s16 D_800CFF94[];
|
||||
extern u8 D_800CFFB4[];
|
||||
@ -203,11 +218,11 @@ extern s32 D_800D2874[];
|
||||
extern s32 D_800D2884[];
|
||||
extern s32 D_800D2894[];
|
||||
extern s32 D_800D28A4[];
|
||||
extern s32 D_800D28B4[];
|
||||
extern s32 sOverlaySetups[];
|
||||
extern CollisionHeader D_800D2B38[];
|
||||
extern CollisionHeader2 D_800D2CA0[];
|
||||
extern u8 D_800D3180[0x1E]; // might be bigger? at least 0x21
|
||||
extern s32 D_800D4A70;
|
||||
extern s32 sCurrentMsgPri;
|
||||
extern Save gDefaultSave;
|
||||
|
||||
// sf_2EFE0
|
||||
@ -224,7 +239,7 @@ extern f32 D_8015F944;
|
||||
extern Vec3f D_8015F950;
|
||||
extern u8 D_8015F964;
|
||||
|
||||
// sf_43AC0
|
||||
// fox_43AC0
|
||||
extern s32 D_801613A0;
|
||||
|
||||
// fox_52730
|
||||
@ -240,16 +255,14 @@ extern f32 D_801615B8[4];
|
||||
|
||||
// fox_edisplay
|
||||
extern Vec3f D_801615D0;
|
||||
extern Vec3f D_801615E0;
|
||||
extern s32 D_801615EC;
|
||||
extern Matrix D_801615F0;
|
||||
extern UnkStruct_D_80161630 D_80161630;
|
||||
extern s32 D_80161670[4];
|
||||
|
||||
// fox_enmy1?
|
||||
// fox_enmy1
|
||||
extern s32 D_80161670[4];
|
||||
extern s32 D_80161680;
|
||||
extern u8 D_80161684;
|
||||
// sf_6B3B0
|
||||
|
||||
// extern u8 temp_55[];
|
||||
// fox_6B3B0
|
||||
extern s32 D_80161690;
|
||||
|
||||
// sf_hud?
|
||||
@ -274,15 +287,11 @@ extern f32 D_801617A4;
|
||||
extern f32 D_801617A8;
|
||||
extern f32 D_801617AC;
|
||||
extern s32 D_801617B0;
|
||||
extern s32 D_801617B4;
|
||||
extern s32 D_801617B8;
|
||||
extern s32 gMedalStatus;
|
||||
extern s32 gMedalFlashTimer;
|
||||
extern s32 D_80161810[];
|
||||
extern s32 D_80161900[];
|
||||
|
||||
extern s32 D_80161910[0x10]; // part of sf_hud or fox_97F80?
|
||||
|
||||
// fox_display
|
||||
extern char D_801619A0[100];
|
||||
extern s32 D_80161910[0x10]; // could be in fox_97F80
|
||||
|
||||
// fox_A24B0
|
||||
extern f32 D_80161A10;
|
||||
@ -291,11 +300,11 @@ extern s32 D_80161A18[4];
|
||||
extern s32 D_80161A28;
|
||||
extern u8 D_80161A2C;
|
||||
extern u16 D_80161A2E;
|
||||
extern u16 D_80161A30;
|
||||
extern u16 D_80161A32;
|
||||
extern u16 gNextLevel;
|
||||
extern u16 gNextGameState;
|
||||
extern u16 D_80161A34;
|
||||
extern u16 D_80161A36;
|
||||
extern u8 D_80161A38;
|
||||
extern u16 gBgColor;
|
||||
extern u8 gBlurAlpha;
|
||||
extern u8 D_80161A39;
|
||||
extern f32 D_80161A3C;
|
||||
extern f32 D_80161A40;
|
||||
@ -308,41 +317,45 @@ extern s32 D_80161A5C;
|
||||
extern u16 D_80161A60;
|
||||
extern u16 D_80161A62;
|
||||
extern s32 D_80161A64;
|
||||
extern UnkStruct_D_80161A68* D_80161A68;
|
||||
extern s32 D_80161A70;
|
||||
extern EnvSettings* sEnvSettings;
|
||||
extern s32 D_80161A70; // Color32?
|
||||
extern s32 D_80161A74;
|
||||
extern s32 D_80161A78;
|
||||
extern s32 D_80161A7C;
|
||||
extern s32 D_80161A80;
|
||||
extern s32 D_80161A84;
|
||||
extern s32 D_80161A88;
|
||||
extern s32 D_80161A8C;
|
||||
extern u8 D_80161A90[];
|
||||
extern s32 D_80161A98;
|
||||
extern u8 gGoldRingCount[];
|
||||
extern s32 gHitCount;
|
||||
extern s32 D_80161A9C;
|
||||
extern s16 D_80161AA0[];
|
||||
extern s32 D_80161AA8[];
|
||||
extern s16 gLifeCount[];
|
||||
extern s32 gLaserStrength[];
|
||||
extern s32 D_80161AB8;
|
||||
extern Object_80 D_80161B00[50];
|
||||
extern Object_4C D_80163400[40];
|
||||
extern Object_2F4 D_80163FE0[60];
|
||||
extern Object_408 D_8016F110[4];
|
||||
extern Object_8C D_80170130[100];
|
||||
extern Object_6C D_801737E0[20];
|
||||
extern Object_70 D_80174050[16];
|
||||
extern UnkStruct_D_80174750 D_80174750[100];
|
||||
extern UnkStruct_D_80175A10 D_80175A10[65];
|
||||
extern UnkStruct_D_80176438 D_80176438[10];
|
||||
extern Object_80 gObjects80[50];
|
||||
extern Object_4C gObjects4C[40];
|
||||
extern Object_2F4 gObjects2F4[60];
|
||||
extern Object_408 gObjects408[4];
|
||||
extern Object_8C gObjects8C[100];
|
||||
extern Object_6C gObjects6C[20];
|
||||
extern Object_70 gObjects70[16];
|
||||
extern UnkEntity30 gUnkEntities30[100];
|
||||
extern UnkEntity28 gUnkEntities28[65];
|
||||
extern UnkEntity1C gUnkEntities1C[10];
|
||||
extern s32 D_80176550[2];
|
||||
extern f32 D_80176558[2][100];
|
||||
extern f32 D_80176878[2][100];
|
||||
extern f32 D_80176B98[2][100];
|
||||
extern f32 D_801771D8[2][100];
|
||||
extern f32 D_80176EB8[2][100];
|
||||
extern s32 D_801774F8;
|
||||
extern s32 gOverlaySetup;
|
||||
extern f32 D_80177500[2][100];
|
||||
extern s32 D_80177820;
|
||||
extern s32 gOverlayStage;
|
||||
extern s32 D_80177824;
|
||||
extern u16 D_80177828;
|
||||
extern s32 D_8017782C;
|
||||
extern u8 D_80177830;
|
||||
extern s32 D_80177834;
|
||||
extern s32 gGameState;
|
||||
extern s32 D_80177838;
|
||||
extern s32 D_8017783C;
|
||||
extern s32 D_80177840;
|
||||
@ -359,14 +372,15 @@ extern s32 D_80177898;
|
||||
extern s32 D_8017789C;
|
||||
extern s32 D_801778A0;
|
||||
extern s32 D_801778A4;
|
||||
extern s32 D_801778A8;
|
||||
extern s32 gCamCount;
|
||||
extern u8 D_801778AB;
|
||||
extern s32 D_801778AC;
|
||||
extern s32 D_801778B0[];
|
||||
extern s32 D_801778B0[4];
|
||||
extern s32 D_801778C8;
|
||||
extern s32 D_801778D0[];
|
||||
extern s32 D_801778E8;
|
||||
extern u16 D_80177908[];
|
||||
extern s32 D_80177910[];
|
||||
extern u16 D_80177928[];
|
||||
extern s8 D_80177930;
|
||||
extern u16 D_80177938[];
|
||||
@ -387,7 +401,11 @@ extern s32 D_801779C8[];
|
||||
extern Vec3f D_801779D8;
|
||||
extern Vec3f D_801779E8;
|
||||
extern bool gExpertMode;
|
||||
extern s32 D_80177A10[10];
|
||||
extern f32 D_80177A48[10];
|
||||
extern s32 D_80177A70[4];
|
||||
extern s32 D_80177A80;
|
||||
extern s32 D_80177A88[4];
|
||||
extern s8 D_80177A98;
|
||||
extern f32 D_80177AA0[];
|
||||
extern u8 D_80177AB0;
|
||||
@ -402,16 +420,16 @@ extern s32 D_80177B40;
|
||||
extern s32 D_80177B48;
|
||||
extern s32 D_80177B50[];
|
||||
extern s32 D_80177B70[];
|
||||
extern u8 D_80177B8C;
|
||||
extern u8 D_80177B8C;
|
||||
extern s32 D_80177B90[];
|
||||
extern s32 D_80177BB0[];
|
||||
extern u16 D_80177C30[];
|
||||
extern s32 D_80177C50;
|
||||
extern u8 D_80177C74;
|
||||
extern s32 D_80177C80[];
|
||||
extern u8 gSoundMode;
|
||||
extern s32 gVolumeSettings[3];
|
||||
extern u16 D_80177C90;
|
||||
extern s32 D_80177C94;
|
||||
extern u8 D_80177C98;
|
||||
extern u8 gLevelType;
|
||||
extern s32 D_80177C9C;
|
||||
extern s32 D_80177CA0;
|
||||
extern s32 D_80177CA4;
|
||||
@ -419,21 +437,22 @@ extern s32 D_80177CAC;
|
||||
extern f32 D_80177CB0;
|
||||
extern s32 D_80177CB4;
|
||||
extern s32 D_80177CBC;
|
||||
extern f32 D_80177CC0;
|
||||
extern s32 D_80177CC4;
|
||||
extern f32 D_80177CC8;
|
||||
extern f32 D_80177D08;
|
||||
extern s32 D_80177D10[];
|
||||
extern s32 gRightWingHealth[4];
|
||||
extern f32 D_80177D20;
|
||||
extern s32 D_80177D28[];
|
||||
extern s32 gLeftWingHealth[4];
|
||||
extern f32 D_80177D38;
|
||||
extern s32 D_80177D40[];
|
||||
extern s32 D_80177D40[4];
|
||||
extern f32 D_80177D50;
|
||||
extern s32 D_80177D58[];
|
||||
extern s32 D_80177D58[4];
|
||||
extern f32 D_80177D68;
|
||||
extern s32 D_80177D70[];
|
||||
extern s32 D_80177D88[];
|
||||
extern s32 D_80177DA0[];
|
||||
extern s32 D_80177DB0;
|
||||
extern s32 D_80177D70[4];
|
||||
extern s32 D_80177D88[4];
|
||||
extern s32 gBombCount[4];
|
||||
extern s32 gFrameCount;
|
||||
extern s32 D_80177DC8;
|
||||
extern s32 D_80177E70;
|
||||
extern s32 D_80177E78;
|
||||
@ -441,10 +460,14 @@ extern s32 D_80177E80;
|
||||
extern Vec3f D_80177E88;
|
||||
extern Vec3f D_80177E98[10];
|
||||
extern Vec3f D_80177F10;
|
||||
extern f32 D_80177F24[];
|
||||
extern f32 D_8017802C[];
|
||||
extern s32 D_8017812C;
|
||||
extern s32 D_80178234;
|
||||
extern f32 D_80178134[];
|
||||
extern s32 gCurrentLevel;
|
||||
extern u8 D_80178238[];
|
||||
extern s32 D_8017827C;
|
||||
extern UnkStruct_D_80178280* D_80178280;
|
||||
extern Player* gPlayer;
|
||||
extern s32 D_80178284;
|
||||
extern f32* D_80178288;
|
||||
extern s32 D_8017828C;
|
||||
@ -473,78 +496,86 @@ extern s32 D_801782FC;
|
||||
extern s32 D_80178300;
|
||||
extern u16* D_80178308;
|
||||
extern ObjectInit* D_80178310;
|
||||
extern s32 D_80178320; //red
|
||||
extern s32 D_80178328; //green
|
||||
extern s32 D_80178330; //blue
|
||||
extern s32 D_80178338; //alpha
|
||||
extern s32 D_80178340;
|
||||
extern s32 D_80178348;
|
||||
extern s32 D_80178350;
|
||||
extern s32 D_80178354;
|
||||
extern s32 D_80178358;
|
||||
extern s32 D_8017835C;
|
||||
extern s32 D_80178360;
|
||||
extern s32 gFogRed;
|
||||
extern s32 gFogGreen;
|
||||
extern s32 gFogBlue;
|
||||
extern s32 gFogAlpha;
|
||||
extern s32 D_80178340; // alpha something
|
||||
extern s32 D_80178348; // red something
|
||||
extern s32 D_80178350; // green something
|
||||
extern s32 D_80178354; // blue something
|
||||
extern s32 D_80178358; // alpha target
|
||||
extern s32 D_8017835C; // alpha step
|
||||
extern s32 D_80178360; // 2 lights second color
|
||||
extern s32 D_80178364;
|
||||
extern s32 D_80178368;
|
||||
extern f32 D_8017836C;
|
||||
extern f32 D_8017836C; // 2 lights second color brightness
|
||||
extern f32 D_80178370;
|
||||
extern f32 D_80178374;
|
||||
extern f32 D_80178378;
|
||||
extern s32 D_80178380[];
|
||||
extern s32 D_80178390[];
|
||||
extern s32 D_801783A0[];
|
||||
extern s32 D_801783B0[];
|
||||
extern f32 D_801783D0;
|
||||
extern f32 D_801783D4;
|
||||
extern s32 D_801783D8; //near
|
||||
extern s32 D_801783DC; //far
|
||||
extern s32 D_80178380[]; // player alphas
|
||||
extern s32 D_80178390[]; // player reds
|
||||
extern s32 D_801783A0[]; // player greens
|
||||
extern s32 D_801783B0[]; // player alphas
|
||||
extern f32 D_801783D0; // something x translate
|
||||
extern f32 D_801783D4; // something y translate
|
||||
extern s32 gFogNear; //near
|
||||
extern s32 gFogFar; //far
|
||||
extern s32 D_80178410;
|
||||
extern f32 D_80178420;
|
||||
extern f32 D_80178424;
|
||||
extern f32 D_80178428;
|
||||
extern f32 D_8017842C;
|
||||
extern f32 D_80178430;
|
||||
extern f32 D_80178440;
|
||||
extern f32 D_80178444;
|
||||
extern f32 D_80178448;
|
||||
extern f32 D_8017847C;
|
||||
extern s32 D_80178480;
|
||||
extern s32 D_80178488;
|
||||
extern s32 D_801784A4;
|
||||
extern s32 D_801784AC;
|
||||
extern f32 D_801784B8;
|
||||
extern f32 D_801784B8; // effective Vec3f
|
||||
extern f32 D_801784BC;
|
||||
extern f32 D_801784C0;
|
||||
extern f32 D_801784C4;
|
||||
extern f32 D_801784C4; // effective Vec3f
|
||||
extern f32 D_801784C8;
|
||||
extern f32 D_801784CC;
|
||||
extern f32 D_801784D0;
|
||||
extern f32 D_801784D0; // effective Vec3f
|
||||
extern f32 D_801784D4;
|
||||
extern f32 D_801784D8;
|
||||
extern s32 D_801784DC;
|
||||
extern s32 D_801784E0;
|
||||
extern s32 D_801784E4;
|
||||
extern f32 D_801784F8;
|
||||
extern s32 gLight1x; // Vec3i light direction
|
||||
extern s32 gLight1y;
|
||||
extern s32 gLight1z;
|
||||
extern f32 D_801784E8;
|
||||
extern f32 D_801784EC; // effective Vec3f?
|
||||
extern f32 D_801784F0;
|
||||
extern f32 D_801784F4;
|
||||
extern f32 D_801784F8; // effective Vec3f
|
||||
extern f32 D_801784FC;
|
||||
extern f32 D_80178500;
|
||||
extern s32 D_80178504;
|
||||
extern s32 D_80178508;
|
||||
extern s32 D_8017850C;
|
||||
extern f32 D_80178520;
|
||||
extern s32 gLight2x; // Vec3i light direction alternate
|
||||
extern s32 gLight2y;
|
||||
extern s32 gLight2z;
|
||||
extern f32 D_80178520; // effective Vec3f
|
||||
extern f32 D_80178524;
|
||||
extern f32 D_80178528;
|
||||
extern f32 D_80178538;
|
||||
extern f32 D_8017853C;
|
||||
extern s32 D_80178540;
|
||||
extern s32 D_80178544;
|
||||
extern s32 D_80178548;
|
||||
extern s32 D_8017854C;
|
||||
extern s32 D_80178550;
|
||||
extern s32 D_80178554;
|
||||
extern s32 D_80178558;
|
||||
extern s32 D_8017855C;
|
||||
extern s32 D_80178564;
|
||||
extern s32 D_80178568;
|
||||
extern s32 D_8017856C;
|
||||
extern s32 D_80178570;
|
||||
extern s32 gLight1R; // Color32 light color 1
|
||||
extern s32 gLight1G;
|
||||
extern s32 gLight1B;
|
||||
extern s32 gAmbientR; // Color32 ambient color
|
||||
extern s32 gAmbientG;
|
||||
extern s32 gAmbientB;
|
||||
extern s32 gLight2R; // Color32 light color 2
|
||||
extern s32 gLight2G;
|
||||
extern s32 gLight2B;
|
||||
extern s32 D_80178570; // Color32 light color 2 modifier?
|
||||
extern s32 D_80178574;
|
||||
extern s32 D_80178578;
|
||||
extern s32 D_80178578;
|
||||
|
||||
// fox_rcp?
|
||||
extern u8 D_80178580[];
|
||||
@ -801,9 +832,9 @@ extern Gfx D_301E570[];
|
||||
extern Gfx D_301F140[];
|
||||
extern Gfx D_301FD20[];
|
||||
extern Gfx D_302D240[];
|
||||
extern UnkStruct_D_80161A68 D_302DD70[];
|
||||
extern UnkStruct_D_80161A68 D_302DDB4[];
|
||||
extern UnkStruct_D_80161A68 D_302DDF8[];
|
||||
extern EnvSettings D_302DD70[];
|
||||
extern EnvSettings D_302DDB4[];
|
||||
extern EnvSettings D_302DDF8[];
|
||||
extern ObjectInit D_302DE3C[];
|
||||
extern ObjectInit D_302E0E4[];
|
||||
extern ObjectInit D_302E170[];
|
||||
@ -817,10 +848,18 @@ extern f32 D_302EE80[];
|
||||
extern f32 D_302EE9C[];
|
||||
|
||||
// ast_918430, ast_922730
|
||||
extern AnimationHeader D_4000080;
|
||||
extern Limb* D_400014C[];
|
||||
extern AnimationHeader D_40001A4;
|
||||
extern Limb* D_4000270[];
|
||||
extern Gfx D_40018A0[];
|
||||
extern Gfx D_4003BD0[];
|
||||
extern AnimationHeader D_40057AC;
|
||||
extern Limb* D_40058B8[];
|
||||
extern Gfx D_4007870[];
|
||||
extern Gfx D_4007AF0[];
|
||||
extern AnimationHeader D_400A30C;
|
||||
extern Limb* D_400A398[];
|
||||
extern Gfx D_400B390[];
|
||||
|
||||
// ast_CD2410
|
||||
@ -853,13 +892,16 @@ extern Gfx D_500B600[];
|
||||
* ast_B0AA00, ast_B1CA50, ast_B2CA50, ast_B612E0, ast_B84560,
|
||||
* ast_BB11D0, ast_BC23D0, ast_BFC510, ast_C48F40, ast_DDC010
|
||||
*/
|
||||
|
||||
extern u16 D_6000000[];
|
||||
extern u16 D_6000900[];
|
||||
extern Gfx D_6000A80[];
|
||||
extern u16 D_6000B60[];
|
||||
extern Gfx D_6000E00[];
|
||||
extern Gfx D_6000E10[];
|
||||
extern Gfx D_6001360[];
|
||||
extern u16 D_6001820[];
|
||||
extern Gfx D_6001950[];
|
||||
extern Gfx D_6001A60[];
|
||||
extern u16 D_6001A80[];
|
||||
extern u8 D_6001B80[];
|
||||
@ -875,6 +917,7 @@ extern Gfx D_60034D0[];
|
||||
extern Gfx D_6003610[];
|
||||
extern Gfx D_60036A0[];
|
||||
extern u16 D_60038C0[];
|
||||
extern u16 D_60038F8[];
|
||||
extern Gfx D_6004170[];
|
||||
extern Gfx D_6004330[];
|
||||
extern Vtx D_6004500[];
|
||||
@ -885,10 +928,13 @@ extern u16 D_6005700[];
|
||||
extern Gfx D_6005780[];
|
||||
extern Gfx D_6006140[];
|
||||
extern Gfx D_6006310[];
|
||||
extern u16* D_600631C[];
|
||||
extern AnimationHeader D_600636C;
|
||||
extern f32 D_60064AC[];
|
||||
extern f32 D_60064C8[];
|
||||
extern f32 D_60064FC[];
|
||||
extern f32 D_6006518[];
|
||||
extern Limb* D_6006558[];
|
||||
extern f32 D_6006564[];
|
||||
extern f32 D_60065B0[];
|
||||
extern f32 D_60065FC[];
|
||||
@ -896,6 +942,7 @@ extern f32 D_6006648[];
|
||||
extern f32 D_6006694[];
|
||||
extern f32 D_60066E0_f32[];
|
||||
extern Gfx D_60066E0_Gfx[];
|
||||
extern Gfx D_60066F0[];
|
||||
extern f32 D_600672C[];
|
||||
extern f32 D_6006778[];
|
||||
extern f32 D_60067C4[];
|
||||
@ -929,12 +976,16 @@ extern Gfx D_6007CF0[];
|
||||
extern Gfx D_6007D80[];
|
||||
extern Gfx D_6007D90[];
|
||||
extern Gfx D_6008370[];
|
||||
extern Gfx D_6008970[];
|
||||
extern Gfx D_6008AA0[];
|
||||
extern f32 D_600924C[];
|
||||
extern f32 D_60092E8[];
|
||||
extern f32 D_6009388[];
|
||||
extern Gfx D_60097E0[];
|
||||
extern u16* D_6009B34[];
|
||||
extern f32 D_6009CC4[];
|
||||
extern f32 D_6009CFC[];
|
||||
extern Gfx D_6009E30[];
|
||||
extern Vtx D_6009ED0[];
|
||||
extern Gfx D_6009F90[];
|
||||
extern Gfx D_600A220[];
|
||||
@ -944,13 +995,19 @@ extern Gfx D_600B8B0[];
|
||||
extern Gfx D_600BAF0[];
|
||||
extern u16 D_600BEA0[];
|
||||
extern Gfx D_600BF80[];
|
||||
extern Gfx D_600C130[];
|
||||
extern u16 D_600C6A0[];
|
||||
extern Gfx D_600C740[];
|
||||
extern Vtx D_600C780[];
|
||||
extern Gfx D_600CAA0[];
|
||||
extern u16 D_600D5C0[];
|
||||
extern Gfx D_600D730[];
|
||||
extern Gfx D_600DA10[];
|
||||
extern Gfx D_600DBC0[];
|
||||
extern u8 D_600DDC0[];
|
||||
extern Gfx D_600E0C0[];
|
||||
extern u8 D_600E360[];
|
||||
extern AnimationHeader D_600E5EC;
|
||||
extern Gfx D_600E820[];
|
||||
extern u8 D_600E980[];
|
||||
extern Gfx D_600EC90[];
|
||||
@ -1000,12 +1057,15 @@ extern Gfx D_6012C00[];
|
||||
extern Gfx D_60132B0[];
|
||||
extern u8 D_6013470[];
|
||||
extern Gfx D_60137B0[];
|
||||
extern AnimationHeader D_6013820;
|
||||
extern Limb* D_601390C[];
|
||||
extern Gfx D_6013960[];
|
||||
extern Gfx D_6013B50[];
|
||||
extern u8 D_6014140[];
|
||||
extern Gfx D_60143E0[];
|
||||
extern Gfx D_6014500[];
|
||||
extern u16 D_6014510[];
|
||||
extern AnimationHeader D_6014658;
|
||||
extern Gfx D_6014670[];
|
||||
extern u16 D_60147C0[];
|
||||
extern u8 D_60147E0[];
|
||||
@ -1025,16 +1085,22 @@ extern f32 D_60166F4[];
|
||||
extern f32 D_6016714[];
|
||||
extern Gfx D_6018450[];
|
||||
extern Gfx D_60188D0[];
|
||||
extern Gfx D_6018BF0[];
|
||||
extern Gfx D_6018C00[]; // possible collision
|
||||
extern Gfx D_6018D40[];
|
||||
extern Gfx D_6018E80[];
|
||||
extern u16 D_6018F30[];
|
||||
extern Gfx D_6019730[];
|
||||
extern u16 D_6019E50[];
|
||||
extern Gfx D_601A120[];
|
||||
extern Gfx D_601A7A0[];
|
||||
extern Gfx D_601A7D0[];
|
||||
extern Gfx D_601AD70[];
|
||||
extern Gfx D_601AE40[];
|
||||
extern Gfx D_601B0D0[];
|
||||
extern u16* D_601B1E4[];
|
||||
extern u16 D_601B4B0[];
|
||||
extern f32 D_601B4C4[];
|
||||
extern f32 D_601B4E0[];
|
||||
extern f32 D_601B4FC[];
|
||||
extern f32 D_601B518[];
|
||||
@ -1069,15 +1135,20 @@ extern Limb* D_601E9D0[];
|
||||
extern Gfx D_601F1D0[];
|
||||
extern Gfx D_601F500[];
|
||||
extern Gfx D_601F5A0[];
|
||||
extern AnimationHeader D_601F874;
|
||||
extern Limb* D_601F920[];
|
||||
extern Gfx D_601FCB0[];
|
||||
extern Gfx D_601FF80[];
|
||||
extern Gfx D_60200E0[];
|
||||
extern Gfx D_6020760[];
|
||||
extern Gfx D_6020A30[];
|
||||
extern Gfx D_6020B40[];
|
||||
extern u16* D_6020DD0[];
|
||||
extern Gfx D_6020E60[];
|
||||
extern u16 D_6020FB0[];
|
||||
extern u16 D_6021ED0[];
|
||||
extern AnimationHeader D_602201C;
|
||||
extern Limb* D_60220E8[];
|
||||
extern Gfx D_60223C0[];
|
||||
extern Gfx D_6022450[];
|
||||
extern Gfx D_6022530[];
|
||||
@ -1101,10 +1172,13 @@ extern AnimationHeader D_6027320;
|
||||
extern u16 D_6027340[];
|
||||
extern Limb* D_602742C[];
|
||||
extern Gfx D_6027900[];
|
||||
extern u16* D_6027F50[];
|
||||
extern f32 D_6028454[];
|
||||
extern u16* D_60289FC[];
|
||||
extern AnimationHeader D_6029528;
|
||||
extern Limb* D_6029674[];
|
||||
extern Gfx D_602A720[];
|
||||
extern u16* D_602AAC0[];
|
||||
extern u16 D_602AC50[];
|
||||
extern ObjectInit* D_602B148[];
|
||||
extern Gfx D_602B4C0[];
|
||||
@ -1133,10 +1207,12 @@ extern Gfx D_602DCA0[];
|
||||
extern Gfx D_602E080[];
|
||||
extern Gfx D_602E380[];
|
||||
extern Gfx D_602E570[];
|
||||
extern UnkStruct_D_80161A68 D_602E584[];
|
||||
extern EnvSettings D_602E584[];
|
||||
extern Gfx D_602E7A0[];
|
||||
extern Gfx D_602E9E0[];
|
||||
extern ObjectInit* D_602F18C[];
|
||||
extern u16* D_602F3AC[];
|
||||
extern f32 D_602F638[];
|
||||
extern f32 D_602F684[];
|
||||
extern f32 D_602F6A0[];
|
||||
extern f32 D_602F6EC[];
|
||||
@ -1148,8 +1224,10 @@ extern Gfx D_602F7C0[];
|
||||
extern f32 D_602FA50[];
|
||||
extern Gfx D_6030500[];
|
||||
extern Gfx D_6030630[];
|
||||
extern u16* D_60308B8[];
|
||||
extern f32 D_6030B10[];
|
||||
extern ObjectInit D_6030B14[];
|
||||
extern f32 D_6030B14_f32[];
|
||||
extern f32 D_6030BE0[];
|
||||
extern f32 D_6030BFC[];
|
||||
extern f32 D_6030C18[];
|
||||
@ -1174,13 +1252,16 @@ extern f32 D_6031500[];
|
||||
extern f32 D_6031538[];
|
||||
extern f32 D_6031554[];
|
||||
extern f32 D_6031570[];
|
||||
extern u16* D_60320D0[];
|
||||
extern Gfx D_60320E0[];
|
||||
extern f32 D_6032328[];
|
||||
extern f32 D_6032408[];
|
||||
extern f32 D_6032488[];
|
||||
extern f32 D_60324EC[];
|
||||
extern f32 D_6032550[];
|
||||
extern Gfx D_6032580[];
|
||||
extern Gfx D_6032BC0[];
|
||||
extern u16* D_6032E18[];
|
||||
extern Gfx D_6033000[];
|
||||
extern f32 D_603405C[];
|
||||
extern f32 D_6034368[];
|
||||
@ -1238,7 +1319,9 @@ extern f32 D_603694C[];
|
||||
extern f32 D_6036968[];
|
||||
extern Gfx D_6036CD0[];
|
||||
extern Gfx D_6037CF0[];
|
||||
extern u16* D_60381D8[];
|
||||
extern ObjectInit D_603B074[];
|
||||
extern u16* D_603D9E8[];
|
||||
extern f32 D_603DCA4[];
|
||||
extern f32 D_603DD40[];
|
||||
extern f32 D_603DDF0[];
|
||||
@ -1286,6 +1369,7 @@ extern Gfx D_604A9F0[];
|
||||
extern Gfx D_605C230[];
|
||||
|
||||
// ast_9DD390, ast_A0E340, ast_BFA740, ast_CBFE70, ast_D27600
|
||||
extern Gfx D_7000000[];
|
||||
extern u8 D_7000F10[];
|
||||
extern u8 D_7001030[];
|
||||
extern u8 D_7001270[];
|
||||
@ -1297,6 +1381,8 @@ extern Gfx D_7007350[];
|
||||
extern Gfx D_700AB70[];
|
||||
extern Gfx D_700BB10[];
|
||||
extern Gfx D_700BE00[];
|
||||
extern AnimationHeader D_700CAF4;
|
||||
extern Limb* D_700CB60[];
|
||||
extern u16 D_700E9A0[];
|
||||
extern u8 D_70118E0[];
|
||||
extern u16 D_70123F8[];
|
||||
@ -1349,6 +1435,10 @@ extern Gfx D_8015550[];
|
||||
extern Gfx D_8015DF0[];
|
||||
|
||||
// ast_9F4880, ast_AE60A0, ast_CDDCA0
|
||||
extern Gfx D_9002CF0[];
|
||||
extern Gfx D_9003330[];
|
||||
extern Gfx D_9003890[];
|
||||
extern Gfx D_9003DF0[];
|
||||
extern Gfx D_9003F50[];
|
||||
extern Gfx D_9005C80[];
|
||||
extern Gfx D_900D180[];
|
||||
@ -1356,6 +1446,7 @@ extern Gfx D_900DD20[];
|
||||
extern Gfx D_900F060[];
|
||||
extern Gfx D_900F1D0[];
|
||||
extern Gfx D_9010FD0[];
|
||||
extern Gfx D_9011200[];
|
||||
extern Gfx D_901DA50[];
|
||||
extern Gfx D_9023290[];
|
||||
extern Gfx D_90234D0[];
|
||||
@ -1369,6 +1460,7 @@ extern Gfx D_A000000[];
|
||||
// ast_CE9E70
|
||||
extern Gfx D_C017440[];
|
||||
extern ObjectInit* D_C0356A4[];
|
||||
extern u16* D_C037E3C[];
|
||||
extern f32 D_C038A48[];
|
||||
extern f32 D_C038B40[];
|
||||
extern f32 D_C038B40[];
|
||||
@ -1390,8 +1482,10 @@ extern u16 D_D006B50[];
|
||||
extern u16 D_D007A70[];
|
||||
extern u16 D_D008990[];
|
||||
extern Gfx D_D0098B0[];
|
||||
extern Gfx D_D009A40[];
|
||||
extern Gfx D_D00B5C0[];
|
||||
extern Gfx D_D00B720[];
|
||||
extern Gfx D_D00B880[];
|
||||
|
||||
// ast_92EC40
|
||||
extern u16 D_E00E100[];
|
||||
|
@ -1,6 +1,24 @@
|
||||
D_800C90F0 = 0x800C90F0;
|
||||
__libm_qnan_f = 0x800C9570;
|
||||
D_1 = 0x1; //ignore:true
|
||||
D_80120000 = 0x80120000;//ignore:true
|
||||
D_80130001 = 0x80130001;//ignore:true
|
||||
D_80000000 = 0x80000000;//ignore:true
|
||||
D_80000001 = 0x80000001;//ignore:true
|
||||
D_80000002 = 0x80000002;//ignore:true
|
||||
D_80000003 = 0x80000003;//ignore:true
|
||||
D_80000004 = 0x80000004;//ignore:true
|
||||
D_80000005 = 0x80000005;//ignore:true
|
||||
D_80000006 = 0x80000006;//ignore:true
|
||||
D_80000007 = 0x80000007;//ignore:true
|
||||
D_80000008 = 0x80000008;//ignore:true
|
||||
D_80000009 = 0x80000009;//ignore:true
|
||||
D_8000000A = 0x8000000A;//ignore:true
|
||||
D_8000000B = 0x8000000B;//ignore:true
|
||||
D_8000000C = 0x8000000C;//ignore:true
|
||||
D_8000000D = 0x8000000D;//ignore:true
|
||||
D_8000000E = 0x8000000E;//ignore:true
|
||||
D_8000000F = 0x8000000F;//ignore:true
|
||||
|
||||
D_800C45E0 = 0x800C45E0;
|
||||
|
||||
@ -12,31 +30,19 @@ gZBuffer = 0x80282000;
|
||||
gFrameBuffers = 0x8038F800;
|
||||
gDmaTable = 0x80178A70; //size:0x5A0
|
||||
D_80178A70 = 0x80178A78; //ignore:true
|
||||
D_80151650 = 0x80151650; //ignore:true
|
||||
|
||||
D_80161A18 = 0x80161A18;//size:0x10
|
||||
D_801615D0 = 0x801615D0;//size:0xC
|
||||
D_801615E0 = 0x801615E0;//size:0xC
|
||||
D_800CFF80 = 0x800CFF80;//size:0x10
|
||||
|
||||
D_80161578 = 0x80161578;//size:0x30
|
||||
D_80161AA8 = 0x80161AA8;//size:0x10
|
||||
D_800CA23C = 0x800CA23C;//size:0x18
|
||||
D_800CA26C = 0x800CA26C;//size:0x20
|
||||
D_800CA260 = 0x800CA260;//size:0xC
|
||||
D_801613E0 = 0x801613E0;//size:0x18
|
||||
D_800CC124 = 0x800CC124;//type:u8
|
||||
|
||||
D_80161B00 = 0x80161B00; //size:0x1900
|
||||
D_80163400 = 0x80163400; //size:0xBE0
|
||||
D_80163FE0 = 0x80163FE0; //size:0xB130
|
||||
D_8016F110 = 0x8016F110; //size:0x1020
|
||||
D_80170130 = 0x80170130; //size:0x36B0
|
||||
D_801737E0 = 0x801737E0; //size:0x870
|
||||
D_80174050 = 0x80174050; //size:0x700
|
||||
D_80174750 = 0x80174750; //size:0x12C0
|
||||
D_80175A10 = 0x80175A10; //size:0xA28
|
||||
D_80176438 = 0x80176438; //size:0x18
|
||||
|
||||
gExpertMode = 0x801779F8;
|
||||
D_800C9E90 = 0x800C9E90;//size:0x70
|
||||
|
||||
D_800D3180 = 0x800D3180; // size:0x1E
|
||||
gSetupDLs = 0x800D31B0; // size:0x18C0
|
||||
@ -79,7 +85,6 @@ __pos_z = 0x8016199C;//type:f32
|
||||
Save_Checksum = 0x800C2FB0;
|
||||
Save_Write = 0x800C3084;
|
||||
Save_Read = 0x800C3194;
|
||||
gSaveFile = 0x80178870; //size:0x200
|
||||
|
||||
__rspboot_start = 0x80000450;//name_end:__rspboot_end
|
||||
__aspmain_start = 0x80000520;//name_end:__aspmain_end
|
||||
@ -88,7 +93,6 @@ gF3dexData = 0x800C3DD0;
|
||||
|
||||
sEFFA40_Overlay = 0x800CBD3C;
|
||||
|
||||
D_80177E88 = 0x80177E88; // size:0xC
|
||||
D_800CFA54 = 0x800CFA54;
|
||||
|
||||
D_800D934C = 0x800D934C; // force_migration:True
|
||||
@ -100,7 +104,6 @@ D_800D55E4_fake = 0x800D55E4; // force_migration:True
|
||||
D_800D8570 = 0x800D8570; // force_migration:True
|
||||
D_800D8594 = 0x800D8594; // force_migration:True
|
||||
D_800C93EC = 0x800C93EC; // force_migration:True
|
||||
D_80177B90 = 0x80177B90; // force_migration:True
|
||||
|
||||
D_DF4260_8019B1EC = 0x8019B1EC; // force_migration:True segment:ovl_DF4260
|
||||
D_E16C50_801C171C = 0x801C171C; // force_migration:True segment:ovl_E16C50
|
||||
|
@ -1,3 +1,7 @@
|
||||
// fox_enmy1
|
||||
Object_Kill = 0x80060FBC;
|
||||
|
||||
//fox_display
|
||||
Graphics_ClearPrintBuffer = 0x80099980;
|
||||
Graphics_Printf = 0x800999D8;
|
||||
Texture_Scroll = 0x80099A2C;
|
||||
@ -45,6 +49,7 @@ Graphics_GetSmallTextWidth = 0x800A13EC;
|
||||
func_800A1540 = 0x800A1540;
|
||||
func_800A1558 = 0x800A1558;
|
||||
|
||||
// fox_rcp
|
||||
RCP_SetupDL = 0x800B8DD0;
|
||||
RCP_SetFog = 0x800B8E14;
|
||||
RCP_SetupDL_0 = 0x800b8f18;
|
||||
@ -100,10 +105,30 @@ RCP_SetupDL_44 = 0x800BA5E0;
|
||||
RCP_SetupDL_50 = 0x800BA610;
|
||||
RCP_SetupDL_61 = 0x800BA640;
|
||||
|
||||
gTextCharTextures = 0x80179010;
|
||||
// fox_radio
|
||||
D_80178720 = 0x80178720;
|
||||
D_80178724 = 0x80178724;
|
||||
D_80178728 = 0x80178728;
|
||||
D_8017872C = 0x8017872C;
|
||||
D_80178730 = 0x80178730;
|
||||
D_80178734 = 0x80178734;
|
||||
D_80178738 = 0x80178738;
|
||||
D_8017873C = 0x8017873C;
|
||||
D_80178740 = 0x80178740;
|
||||
D_80178744 = 0x80178744;
|
||||
D_80178748 = 0x80178748;
|
||||
sCurrentMsgPri = 0x800D4A70;
|
||||
|
||||
func_800BA760 = 0x800BA760;
|
||||
func_800BA7BC = 0x800BA7BC;
|
||||
func_800BA808 = 0x800BA808;
|
||||
func_800BAAE8 = 0x800BAAE8;
|
||||
func_800BB388 = 0x800BB388;
|
||||
func_800BB5D0 = 0x800BB5D0;
|
||||
|
||||
// fox_message
|
||||
gTextCharTextures = 0x80179010;
|
||||
gMsgLookup = 0x80185CBC;
|
||||
gDefaultSave = 0x800D4D10;
|
||||
|
||||
Message_PtrFromId = 0x800C2830;
|
||||
Message_IdFromPtr = 0x800C2890;
|
||||
@ -113,3 +138,315 @@ Message_DisplayChar = 0x800C295C;
|
||||
Message_DisplayText = 0x800C2AF0;
|
||||
Message_DisplayScrollingText = 0x800C2D3C;
|
||||
Message_IsPrintingChar = 0x800C2F30;
|
||||
|
||||
// fox_save
|
||||
gDefaultSave = 0x800D4D10;
|
||||
gSaveFile = 0x80178870; //size:0x200
|
||||
|
||||
// fox_enmy1
|
||||
Object_80_Initialize = 0x80061364;
|
||||
Object_4C_Initialize = 0x80061394;
|
||||
Object_2F4_Initialize = 0x800613C4;
|
||||
Object_408_Initialize = 0x80061404;
|
||||
Object_6C_Initialize = 0x80061444;
|
||||
Object_8C_Initialize = 0x80061474;
|
||||
|
||||
// fox_A24B0
|
||||
D_80161A10 = 0x80161A10;
|
||||
D_80161A14 = 0x80161A14;
|
||||
D_80161A18 = 0x80161A18; //size:0x10
|
||||
D_80161A28 = 0x80161A28;
|
||||
D_80161A2C = 0x80161A2C;
|
||||
D_80161A2E = 0x80161A2E;
|
||||
gNextLevel = 0x80161A30;
|
||||
gNextGameState = 0x80161A32;
|
||||
D_80161A34 = 0x80161A34;
|
||||
gBgColor = 0x80161A36;
|
||||
gBlurAlpha = 0x80161A38;
|
||||
D_80161A39 = 0x80161A39;
|
||||
D_80161A3C = 0x80161A3C;
|
||||
D_80161A40 = 0x80161A40;
|
||||
D_80161A44 = 0x80161A44;
|
||||
D_800D2860 = 0x800D2860;
|
||||
D_800D2870 = 0x800D2870;
|
||||
D_800D2874 = 0x800D2874;
|
||||
D_800D2884 = 0x800D2884;
|
||||
D_800D2894 = 0x800D2894;
|
||||
D_800D28A4 = 0x800D28A4;
|
||||
sOverlaySetups = 0x800D28B4;
|
||||
|
||||
Game_Initialize = 0x800A18B0;
|
||||
Game_SetGameState = 0x800A1980;
|
||||
func_800A1B6C = 0x800A1B6C;
|
||||
func_800A1C14 = 0x800A1C14;
|
||||
func_800A1E68 = 0x800A1E68;
|
||||
func_800A1F44 = 0x800A1F44;
|
||||
func_800A1FB0 = 0x800A1FB0;
|
||||
func_800A24DC = 0x800A24DC;
|
||||
func_800A25DC = 0x800A25DC;
|
||||
func_800A26C0 = 0x800A26C0;
|
||||
func_800A3608 = 0x800A3608;
|
||||
|
||||
// sf_hud
|
||||
gMedalFlashTimer = 0x801617B8;
|
||||
gMedalStatus = 0x801617B4;
|
||||
|
||||
// sf_A4B50
|
||||
D_80161A50 = 0x80161A50;
|
||||
D_80161A54 = 0x80161A54;
|
||||
D_80161A5C = 0x80161A5C;
|
||||
D_80161A60 = 0x80161A60;
|
||||
D_80161A62 = 0x80161A62;
|
||||
D_80161A64 = 0x80161A64;
|
||||
sEnvSettings = 0x80161A68;
|
||||
D_80161A70 = 0x80161A70;
|
||||
D_80161A74 = 0x80161A74;
|
||||
D_80161A78 = 0x80161A78;
|
||||
D_80161A7C = 0x80161A7C;
|
||||
D_80161A80 = 0x80161A80;
|
||||
D_80161A84 = 0x80161A84;
|
||||
D_80161A88 = 0x80161A88;
|
||||
D_80161A8C = 0x80161A8C;
|
||||
gGoldRingCount = 0x80161A90;
|
||||
gHitCount = 0x80161A98;
|
||||
D_80161A9C = 0x80161A9C;
|
||||
gLifeCount = 0x80161AA0;
|
||||
gLaserStrength = 0x80161AA8;//size:0x10
|
||||
D_80161AB8 = 0x80161AB8;
|
||||
gObjects80 = 0x80161B00; //size:0x1900
|
||||
gObjects4C = 0x80163400; //size:0xBE0
|
||||
gObjects2F4 = 0x80163FE0; //size:0xB130
|
||||
gObjects408 = 0x8016F110; //size:0x1020
|
||||
gObjects8C = 0x80170130; //size:0x36B0
|
||||
gObjects6C = 0x801737E0; //size:0x870
|
||||
gObjects70 = 0x80174050; //size:0x700
|
||||
gUnkEntities30 = 0x80174750; //size:0x12C0
|
||||
gUnkEntities28 = 0x80175A10; //size:0xA28
|
||||
gUnkEntities1C = 0x80176438; //size:0x18
|
||||
D_80176550 = 0x80176550;
|
||||
D_80176558 = 0x80176558;
|
||||
D_80176878 = 0x80176878;
|
||||
D_80176B98 = 0x80176B98;
|
||||
D_80176EB8 = 0x80176EB8;
|
||||
D_801771D8 = 0x801771D8;
|
||||
gOverlaySetup = 0x801774F8;
|
||||
D_80177500 = 0x80177500;
|
||||
gOverlayStage = 0x80177820;
|
||||
D_80177824 = 0x80177824;
|
||||
D_80177828 = 0x80177828;
|
||||
D_8017782C = 0x8017782C;
|
||||
D_80177830 = 0x80177830;
|
||||
gGameState = 0x80177834;
|
||||
D_80177838 = 0x80177838;
|
||||
D_8017783C = 0x8017783C;
|
||||
D_80177840 = 0x80177840;
|
||||
D_80177848 = 0x80177848;
|
||||
D_8017784C = 0x8017784C;
|
||||
D_80177850 = 0x80177850;
|
||||
D_80177854 = 0x80177854;
|
||||
D_80177858 = 0x80177858;
|
||||
D_80177868 = 0x80177868;
|
||||
D_80177870 = 0x80177870;
|
||||
D_80177880 = 0x80177880;
|
||||
D_80177888 = 0x80177888;
|
||||
D_80177898 = 0x80177898;
|
||||
D_8017789C = 0x8017789C;
|
||||
D_801778A0 = 0x801778A0;
|
||||
D_801778A4 = 0x801778A4;
|
||||
gCamCount = 0x801778A8;
|
||||
D_801778AB = 0x801778AB;
|
||||
D_801778AC = 0x801778AC;
|
||||
D_801778B0 = 0x801778B0;
|
||||
D_801778C8 = 0x801778C8;
|
||||
D_801778D0 = 0x801778D0;
|
||||
D_801778E8 = 0x801778E8;
|
||||
D_80177908 = 0x80177908;
|
||||
D_80177910 = 0x80177910;
|
||||
D_80177928 = 0x80177928;
|
||||
D_80177930 = 0x80177930;
|
||||
D_80177938 = 0x80177938;
|
||||
D_80177940 = 0x80177940;
|
||||
D_80177948 = 0x80177948;
|
||||
D_80177950 = 0x80177950;
|
||||
D_80177958 = 0x80177958;
|
||||
D_80177978 = 0x80177978;
|
||||
D_8017797C = 0x8017797C;
|
||||
D_80177980 = 0x80177980;
|
||||
D_80177988 = 0x80177988;
|
||||
D_80177990 = 0x80177990;
|
||||
D_801779A0 = 0x801779A0;
|
||||
D_801779A8 = 0x801779A8;
|
||||
D_801779B8 = 0x801779B8;
|
||||
D_801779C0 = 0x801779C0;
|
||||
D_801779C8 = 0x801779C8;
|
||||
D_801779D8 = 0x801779D8;
|
||||
D_801779E8 = 0x801779E8;
|
||||
gExpertMode = 0x801779F8;
|
||||
D_80177A10 = 0x80177A10;//size:0x28
|
||||
D_80177A48 = 0x80177A48;//size:0x28
|
||||
D_80177A70 = 0x80177A70;//size:0x10
|
||||
D_80177A80 = 0x80177A80;
|
||||
D_80177A88 = 0x80177A88;//size:0x10
|
||||
D_80177A98 = 0x80177A98;
|
||||
D_80177AA0 = 0x80177AA0;
|
||||
D_80177AB0 = 0x80177AB0;
|
||||
D_80177AB8 = 0x80177AB8;
|
||||
D_80177AC8 = 0x80177AC8;
|
||||
D_80177AD0 = 0x80177AD0;
|
||||
D_80177AE0 = 0x80177AE0;
|
||||
D_80177AE8 = 0x80177AE8;
|
||||
D_80177AF8 = 0x80177AF8;
|
||||
D_80177B00 = 0x80177B00;
|
||||
D_80177B40 = 0x80177B40;
|
||||
D_80177B48 = 0x80177B48;
|
||||
D_80177B50 = 0x80177B50;
|
||||
D_80177B70 = 0x80177B70;
|
||||
D_80177B8C = 0x80177B8C;
|
||||
D_80177B90 = 0x80177B90;
|
||||
D_80177BB0 = 0x80177BB0;
|
||||
D_80177C30 = 0x80177C30;
|
||||
D_80177C50 = 0x80177C50;
|
||||
gSoundMode = 0x80177C74;
|
||||
gVolumeSettings = 0x80177C80;
|
||||
D_80177C90 = 0x80177C90;
|
||||
D_80177C94 = 0x80177C94;
|
||||
gLevelType = 0x80177C98;
|
||||
D_80177C9C = 0x80177C9C;
|
||||
D_80177CA0 = 0x80177CA0;
|
||||
D_80177CA4 = 0x80177CA4;
|
||||
D_80177CAC = 0x80177CAC;
|
||||
D_80177CB0 = 0x80177CB0;
|
||||
D_80177CB4 = 0x80177CB4;
|
||||
D_80177CBC = 0x80177CBC;
|
||||
D_80177CC4 = 0x80177CC4;
|
||||
D_80177CC8 = 0x80177CC8;
|
||||
D_80177D08 = 0x80177D08;
|
||||
gRightWingHealth = 0x80177D10;
|
||||
D_80177D20 = 0x80177D20;
|
||||
gLeftWingHealth = 0x80177D28;
|
||||
D_80177D38 = 0x80177D38;
|
||||
D_80177D40 = 0x80177D40;
|
||||
D_80177D50 = 0x80177D50;
|
||||
D_80177D58 = 0x80177D58;
|
||||
D_80177D68 = 0x80177D68;
|
||||
D_80177D70 = 0x80177D70;
|
||||
D_80177D88 = 0x80177D88;
|
||||
gBombCount = 0x80177DA0;
|
||||
gFrameCount = 0x80177DB0;
|
||||
D_80177DC8 = 0x80177DC8;
|
||||
D_80177E70 = 0x80177E70;
|
||||
D_80177E78 = 0x80177E78;
|
||||
D_80177E80 = 0x80177E80;
|
||||
D_80177E88 = 0x80177E88; // size:0xC
|
||||
D_80177E98 = 0x80177E98;
|
||||
D_80177F10 = 0x80177F10;
|
||||
D_8017812C = 0x8017812C;
|
||||
gCurrentLevel = 0x80178234;
|
||||
D_80178238 = 0x80178238;//size:4 type:u8
|
||||
D_8017827C = 0x8017827C;
|
||||
gPlayer = 0x80178280;
|
||||
D_80178284 = 0x80178284;
|
||||
D_80178288 = 0x80178288;
|
||||
D_8017828C = 0x8017828C;
|
||||
D_80178290 = 0x80178290;
|
||||
D_80178294 = 0x80178294;
|
||||
D_80178298 = 0x80178298;
|
||||
D_8017829C = 0x8017829C;
|
||||
D_801782A4 = 0x801782A4;
|
||||
D_801782AC = 0x801782AC;
|
||||
D_801782B4 = 0x801782B4;
|
||||
D_801782B8 = 0x801782B8;
|
||||
D_801782BC = 0x801782BC;
|
||||
D_801782C0 = 0x801782C0;
|
||||
D_801782D0 = 0x801782D0;
|
||||
D_801782D4 = 0x801782D4;
|
||||
D_801782D8 = 0x801782D8;
|
||||
D_801782E8 = 0x801782E8;
|
||||
D_801782F8 = 0x801782F8;
|
||||
D_801782FC = 0x801782FC;
|
||||
D_80178300 = 0x80178300;
|
||||
D_80178308 = 0x80178308;
|
||||
D_80178310 = 0x80178310;
|
||||
gFogRed = 0x80178320;
|
||||
gFogGreen = 0x80178328;
|
||||
gFogBlue = 0x80178330;
|
||||
gFogAlpha = 0x80178338;
|
||||
D_80178340 = 0x80178340;
|
||||
D_80178348 = 0x80178348;
|
||||
D_80178350 = 0x80178350;
|
||||
D_80178354 = 0x80178354;
|
||||
D_80178358 = 0x80178358;
|
||||
D_8017835C = 0x8017835C;
|
||||
D_80178360 = 0x80178360;
|
||||
D_80178364 = 0x80178364;
|
||||
D_80178368 = 0x80178368;
|
||||
D_8017836C = 0x8017836C;
|
||||
D_80178370 = 0x80178370;
|
||||
D_80178374 = 0x80178374;
|
||||
D_80178378 = 0x80178378;
|
||||
D_80178380 = 0x80178380;
|
||||
D_80178390 = 0x80178390;
|
||||
D_801783A0 = 0x801783A0;
|
||||
D_801783B0 = 0x801783B0;
|
||||
D_801783D0 = 0x801783D0;
|
||||
D_801783D4 = 0x801783D4;
|
||||
gFogNear = 0x801783D8;
|
||||
gFogFar = 0x801783DC;
|
||||
D_80178410 = 0x80178410;
|
||||
D_80178420 = 0x80178420;
|
||||
D_80178424 = 0x80178424;
|
||||
D_80178428 = 0x80178428;
|
||||
D_8017842C = 0x8017842C;
|
||||
D_80178430 = 0x80178430;
|
||||
D_80178440 = 0x80178440;
|
||||
D_80178444 = 0x80178444;
|
||||
D_80178448 = 0x80178448;
|
||||
D_8017847C = 0x8017847C;
|
||||
D_80178480 = 0x80178480;
|
||||
D_80178488 = 0x80178488;
|
||||
D_801784A4 = 0x801784A4;
|
||||
D_801784AC = 0x801784AC;
|
||||
D_801784B8 = 0x801784B8;
|
||||
D_801784BC = 0x801784BC;
|
||||
D_801784C0 = 0x801784C0;
|
||||
D_801784C4 = 0x801784C4;
|
||||
D_801784C8 = 0x801784C8;
|
||||
D_801784CC = 0x801784CC;
|
||||
D_801784D0 = 0x801784D0;
|
||||
D_801784D4 = 0x801784D4;
|
||||
D_801784D8 = 0x801784D8;
|
||||
gLight1x = 0x801784DC;
|
||||
gLight1y = 0x801784E0;
|
||||
gLight1z = 0x801784E4;
|
||||
D_801784E8 = 0x801784E8;
|
||||
D_801784EC = 0x801784EC;
|
||||
D_801784F0 = 0x801784F0;
|
||||
D_801784F4 = 0x801784F4;
|
||||
D_801784F8 = 0x801784F8;
|
||||
D_801784FC = 0x801784FC;
|
||||
D_80178500 = 0x80178500;
|
||||
gLight2x = 0x80178504;
|
||||
gLight2y = 0x80178508;
|
||||
gLight2z = 0x8017850C;
|
||||
D_80178520 = 0x80178520;
|
||||
D_80178524 = 0x80178524;
|
||||
D_80178528 = 0x80178528;
|
||||
D_80178538 = 0x80178538;
|
||||
D_8017853C = 0x8017853C;
|
||||
D_80178540 = 0x80178540;
|
||||
D_80178544 = 0x80178544;
|
||||
gLight1R = 0x80178548;
|
||||
gLight1G = 0x8017854C;
|
||||
gLight1B = 0x80178550;
|
||||
gAmbientR = 0x80178554;
|
||||
gAmbientG = 0x80178558;
|
||||
gAmbientB = 0x8017855C;
|
||||
gLight2R = 0x80178564;
|
||||
gLight2G = 0x80178568;
|
||||
gLight2B = 0x8017856C;
|
||||
D_80178570 = 0x80178570;
|
||||
D_80178574 = 0x80178574;
|
||||
D_80178578 = 0x80178578;
|
||||
|
||||
Play_GetMaxHealth = 0x800A3FC4;
|
||||
Play_CheckMedalStatus = 0x800A3F50;
|
||||
|
@ -401,6 +401,7 @@ D_600683C = 0x0600683C;
|
||||
D_6006858 = 0x06006858;
|
||||
D_6006890_f32 = 0x06006890;
|
||||
D_6006890_Gfx = 0x06006890;
|
||||
D_6030B14_f32 = 0x6030B14;
|
||||
D_60068BC = 0x060068BC;
|
||||
D_60068F0 = 0x060068F0;
|
||||
D_6006A3C = 0x06006A3C;
|
||||
|
File diff suppressed because it is too large
Load Diff
117
src/main/fox_43AC0.c
Normal file
117
src/main/fox_43AC0.c
Normal file
@ -0,0 +1,117 @@
|
||||
#include "global.h"
|
||||
|
||||
s32 D_801613A0;
|
||||
|
||||
s32 D_800C9E90[28] = {
|
||||
0x8012, 0x8013, 0x8015, 0x8017, 0x8017, 0x8019, 0x8018, 0x801B, 0x8016, 0x8018, 0x8012, 0x8020, 0x8014, 0x801E,
|
||||
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
||||
};
|
||||
|
||||
const f32 D_800D55D0[] = { 6000.0f, 18000.0f, -6000.0f, -18000.0f };
|
||||
|
||||
void func_80042EC0(Object_408* arg0) {
|
||||
s32 var_a3;
|
||||
f32 var_fv0;
|
||||
|
||||
if (D_801613A0 < 0xF00) {
|
||||
var_a3 = 10;
|
||||
} else if (D_801613A0 < 0x1680) {
|
||||
var_a3 = 5;
|
||||
} else if (D_801613A0 < 0x1E00) {
|
||||
var_a3 = 2;
|
||||
} else if (D_801613A0 < 0x2580) {
|
||||
var_a3 = 1;
|
||||
} else {
|
||||
var_a3 = 0;
|
||||
}
|
||||
if (var_a3 != 0) {
|
||||
var_fv0 = 0.0f;
|
||||
if (arg0->obj.id == OBJECT_292) {
|
||||
var_fv0 = 300.0f;
|
||||
} else if (arg0->obj.id == OBJECT_306) {
|
||||
var_fv0 = 200.0f;
|
||||
}
|
||||
func_80077240(arg0->obj.pos.x, arg0->obj.pos.y + var_fv0, arg0->obj.pos.z, var_a3);
|
||||
}
|
||||
gHitCount += var_a3 + 1;
|
||||
D_80177850 = 0xF;
|
||||
}
|
||||
|
||||
void func_80042FAC(Object_408* arg0) {
|
||||
}
|
||||
|
||||
void func_80042FB8(Object_408* arg0) {
|
||||
}
|
||||
|
||||
void func_80042FC4(Object_408* arg0) {
|
||||
}
|
||||
|
||||
void func_80042FD0(Object_408* arg0) {
|
||||
}
|
||||
|
||||
void func_80042FDC(Object_408* arg0) {
|
||||
}
|
||||
|
||||
void func_80042FE8(Object_408* arg0) {
|
||||
}
|
||||
|
||||
void func_80042FF4(Object_2F4* arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
||||
f32 arg9, f32 argA, s32 argB, s32 argC) {
|
||||
Object_2F4_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = OBJECT_189;
|
||||
arg0->unk_0B8 = argB;
|
||||
arg0->obj.pos.x = arg1;
|
||||
arg0->obj.pos.y = arg2;
|
||||
arg0->obj.pos.z = arg3;
|
||||
arg0->obj.rot.x = arg4;
|
||||
arg0->obj.rot.y = arg5;
|
||||
arg0->obj.rot.z = arg6;
|
||||
arg0->unk_0E8.x = arg7;
|
||||
arg0->unk_0E8.y = arg8;
|
||||
arg0->unk_0E8.z = arg9;
|
||||
arg0->unk_110 = argA;
|
||||
arg0->unk_0BC = argC;
|
||||
arg0->unk_0BE = 20;
|
||||
func_800612B8(&arg0->unk_01C, arg0->obj.id);
|
||||
if (gLevelType == 0) {
|
||||
arg0->unk_10C = 0.5f;
|
||||
}
|
||||
}
|
||||
|
||||
void func_800430DC(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8, f32 arg9,
|
||||
s32 argA, s32 argB) {
|
||||
s32 i;
|
||||
|
||||
for (i = 59; i >= 0; i--) {
|
||||
if (gObjects2F4[i].obj.status == 0) {
|
||||
func_80042FF4(&gObjects2F4[i], arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, argA, argB);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_80043188(Object_2F4* arg0) {
|
||||
arg0->unk_01C.unk_10 = 30000.0f;
|
||||
}
|
||||
|
||||
void func_8004319C(Player* arg0, f32 arg1, f32 arg2, f32 arg3) {
|
||||
func_800182F4(0x105000FF);
|
||||
func_800182F4(0x115000FF);
|
||||
|
||||
D_80177A80 = 0;
|
||||
D_80178448 = arg3 + D_80177D20;
|
||||
D_80178440 = arg1;
|
||||
D_80178444 = arg2;
|
||||
|
||||
arg0->unk_1C8 = 7;
|
||||
arg0->unk_1D0 = 10;
|
||||
arg0->unk_1F8 = 50;
|
||||
arg0->unk_1FC = 50;
|
||||
arg0->unk_000 = 0.0f;
|
||||
arg0->unk_004 = 1.0f;
|
||||
if (arg0->unk_074 < arg0->unk_0AC) {
|
||||
arg0->unk_004 = -1.0f;
|
||||
}
|
||||
gPlayer[0].unk_0C0.x = 0.0f;
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
#include "global.h"
|
||||
|
||||
s16 D_80161410;
|
||||
Vec3f D_801613B0[4];
|
||||
Vec3f D_801613E0[4];
|
||||
s16 D_80161410;
|
||||
|
||||
Matrix D_80161418[4];
|
||||
Vec3f D_80161518[4];
|
||||
Vec3f D_80161548[4];
|
||||
@ -30,7 +31,7 @@ void func_80051B30(void) {
|
||||
if ((D_80177854 == 0x64) || (D_800CA234 == NULL)) {
|
||||
return;
|
||||
}
|
||||
if ((D_800CA234->obj.status != 2) || (D_80178280->unk_1C8 != 3)) {
|
||||
if ((D_800CA234->obj.status != 2) || (gPlayer[0].unk_1C8 != 3)) {
|
||||
D_800CA234 = NULL;
|
||||
D_800CA238 = 0;
|
||||
return;
|
||||
@ -43,11 +44,11 @@ void func_80051B30(void) {
|
||||
}
|
||||
}
|
||||
if (!(D_800CA238 & 4)) {
|
||||
Matrix_RotateY(gCalcMatrix, D_80178280->unk_058, 0);
|
||||
Matrix_RotateX(gCalcMatrix, D_80178280->unk_05C, 1);
|
||||
sp68.x = D_800CA234->obj.pos.x - D_80178280->unk_040.x;
|
||||
sp68.y = D_800CA234->obj.pos.y - D_80178280->unk_040.y;
|
||||
sp68.z = D_800CA234->obj.pos.z + D_80177D20 - D_80178280->unk_040.z;
|
||||
Matrix_RotateY(gCalcMatrix, gPlayer[0].unk_058, 0);
|
||||
Matrix_RotateX(gCalcMatrix, gPlayer[0].unk_05C, 1);
|
||||
sp68.x = D_800CA234->obj.pos.x - gPlayer[0].unk_040.x;
|
||||
sp68.y = D_800CA234->obj.pos.y - gPlayer[0].unk_040.y;
|
||||
sp68.z = D_800CA234->obj.pos.z + D_80177D20 - gPlayer[0].unk_040.z;
|
||||
Matrix_MultVec3f(gCalcMatrix, &sp68, &sp5C);
|
||||
sp7C = 0;
|
||||
if ((sp5C.z < 0.0f) && (sp5C.z > -12000.0f) && (fabsf(sp5C.x) < fabsf(sp5C.z * 0.4f))) {
|
||||
@ -121,7 +122,7 @@ void func_80051B30(void) {
|
||||
}
|
||||
|
||||
s32 func_800520FC(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* data) {
|
||||
UnkStruct_D_80178280* arg4 = (UnkStruct_D_80178280*) data;
|
||||
Player* arg4 = (Player*) data;
|
||||
|
||||
gSPSetGeometryMode(gMasterDisp++, G_CULL_BACK);
|
||||
if (arg4->unk_1C4 == 1) {
|
||||
@ -178,7 +179,7 @@ s32 func_800520FC(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* dat
|
||||
|
||||
void func_800523A8(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
Vec3f sp1C;
|
||||
UnkStruct_D_80178280* arg2 = (UnkStruct_D_80178280*) data;
|
||||
Player* arg2 = (Player*) data;
|
||||
|
||||
if (limbIndex == 0xB) {
|
||||
sp1C.x = 3.0f;
|
||||
@ -190,7 +191,7 @@ void func_800523A8(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
|
||||
void func_80052420(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
Vec3f sp1C;
|
||||
UnkStruct_D_80178280* arg2 = (UnkStruct_D_80178280*) data;
|
||||
Player* arg2 = (Player*) data;
|
||||
|
||||
if (limbIndex == 0x10) {
|
||||
sp1C.x = 13.0f;
|
||||
@ -202,7 +203,7 @@ void func_80052420(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
|
||||
void func_80052498(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
Vec3f sp1C;
|
||||
UnkStruct_D_80178280* arg2 = (UnkStruct_D_80178280*) data;
|
||||
Player* arg2 = (Player*) data;
|
||||
|
||||
if (limbIndex == 0xB) {
|
||||
sp1C.x = 0.0f;
|
||||
@ -214,7 +215,7 @@ void func_80052498(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
|
||||
void func_8005250C(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
Vec3f sp1C;
|
||||
UnkStruct_D_80178280* arg2 = (UnkStruct_D_80178280*) data;
|
||||
Player* arg2 = (Player*) data;
|
||||
|
||||
if (limbIndex == 0xB) {
|
||||
sp1C.x = 19.0f;
|
||||
@ -224,7 +225,7 @@ void func_8005250C(s32 limbIndex, Vec3f* rot, void* data) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80052584(UnkStruct_D_80178280* arg0) {
|
||||
void func_80052584(Player* arg0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Copy(gGfxMatrix, &gIdentityMatrix);
|
||||
if ((arg0->unk_1C8 == 3) && (arg0->unk_1F8 != 0)) {
|
||||
@ -240,7 +241,7 @@ void func_80052584(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
|
||||
void func_800526B8(UnkStruct_D_80178280* arg0) {
|
||||
void func_800526B8(Player* arg0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Scale(gCalcMatrix, 0.5f, 0.5f, 0.5f, 1);
|
||||
Matrix_Translate(gCalcMatrix, 0.0f, 35.0f, 0.0f, 1);
|
||||
@ -264,7 +265,7 @@ void func_800526B8(UnkStruct_D_80178280* arg0) {
|
||||
|
||||
// Vec3f D_800CA254 = {0.0f, 0.0f, 90.0f};
|
||||
// Vec3f D_800CA260 = {0.0f, 40.0f, -70.0f};
|
||||
void func_80052884(UnkStruct_D_80178280* arg0) {
|
||||
void func_80052884(Player* arg0) {
|
||||
f32 sp64;
|
||||
Vec3f sp58;
|
||||
Vec3f sp4C = { 0.0f, 0.0f, 90.0f };
|
||||
@ -283,7 +284,7 @@ void func_80052884(UnkStruct_D_80178280* arg0) {
|
||||
if (D_801778A0 == arg0->unk_1C4) {
|
||||
sp64 = 0.0f;
|
||||
if (D_801779C8[arg0->unk_1C4] >= 20) {
|
||||
sp64 = (f32) (D_80177DB0 & 7) * 80.0f;
|
||||
sp64 = (f32) (gFrameCount & 7) * 80.0f;
|
||||
}
|
||||
sp58.x = 0.0f;
|
||||
sp58.y = 0.0f;
|
||||
@ -314,7 +315,7 @@ f32 D_800CA294 = -10.0f;
|
||||
f32 D_800CA298[] = { 0.0f, 0.0f, 0.0f, 0.0f };
|
||||
f32 D_800CA2A8 = 0.0f;
|
||||
|
||||
void func_80052B80(UnkStruct_D_80178280* arg0) {
|
||||
void func_80052B80(Player* arg0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
if ((arg0->unk_1C8 == 3) && (arg0->unk_1A0 != 0)) {
|
||||
Matrix_Translate(gGfxMatrix, D_80161548[arg0->unk_1C4].x, D_80161548[arg0->unk_1C4].y,
|
||||
@ -338,7 +339,7 @@ void func_80052B80(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
|
||||
void func_80052D48(UnkStruct_D_80178280* arg0) {
|
||||
void func_80052D48(Player* arg0) {
|
||||
f32 sp2C;
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
@ -356,13 +357,13 @@ void func_80052D48(UnkStruct_D_80178280* arg0) {
|
||||
if (D_801778E8 == 0) {
|
||||
sp2C *= 1.1f;
|
||||
}
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
sp2C *= 1.1f;
|
||||
}
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, 20.0f, 30.0f, -10.0f, 1);
|
||||
if (D_801778E8 == 0) {
|
||||
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -gPlayer[D_801778A0].unk_058, 1);
|
||||
}
|
||||
Matrix_Scale(gGfxMatrix, sp2C, sp2C, sp2C, 1);
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, -30.0f, 0.0f, 1);
|
||||
@ -379,13 +380,13 @@ void func_80052D48(UnkStruct_D_80178280* arg0) {
|
||||
if (D_801778E8 == 0) {
|
||||
sp2C *= 1.1f;
|
||||
}
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
sp2C *= 1.1f;
|
||||
}
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, -20.0f, 30.0f, -10.0f, 1);
|
||||
if (D_801778E8 == 0) {
|
||||
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -gPlayer[D_801778A0].unk_058, 1);
|
||||
}
|
||||
Matrix_Scale(gGfxMatrix, sp2C, sp2C, sp2C, 1);
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, -30.0f, 0.0f, 1);
|
||||
@ -407,19 +408,19 @@ void func_8005314C(void) {
|
||||
}
|
||||
}
|
||||
|
||||
s32 func_800531A4(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* wingData) {
|
||||
UnkStruct_D_80161630* wings = (UnkStruct_D_80161630*) wingData;
|
||||
bool func_800531A4(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* wingData) {
|
||||
WingInfo* wings = (WingInfo*) wingData;
|
||||
|
||||
if ((D_800CA22C != 0) && (D_80178280->unk_200 == 0)) {
|
||||
if ((D_800CA22C != 0) && (gPlayer[0].unk_200 == 0)) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x1D);
|
||||
func_8005314C();
|
||||
}
|
||||
switch (limbIndex) {
|
||||
case 13:
|
||||
if (wings->unk_00 == 0) {
|
||||
if (wings->rightState == 0) {
|
||||
*gfxPtr = NULL;
|
||||
}
|
||||
if (wings->unk_00 == 1) {
|
||||
if (wings->rightState == 1) {
|
||||
*gfxPtr = D_3015120;
|
||||
}
|
||||
if ((D_800CA22C != 0) && (D_80177D40[0] & 1)) {
|
||||
@ -434,7 +435,7 @@ s32 func_800531A4(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* win
|
||||
break;
|
||||
case 1:
|
||||
case 2:
|
||||
if (wings->unk_00 != 2) {
|
||||
if (wings->rightState != 2) {
|
||||
*gfxPtr = NULL;
|
||||
}
|
||||
if ((D_800CA22C != 0) && (D_80177D40[0] & 1)) {
|
||||
@ -448,10 +449,10 @@ s32 func_800531A4(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* win
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
if (wings->unk_00 == 0) {
|
||||
if (wings->rightState == 0) {
|
||||
*gfxPtr = NULL;
|
||||
}
|
||||
if (wings->unk_01 == 1) {
|
||||
if (wings->leftState == 1) {
|
||||
*gfxPtr = D_3014BF0;
|
||||
}
|
||||
if ((D_800CA22C != 0) && (D_80177D58[0] & 1)) {
|
||||
@ -466,7 +467,7 @@ s32 func_800531A4(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* win
|
||||
break;
|
||||
case 5:
|
||||
case 6:
|
||||
if (wings->unk_01 != 2) {
|
||||
if (wings->leftState != 2) {
|
||||
*gfxPtr = NULL;
|
||||
}
|
||||
if ((D_800CA22C != 0) && (D_80177D58[0] & 1)) {
|
||||
@ -508,10 +509,10 @@ s32 func_800531A4(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos, Vec3f* rot, void* win
|
||||
pos->x += wings->unk_18;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
void func_80053658(UnkStruct_D_80161630* arg0) {
|
||||
void func_80053658(WingInfo* arg0) {
|
||||
Vec3f sp68[30];
|
||||
s32 sp64;
|
||||
|
||||
@ -520,10 +521,10 @@ void func_80053658(UnkStruct_D_80161630* arg0) {
|
||||
if (arg0->unk_14 < -7.0f) {
|
||||
arg0->unk_18 = (-arg0->unk_14 - 7.0f) * 2.5f;
|
||||
}
|
||||
if (D_80177834 == 7) {
|
||||
Animation_DrawSkeleton(1, D_3016610, D_80178280[0].jointTable, func_800531A4, NULL, arg0, &gIdentityMatrix);
|
||||
if (gGameState == GSTATE_PLAY) {
|
||||
Animation_DrawSkeleton(1, D_3016610, gPlayer[0].jointTable, func_800531A4, NULL, arg0, &gIdentityMatrix);
|
||||
} else {
|
||||
if (D_80177834 == 3) {
|
||||
if (gGameState == GSTATE_MENU) {
|
||||
Animation_GetFrameData(&D_3015AF4, 0, sp68);
|
||||
} else {
|
||||
Animation_GetFrameData(&D_3015C28, 0, sp68);
|
||||
@ -540,8 +541,8 @@ void func_80053658(UnkStruct_D_80161630* arg0) {
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, 6.4f, -16.5f, 1);
|
||||
Matrix_RotateY(gGfxMatrix, arg0->unk_34 * M_DTOR, 1);
|
||||
Matrix_RotateX(gGfxMatrix, arg0->unk_30 * M_DTOR, 1);
|
||||
Matrix_Scale(gGfxMatrix, 0.0140994005f, 0.0140994005f, 0.0140994005f, 1);
|
||||
if (D_80177834 == 8) {
|
||||
Matrix_Scale(gGfxMatrix, 1.0f / 70.925f, 1.0f / 70.925f, 1.0f / 70.925f, 1);
|
||||
if (gGameState == GSTATE_CREDITS) {
|
||||
Matrix_Scale(gGfxMatrix, 0.95f, 0.95f, 0.95f, 1);
|
||||
}
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
@ -556,7 +557,7 @@ void func_80053658(UnkStruct_D_80161630* arg0) {
|
||||
Matrix_RotateX(gGfxMatrix, arg0->unk_38 * M_DTOR, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
RCP_SetupDL_64_2();
|
||||
if ((D_80177834 == 7) && (D_80178280->unk_1C8 == 2) && (D_80178234 == 0)) {
|
||||
if ((gGameState == GSTATE_PLAY) && (gPlayer[0].unk_1C8 == 2) && (gCurrentLevel == LEVEL_CORNERIA)) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 120);
|
||||
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
|
||||
gSPDisplayList(gMasterDisp++, D_30194E0);
|
||||
@ -590,14 +591,14 @@ void func_80053B18(void) {
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
|
||||
void func_80053C38(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
void func_80053C38(Player* arg0, s32 arg1) {
|
||||
Vec3f sp4C;
|
||||
f32 sp48;
|
||||
|
||||
if ((D_801778A0 == arg0->unk_1C4) && (arg1 == 0)) {
|
||||
sp48 = 0.0f;
|
||||
if (D_801779C8[arg0->unk_1C4] >= 20) {
|
||||
sp48 = (f32) (D_80177DB0 & 7) * 80.0f;
|
||||
sp48 = (f32) (gFrameCount & 7) * 80.0f;
|
||||
}
|
||||
sp4C.x = 0.0f;
|
||||
sp4C.y = 0.0f;
|
||||
@ -618,33 +619,33 @@ void func_80053C38(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
}
|
||||
} else {
|
||||
if (D_801778E8 != 0) {
|
||||
if ((arg0->unk_49C.unk_00 == 2) && (arg0->unk_49C.unk_01 == 2)) {
|
||||
if ((arg0->wings.rightState == 2) && (arg0->wings.leftState == 2)) {
|
||||
gSPDisplayList(gMasterDisp++, D_300EE80);
|
||||
} else if ((arg0->unk_49C.unk_00 < 2) && (arg0->unk_49C.unk_01 == 2)) {
|
||||
} else if ((arg0->wings.rightState <= 1) && (arg0->wings.leftState == 2)) {
|
||||
gSPDisplayList(gMasterDisp++, D_3010A90);
|
||||
} else if ((arg0->unk_49C.unk_00 == 2) && (arg0->unk_49C.unk_01 < 2)) {
|
||||
} else if ((arg0->wings.rightState == 2) && (arg0->wings.leftState <= 1)) {
|
||||
gSPDisplayList(gMasterDisp++, D_3011470);
|
||||
} else {
|
||||
gSPDisplayList(gMasterDisp++, D_300D550);
|
||||
}
|
||||
} else {
|
||||
if ((D_80177C98 == 1) || (D_80178234 == 0x11)) {
|
||||
arg0->unk_49C.unk_28 = arg0->unk_49C.unk_04 = arg0->unk_49C.unk_08 = arg0->unk_49C.unk_0C =
|
||||
arg0->unk_49C.unk_10 = 0.0f;
|
||||
if ((gLevelType == 1) || (gCurrentLevel == LEVEL_BOLSE)) {
|
||||
arg0->wings.unk_28 = arg0->wings.unk_04 = arg0->wings.unk_08 = arg0->wings.unk_0C = arg0->wings.unk_10 =
|
||||
0.0f;
|
||||
}
|
||||
D_800CA22C = 1;
|
||||
D_80161410 = arg1;
|
||||
func_80053658(&arg0->unk_49C);
|
||||
func_80053658(&arg0->wings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_80053F7C(UnkStruct_D_80178280* arg0) {
|
||||
void func_80053F7C(Player* arg0) {
|
||||
Vec3f* pad;
|
||||
s32 i;
|
||||
|
||||
if ((D_801778A0 == arg0->unk_1C4) && ((arg0->unk_1CC == 0) || (arg0->unk_1CC == 1)) && (arg0->unk_234 != 0) &&
|
||||
(((D_80177834 == 7) && (arg0->unk_1C8 == 3)) || (D_80177834 == 3))) {
|
||||
(((gGameState == GSTATE_PLAY) && (arg0->unk_1C8 == 3)) || (gGameState == GSTATE_MENU))) {
|
||||
for (i = 0; i < 2; i++) {
|
||||
pad = &D_801613E0[i];
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
@ -674,7 +675,7 @@ void func_80053F7C(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80054280(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
void func_80054280(Player* arg0, s32 arg1) {
|
||||
switch (arg0->unk_1CC) {
|
||||
case 0:
|
||||
func_80053C38(arg0, arg1);
|
||||
@ -691,7 +692,7 @@ void func_80054280(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80054300(UnkStruct_D_80178280* arg0) {
|
||||
void func_80054300(Player* arg0) {
|
||||
Math_SmoothStepToF(&D_800CA2A8, arg0->unk_23C, 1.0f, 10.0f, 0.0f);
|
||||
RCP_SetupDL(&gMasterDisp, 0x42);
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 0, 0, 0, (s32) D_800CA2A8);
|
||||
@ -716,7 +717,7 @@ void func_80054300(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Scale(gGfxMatrix, 1.17f, 1.17f, 1.17f, 1);
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, 20.0f, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
if (D_80178234 == 0xB) {
|
||||
if (gCurrentLevel == LEVEL_MACBETH) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x41);
|
||||
}
|
||||
if (D_801778E8 == 0) {
|
||||
@ -762,7 +763,7 @@ void func_8005465C(s32 arg0) {
|
||||
gSPDisplayList(gMasterDisp++, D_1024AC0);
|
||||
}
|
||||
|
||||
void func_8005478C(UnkStruct_D_80178280* arg0) {
|
||||
void func_8005478C(Player* arg0) {
|
||||
RCP_SetupDL_64();
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 100);
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
@ -776,17 +777,17 @@ void func_8005478C(UnkStruct_D_80178280* arg0) {
|
||||
} else {
|
||||
Matrix_Scale(gGfxMatrix, arg0->unk_194, arg0->unk_194, 1.0f, 1);
|
||||
}
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
Matrix_Scale(gGfxMatrix, 0.9f, 0.63f, 1.0f, 1);
|
||||
} else {
|
||||
Matrix_Scale(gGfxMatrix, 0.80999994f, 0.567f, 1.0f, 1);
|
||||
}
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
func_8005465C(D_80177C98);
|
||||
func_8005465C(gLevelType);
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
|
||||
void func_80054914(UnkStruct_D_80178280* arg0) {
|
||||
void func_80054914(Player* arg0) {
|
||||
f32 sp4C;
|
||||
Vec3f sp40;
|
||||
Vec3f sp34;
|
||||
@ -807,9 +808,9 @@ void func_80054914(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, arg0->unk_074 + sp34.x, arg0->unk_078 + sp34.y,
|
||||
arg0->unk_138 + arg0->unk_144 + sp34.z, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateX(gGfxMatrix, D_80178280[D_801778A0].unk_05C, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, D_80177DB0 * 20.0f * sp4C * M_DTOR, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -gPlayer[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateX(gGfxMatrix, gPlayer[D_801778A0].unk_05C, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, gFrameCount * 20.0f * sp4C * M_DTOR, 1);
|
||||
if (arg0->unk_1CC == 0) {
|
||||
Matrix_Scale(gGfxMatrix, 2.0f, 2.0f, 2.0f, 1);
|
||||
} else {
|
||||
@ -827,7 +828,7 @@ void func_80054914(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80054CA4(UnkStruct_D_80178280* arg0) {
|
||||
void func_80054CA4(Player* arg0) {
|
||||
if (D_80177AB8[arg0->unk_1C4] > 1.0f) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Copy(gGfxMatrix, &D_80161418[arg0->unk_1C4]);
|
||||
@ -848,7 +849,7 @@ void func_80054CA4(UnkStruct_D_80178280* arg0) {
|
||||
// Vec3f D_800CA2B8 = {0.0f, -14.0f, 60.0f};
|
||||
// Vec3f D_800CA2C4 = {30.0f, -10.0f, 30.0f};
|
||||
// Vec3f D_800CA2D0 = {-30.0f, -10.0f, 30.0f};
|
||||
void func_80054E80(UnkStruct_D_80178280* arg0) {
|
||||
void func_80054E80(Player* arg0) {
|
||||
Vec3f spC4 = { 0.0f, -5.0f, 60.0f };
|
||||
Vec3f spB8 = { 0.0f, -14.0f, 60.0f };
|
||||
Vec3f spAC = { 30.0f, -10.0f, 30.0f };
|
||||
@ -858,7 +859,7 @@ void func_80054E80(UnkStruct_D_80178280* arg0) {
|
||||
u8 var_v1;
|
||||
f32 sp80;
|
||||
|
||||
if (D_801779C8[arg0->unk_1C4] >= 0xB) {
|
||||
if (D_801779C8[arg0->unk_1C4] > 10) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x43);
|
||||
Matrix_Copy(gCalcMatrix, &D_80161418[arg0->unk_1C4]);
|
||||
if ((arg0->unk_238 != 0) && (D_80177880 == 0)) {
|
||||
@ -896,10 +897,10 @@ void func_80054E80(UnkStruct_D_80178280* arg0) {
|
||||
} else {
|
||||
gDPSetEnvColor(gMasterDisp++, 0, 255, 0, 128);
|
||||
}
|
||||
Matrix_RotateZ(gGfxMatrix, D_80177DB0 * 53.0f * M_DTOR, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, gFrameCount * 53.0f * M_DTOR, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gSPDisplayList(gMasterDisp++, D_101C2E0);
|
||||
Matrix_RotateZ(gGfxMatrix, D_80177DB0 * -53.0f * 2.0f * M_DTOR, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, gFrameCount * -53.0f * 2.0f * M_DTOR, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gSPDisplayList(gMasterDisp++, D_101C2E0);
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
@ -907,7 +908,7 @@ void func_80054E80(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Scale(gGfxMatrix, 0.3f, 0.3f, 0.3f, 1);
|
||||
}
|
||||
Matrix_Scale(gGfxMatrix, 0.5f, 0.5f, 1.0f, 1);
|
||||
if (!(D_80177DB0 & 1)) {
|
||||
if (!(gFrameCount & 1)) {
|
||||
Matrix_Scale(gGfxMatrix, 1.7f, 1.7f, 1.0f, 1);
|
||||
} else {
|
||||
Matrix_Scale(gGfxMatrix, 1.3f, 1.3f, 1.0f, 1);
|
||||
@ -920,8 +921,8 @@ void func_80054E80(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
RCP_SetupDL(&gMasterDisp, 0x43);
|
||||
Matrix_Copy(gCalcMatrix, &D_80161418[arg0->unk_1C4]);
|
||||
var_v1 = D_80161AA8[arg0->unk_1C4];
|
||||
if (arg0->unk_49C.unk_14 > -8.0f) {
|
||||
var_v1 = gLaserStrength[arg0->unk_1C4];
|
||||
if (arg0->wings.unk_14 > -8.0f) {
|
||||
var_v1 = 0;
|
||||
}
|
||||
switch (var_v1) {
|
||||
@ -969,7 +970,7 @@ void func_80054E80(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80055788(UnkStruct_D_80178280* arg0) {
|
||||
void func_80055788(Player* arg0) {
|
||||
f32 sp54;
|
||||
|
||||
if (D_801779C8[arg0->unk_1C4] >= 0xB) {
|
||||
@ -1001,15 +1002,15 @@ void func_80055788(UnkStruct_D_80178280* arg0) {
|
||||
} else {
|
||||
gDPSetEnvColor(gMasterDisp++, 0, 255, 0, 128);
|
||||
}
|
||||
Matrix_RotateZ(gGfxMatrix, D_80177DB0 * 53.0f * M_DTOR, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, gFrameCount * 53.0f * M_DTOR, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gSPDisplayList(gMasterDisp++, D_101C2E0);
|
||||
Matrix_RotateZ(gGfxMatrix, D_80177DB0 * -53.0f * 2.0f * M_DTOR, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, gFrameCount * -53.0f * 2.0f * M_DTOR, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gSPDisplayList(gMasterDisp++, D_101C2E0);
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
Matrix_Scale(gGfxMatrix, 0.5f, 0.5f, 1.0f, 1);
|
||||
if (!(D_80177DB0 & 1)) {
|
||||
if (!(gFrameCount & 1)) {
|
||||
Matrix_Scale(gGfxMatrix, 1.7f, 1.7f, 1.0f, 1);
|
||||
} else {
|
||||
Matrix_Scale(gGfxMatrix, 1.3f, 1.3f, 1.0f, 1);
|
||||
@ -1020,7 +1021,7 @@ void func_80055788(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80055B58(UnkStruct_D_80178280* arg0) {
|
||||
void func_80055B58(Player* arg0) {
|
||||
Vec3f sp4C;
|
||||
Vec3f sp40;
|
||||
f32 var_fv0;
|
||||
@ -1048,8 +1049,8 @@ void func_80055B58(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, arg0->unk_074 + sp40.x, arg0->unk_078 + sp40.y,
|
||||
arg0->unk_138 + arg0->unk_144 + sp40.z, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateX(gGfxMatrix, D_80178280[D_801778A0].unk_05C, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -gPlayer[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateX(gGfxMatrix, gPlayer[D_801778A0].unk_05C, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
func_8005478C(arg0);
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
@ -1074,7 +1075,7 @@ void func_80055B58(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80055E98(UnkStruct_D_80178280* arg0) {
|
||||
void func_80055E98(Player* arg0) {
|
||||
f32 sp5C;
|
||||
f32 sp58;
|
||||
f32 sp54;
|
||||
@ -1089,7 +1090,7 @@ void func_80055E98(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
if (arg0->unk_25C != 0.0f) {
|
||||
sp54 = 0.0f;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
sp54 = 180.0f;
|
||||
}
|
||||
var_fs0 = arg0->unk_0E8;
|
||||
@ -1104,7 +1105,7 @@ void func_80055E98(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
RCP_SetupDL_64();
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 100);
|
||||
if (arg0->unk_49C.unk_01 == 2) {
|
||||
if (arg0->wings.leftState == 2) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, sp5C, sp58, -100.0f, 1);
|
||||
Matrix_RotateX(gGfxMatrix, M_DTOR * sp50, 1);
|
||||
@ -1117,7 +1118,7 @@ void func_80055E98(UnkStruct_D_80178280* arg0) {
|
||||
gSPDisplayList(gMasterDisp++, D_102A8A0);
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
if (arg0->unk_49C.unk_00 == 2) {
|
||||
if (arg0->wings.rightState == 2) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, -sp5C, sp58, -100.0f, 1);
|
||||
Matrix_RotateX(gGfxMatrix, M_DTOR * sp50, 1);
|
||||
@ -1133,8 +1134,9 @@ void func_80055E98(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80056230(UnkStruct_D_80178280* arg0) {
|
||||
if ((arg0->unk_234 != 0) && (arg0->unk_1CC == 0) && (D_80178234 != 9) && (D_80178234 != 0xA) && (D_80177C98 == 0)) {
|
||||
void func_80056230(Player* arg0) {
|
||||
if ((arg0->unk_234 != 0) && (arg0->unk_1CC == 0) && (gCurrentLevel != LEVEL_VENOM_2) &&
|
||||
(gCurrentLevel != LEVEL_TRAINING) && (gLevelType == 0)) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, arg0->unk_074, arg0->unk_078, arg0->unk_138 + arg0->unk_144, 1);
|
||||
Matrix_RotateY(gGfxMatrix, (arg0->unk_114 + arg0->unk_0E8 + 180.0f) * M_DTOR, 1);
|
||||
@ -1177,7 +1179,7 @@ s32 D_800CA2E8[16] = { 60, 40, 20, 20, 20, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
// Vec3f D_800CA328 = {0.0f, 0.0f, 0.0f};
|
||||
void func_800564C0(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
void func_800564C0(Player* arg0, s32 arg1) {
|
||||
s32 i;
|
||||
Vec3f sp50 = { 0.0f, 0.0f, 0.0f };
|
||||
Vec3f* temp_s0;
|
||||
@ -1191,7 +1193,7 @@ void func_800564C0(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
Matrix_Translate(gGfxMatrix, arg0->unk_074, arg0->unk_078 + arg0->unk_18C + 30.0f,
|
||||
arg0->unk_138 + arg0->unk_144, 1);
|
||||
if (D_801778E8 != 0) {
|
||||
for (i = 0; i < D_801778A8; i++) {
|
||||
for (i = 0; i < gCamCount; i++) {
|
||||
if (D_80177B00[arg0->unk_1C4][i] != 0) {
|
||||
temp_s0 = &D_80161578[i];
|
||||
Matrix_MultVec3f(gGfxMatrix, &sp50, temp_s0);
|
||||
@ -1233,7 +1235,7 @@ void func_800564C0(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
} else {
|
||||
Matrix_Translate(gGfxMatrix, arg0->unk_074, arg0->unk_078, arg0->unk_138 + arg0->unk_144, 1);
|
||||
if (D_801778E8 != 0) {
|
||||
for (i = 0; i < D_801778A8; i++) {
|
||||
for (i = 0; i < gCamCount; i++) {
|
||||
if (D_80177B00[arg0->unk_1C4][i] != 0) {
|
||||
temp_s0 = &D_80161578[i];
|
||||
Matrix_MultVec3f(gGfxMatrix, &sp50, temp_s0);
|
||||
@ -1258,15 +1260,15 @@ void func_800564C0(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
switch (arg0->unk_200) {
|
||||
case 0:
|
||||
if (D_801778E8 == 0) {
|
||||
if ((D_80178234 == 0xE) || (D_80178234 == 0xC)) {
|
||||
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, 0x3ED);
|
||||
if ((gCurrentLevel == LEVEL_FORTUNA) || (gCurrentLevel == LEVEL_TITANIA)) {
|
||||
RCP_SetupDL_29(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, 0x3ED);
|
||||
} else {
|
||||
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_29(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
}
|
||||
} else if (D_8017789C == 2) {
|
||||
RCP_SetupDL_29(0x80, 0x80, 0xFF, 0xFF, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_29(0x80, 0x80, 0xFF, 0xFF, gFogNear, gFogFar);
|
||||
} else {
|
||||
RCP_SetupDL_29(0, 0, 0, 0xFF, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_29(0, 0, 0, 0xFF, gFogNear, gFogFar);
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
@ -1288,7 +1290,7 @@ void func_800564C0(UnkStruct_D_80178280* arg0, s32 arg1) {
|
||||
}
|
||||
#else
|
||||
Vec3f D_800CA328 = { 0.0f, 0.0f, 0.0f };
|
||||
void func_800564C0(UnkStruct_D_80178280*, s32);
|
||||
void func_800564C0(Player*, s32);
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/fox_52730/func_800564C0.s")
|
||||
#endif
|
||||
|
||||
@ -1309,14 +1311,14 @@ f32 D_800CA38C[] = {
|
||||
-50.0f,
|
||||
};
|
||||
|
||||
void func_80056E2C(UnkStruct_D_80178280* arg0) {
|
||||
void func_80056E2C(Player* arg0) {
|
||||
f32 sp34;
|
||||
f32 sp30;
|
||||
f32 sp2C;
|
||||
|
||||
if ((arg0->unk_234 != 0) && (arg0->unk_240 == 0)) {
|
||||
sp34 = D_800CA334[D_80177DB0 & 7];
|
||||
sp30 = D_800CA334[(D_80177DB0 + 4) & 7];
|
||||
sp34 = D_800CA334[gFrameCount & 7];
|
||||
sp30 = D_800CA334[(gFrameCount + 4) & 7];
|
||||
if (arg0->unk_1D4 != 0) {
|
||||
sp34 = sp30 = 0.0f;
|
||||
}
|
||||
@ -1361,7 +1363,7 @@ void func_80057248(void) {
|
||||
Vec3f* var_s0;
|
||||
f32 var_fs0;
|
||||
|
||||
if (!(D_80177DB0 & 4)) {
|
||||
if (!(gFrameCount & 4)) {
|
||||
RCP_SetupDL_40();
|
||||
for (i = 0, var_s0 = D_80177E98; i < ARRAY_COUNT(D_80177E98); i++, var_s0++) {
|
||||
if (var_s0->z < 0.0f) {
|
||||
@ -1374,13 +1376,13 @@ void func_80057248(void) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, var_s0->x, var_s0->y, var_s0->z, 1);
|
||||
Matrix_Scale(gGfxMatrix, var_fs0 * 0.25f, var_fs0 * 0.25f, 1.0f, 1);
|
||||
if ((i == 0) && (D_80178234 == 0x12)) {
|
||||
if ((i == 0) && (gCurrentLevel == LEVEL_SECTOR_Z)) {
|
||||
Matrix_Scale(gGfxMatrix, 2.0f, 2.0f, 1.0f, 1);
|
||||
}
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, 150.0f, 0.0f, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gDPSetTextureFilter(gMasterDisp++, G_TF_POINT);
|
||||
if ((i == 0) && (D_80178234 == 0x12)) {
|
||||
if ((i == 0) && (gCurrentLevel == LEVEL_SECTOR_Z)) {
|
||||
gSPDisplayList(gMasterDisp++, D_6004330);
|
||||
} else {
|
||||
gSPDisplayList(gMasterDisp++, D_800CA354[i]);
|
||||
@ -1405,7 +1407,7 @@ void func_80057504(void) {
|
||||
Vec3f* var_s0;
|
||||
f32 tm;
|
||||
|
||||
for (i = 0, var_s0 = D_80161578; i < D_801778A8; i++, var_s0++) {
|
||||
for (i = 0, var_s0 = D_80161578; i < gCamCount; i++, var_s0++) {
|
||||
if (var_s0->z < 0.f) {
|
||||
tm = sqrtf(VEC3F_SQ(*var_s0));
|
||||
if (tm < 20000.0f) {
|
||||
@ -1434,7 +1436,7 @@ void func_80057504(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
for (i = 0; i < D_801778A8; i++) {
|
||||
for (i = 0; i < gCamCount; i++) {
|
||||
D_80161578[i].x = D_80161578[i].y = 0;
|
||||
D_80161578[i].z = 100.0f;
|
||||
}
|
||||
@ -1444,28 +1446,28 @@ void func_80057504(void);
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/fox_52730/func_80057504.s")
|
||||
#endif
|
||||
|
||||
void func_80057814(UnkStruct_D_80178280* arg0) {
|
||||
void func_80057814(Player* arg0) {
|
||||
Vec3f sp2C;
|
||||
Vec3f sp20;
|
||||
|
||||
sp20.x = arg0->unk_074;
|
||||
sp20.y = arg0->unk_078;
|
||||
sp20.z = arg0->unk_138;
|
||||
sp2C.x = arg0->unk_460[0].x;
|
||||
sp2C.y = arg0->unk_460[0].y;
|
||||
sp2C.z = arg0->unk_460[0].z;
|
||||
func_8005F0E8(&arg0->unk_460[0], &sp20);
|
||||
arg0->unk_460[1].x = arg0->unk_460[0].x - sp2C.x;
|
||||
arg0->unk_460[1].y = arg0->unk_460[0].y - sp2C.y;
|
||||
arg0->unk_460[1].z = arg0->unk_460[0].z - sp2C.z;
|
||||
arg0->unk_480 = &arg0->unk_460[1];
|
||||
arg0->unk_47C = &arg0->unk_460[0];
|
||||
sp2C.x = arg0->unk_460.x;
|
||||
sp2C.y = arg0->unk_460.y;
|
||||
sp2C.z = arg0->unk_460.z;
|
||||
func_8005F0E8(&arg0->unk_460, &sp20);
|
||||
arg0->unk_46C.x = arg0->unk_460.x - sp2C.x;
|
||||
arg0->unk_46C.y = arg0->unk_460.y - sp2C.y;
|
||||
arg0->unk_46C.z = arg0->unk_460.z - sp2C.z;
|
||||
arg0->unk_480 = &arg0->unk_46C;
|
||||
arg0->unk_47C = &arg0->unk_460;
|
||||
arg0->unk_488 = arg0->unk_0C0.y;
|
||||
arg0->unk_490 = arg0->unk_0F8;
|
||||
}
|
||||
|
||||
// Vec3f D_800CA39C = {0.0f, 0.0f, -300.0f};
|
||||
void func_800578C4(UnkStruct_D_80178280* arg0) {
|
||||
void func_800578C4(Player* arg0) {
|
||||
Vec3f sp4C = { 0.0f, 0.0f, -300.0f };
|
||||
Vec3f sp40;
|
||||
f32 sp3C;
|
||||
@ -1473,8 +1475,8 @@ void func_800578C4(UnkStruct_D_80178280* arg0) {
|
||||
|
||||
switch (D_800CA220) {
|
||||
case 0:
|
||||
Math_SmoothStepToAngle(&arg0->unk_49C.unk_30, 0.0f, 0.2f, 3.0f, 0.0f);
|
||||
Math_SmoothStepToAngle(&arg0->unk_49C.unk_34, 0.0f, 0.2f, 3.0f, 0.0f);
|
||||
Math_SmoothStepToAngle(&arg0->wings.unk_30, 0.0f, 0.2f, 3.0f, 0.0f);
|
||||
Math_SmoothStepToAngle(&arg0->wings.unk_34, 0.0f, 0.2f, 3.0f, 0.0f);
|
||||
D_801779D8.x = arg0->unk_040.x;
|
||||
D_801779D8.y = arg0->unk_040.y;
|
||||
D_801779D8.z = arg0->unk_040.z;
|
||||
@ -1500,8 +1502,8 @@ void func_800578C4(UnkStruct_D_80178280* arg0) {
|
||||
sp3C += 360.0f;
|
||||
}
|
||||
sp3C = 360.0f - sp3C;
|
||||
Math_SmoothStepToAngle(&arg0->unk_49C.unk_30, sp38, 0.2f, 6.0f, 0.0f);
|
||||
Math_SmoothStepToAngle(&arg0->unk_49C.unk_34, sp3C, 0.2f, 6.0f, 0.0f);
|
||||
Math_SmoothStepToAngle(&arg0->wings.unk_30, sp38, 0.2f, 6.0f, 0.0f);
|
||||
Math_SmoothStepToAngle(&arg0->wings.unk_34, sp3C, 0.2f, 6.0f, 0.0f);
|
||||
Math_SmoothStepToF(&D_800CA380, gChangedInput->stick_y * 0.75f, 0.1f, 2.0f, 0.0f);
|
||||
Math_SmoothStepToF(&D_800CA384, gChangedInput->stick_x * 3.0f, 0.1f, 5.0f, 0.0f);
|
||||
Math_SmoothStepToF(&D_800CA388, D_800CA38C[D_800CA220], 0.1f, 10.0f, 0.0f);
|
||||
@ -1512,9 +1514,9 @@ void func_800578C4(UnkStruct_D_80178280* arg0) {
|
||||
D_801779D8.x = arg0->unk_074 + sp40.x;
|
||||
D_801779D8.y = arg0->unk_078 + sp40.y + 20.0f;
|
||||
D_801779D8.z = arg0->unk_138 + sp40.z;
|
||||
D_801779E8.x = (__sinf(D_80177DB0 * 3.0f * M_DTOR) * 3.0f) + arg0->unk_074;
|
||||
D_801779E8.y = (__cosf(D_80177DB0 * 4.0f * M_DTOR) * 3.0f) + arg0->unk_078;
|
||||
D_801779E8.z = (__sinf(D_80177DB0 * 3.5f * M_DTOR) * 3.0f) + arg0->unk_138;
|
||||
D_801779E8.x = (__sinf(gFrameCount * 3.0f * M_DTOR) * 3.0f) + arg0->unk_074;
|
||||
D_801779E8.y = (__cosf(gFrameCount * 4.0f * M_DTOR) * 3.0f) + arg0->unk_078;
|
||||
D_801779E8.z = (__sinf(gFrameCount * 3.5f * M_DTOR) * 3.0f) + arg0->unk_138;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1525,31 +1527,31 @@ void func_80057D00(void) {
|
||||
Vec3f sp6C;
|
||||
Vec3f sp60;
|
||||
s32 pad;
|
||||
UnkStruct_D_80178280* var_s0;
|
||||
UnkStruct_D_80178280* sp54 = &D_80178280[D_801778A0];
|
||||
Player* var_s0;
|
||||
Player* sp54 = &gPlayer[D_801778A0];
|
||||
|
||||
D_800CA228 = 0;
|
||||
|
||||
if (D_80161A98 > 0x1FF) {
|
||||
D_80161A98 = 0x1FF;
|
||||
if (gHitCount > 0x1FF) {
|
||||
gHitCount = 0x1FF;
|
||||
}
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
if ((D_80178234 == 0xD) && (D_80178280->unk_1C8 == 3)) {
|
||||
if ((gCurrentLevel == LEVEL_AQUAS) && (gPlayer[0].unk_1C8 == 3)) {
|
||||
Math_SmoothStepToF(&D_800CA230, 0.01f, 0.2f, 0.002f, 0.0f);
|
||||
} else {
|
||||
Math_SmoothStepToF(&D_800CA230, 0.0f, 0.2f, 0.002f, 0.0f);
|
||||
}
|
||||
Matrix_RotateZ(gGfxMatrix, (f32) D_80177DB0 * 10.0f * 0.017453292f, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, (f32) gFrameCount * 10.0f * M_DTOR, 1);
|
||||
Matrix_Scale(gGfxMatrix, 1.0f + D_800CA230, 1.0f - D_800CA230, 1.0f, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, -(f32) D_80177DB0 * 10.0f * 0.017453292f, 1);
|
||||
Matrix_RotateZ(gGfxMatrix, -(f32) gFrameCount * 10.0f * M_DTOR, 1);
|
||||
Matrix_Scale(gGfxMatrix, 1.0f + D_800CA230, 1.0f - D_800CA230, 1.0f, 1);
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
func_800B73E0(sp54);
|
||||
Lights_SetOneLight(&gMasterDisp, D_801784DC, D_801784E0, D_801784E4, D_80178548, D_8017854C, D_80178550, D_80178554,
|
||||
D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, gLight1x, gLight1y, gLight1z, gLight1R, gLight1G, gLight1B, gAmbientR, gAmbientG,
|
||||
gAmbientB);
|
||||
if (D_80177880 == 0) {
|
||||
Matrix_RotateY(gCalcMatrix, sp54->unk_114 * 0.017453292f, 0);
|
||||
Matrix_RotateX(gCalcMatrix, sp54->unk_120 * 0.017453292f, 1);
|
||||
Matrix_RotateY(gCalcMatrix, sp54->unk_114 * M_DTOR, 0);
|
||||
Matrix_RotateX(gCalcMatrix, sp54->unk_120 * M_DTOR, 1);
|
||||
sp78.x = sp54->unk_040.x - sp54->unk_074;
|
||||
sp78.y = sp54->unk_040.y - sp54->unk_078;
|
||||
sp78.z = sp54->unk_040.z - (sp54->unk_138 + sp54->unk_144);
|
||||
@ -1565,7 +1567,7 @@ void func_80057D00(void) {
|
||||
D_801779E8.y += sp54->unk_078;
|
||||
D_801779E8.z += sp54->unk_138 + sp54->unk_144;
|
||||
if ((sp54->unk_238 != 0) && (sp54->unk_110 > 5.0f)) {
|
||||
D_801779E8.x += __sinf((f32) D_80177DB0 * 150.0f * 0.017453292f) * sp54->unk_110 * 0.2f;
|
||||
D_801779E8.x += __sinf((f32) gFrameCount * 150.0f * M_DTOR) * sp54->unk_110 * 0.2f;
|
||||
}
|
||||
} else if (sp54->unk_1C8 == 7) {
|
||||
func_800578C4(sp54);
|
||||
@ -1582,13 +1584,13 @@ void func_80057D00(void) {
|
||||
sqrtf(SQ(D_801779D8.z - D_801779E8.z) + SQ(D_801779D8.x - D_801779E8.x)));
|
||||
Matrix_RotateY(gCalcMatrix, -sp54->unk_058, 0);
|
||||
Matrix_RotateX(gCalcMatrix, sp54->unk_05C, 1);
|
||||
Matrix_RotateZ(gCalcMatrix, -sp54->unk_034 * 0.017453292f, 1);
|
||||
Matrix_RotateZ(gCalcMatrix, -sp54->unk_034 * M_DTOR, 1);
|
||||
sp78.x = 0.0f;
|
||||
sp78.y = 100.0f;
|
||||
sp78.z = 0.0f;
|
||||
Matrix_MultVec3f(gCalcMatrix, &sp78, &sp6C);
|
||||
if (D_80178410 != 0) {
|
||||
D_80178428 = (D_80178280->unk_034 / 180.0f) * M_PI;
|
||||
D_80178428 = (gPlayer[0].unk_034 / 180.0f) * M_PI;
|
||||
func_800B6F50(D_801779D8.x, D_801779D8.y, D_801779D8.z, D_801779E8.x, D_801779E8.y, D_801779E8.z);
|
||||
func_8003DAF0();
|
||||
}
|
||||
@ -1597,8 +1599,8 @@ void func_80057D00(void) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_LookAt(gGfxMatrix, D_801779D8.x, D_801779D8.y, D_801779D8.z, D_801779E8.x, D_801779E8.y, D_801779E8.z,
|
||||
sp6C.x, sp6C.y, sp6C.z, 1);
|
||||
if ((D_80177C98 == 0) || (D_80178234 == 0x11)) {
|
||||
if ((D_80178234 == 0xC) && ((D_80178280->unk_1C8 != 2) || (D_80178280->unk_19C != 0))) {
|
||||
if ((gLevelType == 0) || (gCurrentLevel == LEVEL_BOLSE)) {
|
||||
if ((gCurrentLevel == LEVEL_TITANIA) && ((gPlayer[0].unk_1C8 != 2) || (gPlayer[0].unk_19C != 0))) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, D_8017847C, 0.0f, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
@ -1610,9 +1612,9 @@ void func_80057D00(void) {
|
||||
func_80040CE4();
|
||||
}
|
||||
}
|
||||
Lights_SetOneLight(&gMasterDisp, D_80178504, D_80178508, D_8017850C, D_80178564, D_80178568, D_8017856C, D_80178554,
|
||||
D_80178558, D_8017855C);
|
||||
for (i = 0, var_s0 = D_80178280; i < D_801778A8; i++, var_s0++) {
|
||||
Lights_SetOneLight(&gMasterDisp, gLight2x, gLight2y, gLight2z, gLight2R, gLight2G, gLight2B, gAmbientR, gAmbientG,
|
||||
gAmbientB);
|
||||
for (i = 0, var_s0 = gPlayer; i < gCamCount; i++, var_s0++) {
|
||||
sp60.x = var_s0->unk_074;
|
||||
sp60.y = var_s0->unk_078;
|
||||
sp60.z = var_s0->unk_138;
|
||||
@ -1620,12 +1622,12 @@ void func_80057D00(void) {
|
||||
func_800564C0(var_s0, 0);
|
||||
func_80057814(var_s0);
|
||||
}
|
||||
if ((D_80161A88 == 2) && (D_80178280->unk_1C8 != 2)) {
|
||||
Lights_SetOneLight(&gMasterDisp, D_80178504, -1 * D_80178508, D_8017850C, D_80178564, D_80178568, D_8017856C,
|
||||
D_80178554, D_80178558, D_8017855C);
|
||||
if ((D_80161A88 == 2) && (gPlayer[0].unk_1C8 != 2)) {
|
||||
Lights_SetOneLight(&gMasterDisp, gLight2x, -1 * gLight2y, gLight2z, gLight2R, gLight2G, gLight2B, gAmbientR,
|
||||
gAmbientG, gAmbientB);
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Scale(gGfxMatrix, 1.0f, -1.0f, 1.0f, 1);
|
||||
for (i = 0, var_s0 = D_80178280; i < D_801778A8; i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gPlayer; i < gCamCount; i++, var_s0++) {
|
||||
sp60.x = var_s0->unk_074;
|
||||
sp60.y = var_s0->unk_078;
|
||||
sp60.z = var_s0->unk_138;
|
||||
@ -1633,13 +1635,13 @@ void func_80057D00(void) {
|
||||
}
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
Lights_SetOneLight(&gMasterDisp, D_801784DC, D_801784E0, D_801784E4, D_80178548, D_8017854C, D_80178550, D_80178554,
|
||||
D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, gLight1x, gLight1y, gLight1z, gLight1R, gLight1G, gLight1B, gAmbientR, gAmbientG,
|
||||
gAmbientB);
|
||||
func_80060714(1);
|
||||
func_80060968();
|
||||
D_80161410 = 1;
|
||||
func_8003DA0C();
|
||||
if ((D_80161A88 == 2) && (D_80178280->unk_1C8 != 2)) {
|
||||
if ((D_80161A88 == 2) && (gPlayer[0].unk_1C8 != 2)) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Scale(gGfxMatrix, 1.0f, -1.0f, 1.0f, 1);
|
||||
D_80161410 = -1;
|
||||
@ -1647,10 +1649,10 @@ void func_80057D00(void) {
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
D_80161410 = -1;
|
||||
if ((D_80161A88 == 2) && (D_80178280->unk_1C8 != 2)) {
|
||||
if ((D_80161A88 == 2) && (gPlayer[0].unk_1C8 != 2)) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
Matrix_Scale(gGfxMatrix, 1.0f, -1.0f, 1.0f, 1);
|
||||
for (i = 0, var_s0 = D_80178280; i < D_801778A8; i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gPlayer; i < gCamCount; i++, var_s0++) {
|
||||
if (D_800CA224[i] != 0) {
|
||||
func_80055B58(var_s0);
|
||||
func_80056230(var_s0);
|
||||
@ -1658,7 +1660,7 @@ void func_80057D00(void) {
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
}
|
||||
}
|
||||
if (D_80178234 == 0xD) {
|
||||
if (gCurrentLevel == LEVEL_AQUAS) {
|
||||
func_8006089C(0);
|
||||
}
|
||||
if ((D_80161A88 == 2) || (D_80177AC8 != 0)) {
|
||||
@ -1666,22 +1668,23 @@ void func_80057D00(void) {
|
||||
func_8006089C(1);
|
||||
func_80040CE4();
|
||||
}
|
||||
if ((D_80178234 != 0xD) &&
|
||||
(((D_80178234 != 0) && (D_80178234 != 9)) || ((D_80178280->unk_1C8 != 7) && (D_80178280->unk_1C8 != 2)))) {
|
||||
if ((gCurrentLevel != LEVEL_AQUAS) && (((gCurrentLevel != LEVEL_CORNERIA) && (gCurrentLevel != LEVEL_VENOM_2)) ||
|
||||
((gPlayer[0].unk_1C8 != 7) && (gPlayer[0].unk_1C8 != 2)))) {
|
||||
func_8006089C(0);
|
||||
}
|
||||
D_80161410 = 1;
|
||||
for (i = 0, var_s0 = D_80178280; i < D_801778A8; i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gPlayer; i < gCamCount; i++, var_s0++) {
|
||||
if (D_800CA224[i] != 0) {
|
||||
func_80056E2C(var_s0);
|
||||
func_80055B58(var_s0);
|
||||
func_80056230(var_s0);
|
||||
}
|
||||
}
|
||||
if ((D_80178234 == 0xD) && (D_80178280->unk_1C8 == 3)) {
|
||||
if ((gCurrentLevel == LEVEL_AQUAS) && (gPlayer[0].unk_1C8 == 3)) {
|
||||
func_E16C50_801AA20C();
|
||||
}
|
||||
if (((D_80178234 == 0) || (D_80178234 == 9)) && ((D_80178280->unk_1C8 == 7) || (D_80178280->unk_1C8 == 2))) {
|
||||
if (((gCurrentLevel == LEVEL_CORNERIA) || (gCurrentLevel == LEVEL_VENOM_2)) &&
|
||||
((gPlayer[0].unk_1C8 == 7) || (gPlayer[0].unk_1C8 == 2))) {
|
||||
func_8006089C(0);
|
||||
}
|
||||
func_80077790();
|
||||
@ -1691,7 +1694,7 @@ void func_80057D00(void) {
|
||||
if (D_800CA228 != 0) {
|
||||
func_80053B18();
|
||||
}
|
||||
for (i = 0, var_s0 = D_80178280; i < D_801778A8; i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gPlayer; i < gCamCount; i++, var_s0++) {
|
||||
if (D_800CA224[i] != 0) {
|
||||
if (D_800D2860[i] != 0) {
|
||||
func_80053F7C(var_s0);
|
||||
@ -1703,11 +1706,11 @@ void func_80057D00(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((D_80177880 == 2) && (D_80178280->unk_1C8 == 3)) {
|
||||
func_E9F1D0_801A6164(D_80178280);
|
||||
if ((D_80177880 == 2) && (gPlayer[0].unk_1C8 == 3)) {
|
||||
func_E9F1D0_801A6164(gPlayer);
|
||||
}
|
||||
func_80040954();
|
||||
if ((D_801778A8 != 1) && ((sp54->unk_1C8 == 3) || (sp54->unk_1C8 == 5))) {
|
||||
if ((gCamCount != 1) && ((sp54->unk_1C8 == 3) || (sp54->unk_1C8 == 5))) {
|
||||
func_8008FA84();
|
||||
func_8008CA44();
|
||||
}
|
||||
|
3889
src/main/fox_6B3B0.c
Normal file
3889
src/main/fox_6B3B0.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -551,7 +551,7 @@ s32 func_80099254(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, CollisionHeader* arg3,
|
||||
sp108.dist = var_s0->dist;
|
||||
if ((DOT_XYZ(sp108.normal, temp_V3f1) + sp108.dist) <= 0.0f) {
|
||||
temp_fs0 = sp108.normal.x * arg2->x + sp108.normal.y * arg2->y + sp108.normal.z * arg2->z;
|
||||
if (Math_FAcosF(temp_fs0 / (sqrtf(VEC3F_SQ(sp108.normal)) * spEC)) > 1.5707964f) {
|
||||
if (Math_FAcosF(temp_fs0 / (sqrtf(VEC3F_SQ(sp108.normal)) * spEC)) > M_PI / 2.0f) {
|
||||
temp_fs0 = (DOT_XYZ(sp108.normal, temp_V3f1) + sp108.dist) / temp_fs0;
|
||||
spDC.x = temp_V3f1.x - (arg2->x * temp_fs0);
|
||||
spDC.y = temp_V3f1.y - (arg2->y * temp_fs0);
|
||||
@ -574,7 +574,7 @@ s32 func_80099254(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, CollisionHeader* arg3,
|
||||
arg5[1] =
|
||||
-Math_Atan2F_XY(__sinf(Math_Atan2F_XY(sp108.normal.y, sp108.normal.z)) * sp108.normal.z,
|
||||
sp108.normal.x);
|
||||
} else if (arg5[0] >= 3.1415927f) {
|
||||
} else if (arg5[0] >= M_PI) {
|
||||
arg5[1] = Math_Atan2F_XY(sp108.normal.y, sp108.normal.x);
|
||||
} else {
|
||||
arg5[1] = -Math_Atan2F_XY(sp108.normal.y, sp108.normal.x);
|
||||
|
@ -9,11 +9,11 @@ s32 D_80161A18[4];
|
||||
s32 D_80161A28;
|
||||
u8 D_80161A2C;
|
||||
u16 D_80161A2E;
|
||||
u16 D_80161A30;
|
||||
u16 D_80161A32;
|
||||
u16 gNextLevel;
|
||||
u16 gNextGameState;
|
||||
u16 D_80161A34;
|
||||
u16 D_80161A36;
|
||||
u8 D_80161A38;
|
||||
u16 gBgColor;
|
||||
u8 gBlurAlpha;
|
||||
u8 D_80161A39;
|
||||
f32 D_80161A3C;
|
||||
f32 D_80161A40;
|
||||
@ -25,75 +25,94 @@ s32 D_800D2874[] = { 0, 160, 0, 160 };
|
||||
s32 D_800D2884[] = { 159, 319, 159, 319 };
|
||||
s32 D_800D2894[] = { 0, 0, 120, 120 };
|
||||
s32 D_800D28A4[] = { 119, 119, 239, 239 };
|
||||
s32 D_800D28B4[] = {
|
||||
0x05, 0x06, 0x08, 0x0A, 0x0C, 0x0D, 0x12, 0x0E, 0x0F, 0x10, 0x11,
|
||||
0x15, 0x07, 0x09, 0x0B, 0x00, 0x13, 0x16, 0x17, 0x18, 0x32,
|
||||
s32 sOverlaySetups[] = {
|
||||
/* LEVEL_CORNERIA */ OVL_SETUP_CORNERIA,
|
||||
/* LEVEL_METEO */ OVL_SETUP_METEO,
|
||||
/* LEVEL_SECTOR_X */ OVL_SETUP_SECTOR_X,
|
||||
/* LEVEL_AREA_6 */ OVL_SETUP_AREA_6,
|
||||
/* LEVEL_UNK_4 */ OVL_SETUP_UNK_4,
|
||||
/* LEVEL_SECTOR_Y */ OVL_SETUP_SECTOR_Y,
|
||||
/* LEVEL_VENOM_1 */ OVL_SETUP_VENOM_1,
|
||||
/* LEVEL_SOLAR */ OVL_SETUP_SOLAR,
|
||||
/* LEVEL_ZONESS */ OVL_SETUP_ZONESS,
|
||||
/* LEVEL_VENOM_2 */ OVL_SETUP_VENOM_2,
|
||||
/* LEVEL_TRAINING */ OVL_SETUP_TRAINING,
|
||||
/* LEVEL_MACBETH */ OVL_SETUP_MACBETH,
|
||||
/* LEVEL_TITANIA */ OVL_SETUP_TITANIA,
|
||||
/* LEVEL_AQUAS */ OVL_SETUP_AQUAS,
|
||||
/* LEVEL_FORTUNA */ OVL_SETUP_FORTUNA,
|
||||
/* LEVEL_UNK_15 */ OVL_SETUP_TITLE,
|
||||
/* LEVEL_KATINA */ OVL_SETUP_KATINA,
|
||||
/* LEVEL_BOLSE */ OVL_SETUP_BOLSE,
|
||||
/* LEVEL_SECTOR_Z */ OVL_SETUP_SECTOR_Z,
|
||||
/* LEVEL_VENOM_SW */ OVL_SETUP_VENOM_SW,
|
||||
/* LEVEL_VERSUS */ OVL_SETUP_VERSUS,
|
||||
};
|
||||
|
||||
void func_800A18B0(void) {
|
||||
void Game_Initialize(void) {
|
||||
Memory_FreeAll();
|
||||
Rand_Init();
|
||||
Rand_SetSeed(1, 29000, 9876);
|
||||
D_80177834 = 100;
|
||||
gGameState = GSTATE_BOOT;
|
||||
D_8017783C = 0;
|
||||
D_80161A36 = 0;
|
||||
D_80161A38 = 0xFF;
|
||||
gBgColor = 0;
|
||||
gBlurAlpha = 0xFF;
|
||||
D_80161A3C = 45.0f;
|
||||
D_80161A40 = 10.0f;
|
||||
D_80161A44 = 12800.0f;
|
||||
D_80161A10 = D_80161A14 = 0.0f;
|
||||
D_801774F8 = 99;
|
||||
D_80177820 = 0;
|
||||
gOverlaySetup = OVL_SETUP_LOGO;
|
||||
gOverlayStage = 0;
|
||||
Overlay_InitDma();
|
||||
D_80161A39 = true;
|
||||
}
|
||||
|
||||
void func_800A1980(void) {
|
||||
u16 temp;
|
||||
void Game_SetGameState(void) {
|
||||
D_80161A14 = D_80161A10;
|
||||
temp = D_80161A32; // fake?
|
||||
|
||||
switch (temp) {
|
||||
case 7:
|
||||
D_80178234 = D_80161A30;
|
||||
if (gNextGameState == GSTATE_NONE) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (gNextGameState) {
|
||||
case GSTATE_PLAY:
|
||||
gCurrentLevel = gNextLevel;
|
||||
func_800A5844();
|
||||
D_80177854 = 0;
|
||||
D_8017827C = D_80161A2E;
|
||||
D_80161A2E = 0;
|
||||
if ((D_8017827C != 0) && (D_80178234 != 9)) {
|
||||
if ((D_8017827C != 0) && (gCurrentLevel != LEVEL_VENOM_2)) {
|
||||
D_8017782C = 0;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
case GSTATE_MAP:
|
||||
D_80177B40 = 0;
|
||||
break;
|
||||
case 5:
|
||||
case GSTATE_STATE_5:
|
||||
D_80177868 = 0;
|
||||
break;
|
||||
case 0:
|
||||
return;
|
||||
}
|
||||
Memory_FreeAll();
|
||||
func_800A6148();
|
||||
D_80177834 = D_80161A32;
|
||||
gGameState = gNextGameState;
|
||||
D_8017783C = 3;
|
||||
D_8015F924 = 0;
|
||||
D_80161A32 = 0;
|
||||
D_80177820 = 0;
|
||||
gFillScreenColor = D_80161A36 = 0;
|
||||
gNextGameState = GSTATE_NONE;
|
||||
gOverlayStage = 0;
|
||||
gFillScreenColor = gBgColor = 0;
|
||||
D_80177D20 = 0.0f;
|
||||
if ((D_80178234 == 0x13) && (D_8017827C == 2)) {
|
||||
gFillScreenColor = D_80161A36 = 0xFFFF;
|
||||
D_80178348 = D_80178350 = D_80178354 = 0xFF;
|
||||
if ((gCurrentLevel == LEVEL_VENOM_SW) && (D_8017827C == 2)) {
|
||||
gFillScreenColor = gBgColor = 0xFFFF;
|
||||
D_80178348 = D_80178350 = D_80178354 = 255;
|
||||
} else {
|
||||
D_80178348 = D_80178350 = D_80178354 = 0;
|
||||
func_8001DBD0(1);
|
||||
}
|
||||
D_80178340 = 0xFF;
|
||||
D_80178340 = 255;
|
||||
D_80178380[0] = 0;
|
||||
D_8017829C = 0;
|
||||
D_80178428 = 0.0f;
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 255;
|
||||
D_80177898 = 0;
|
||||
func_8001AE58();
|
||||
func_8001D400(0);
|
||||
@ -103,17 +122,17 @@ bool func_800A1B6C(void) {
|
||||
static u8 sHoldTimer = 0;
|
||||
static u8 sOverlaySelect = 99;
|
||||
static u8 sCurrentOverlay = 99;
|
||||
static u8 sOverlayMode = 99;
|
||||
static u8 sCurrentStage = 99;
|
||||
|
||||
if (D_801774F8 != sCurrentOverlay) {
|
||||
if (gOverlaySetup != sCurrentOverlay) {
|
||||
sHoldTimer = 2;
|
||||
sCurrentOverlay = D_801774F8;
|
||||
sCurrentOverlay = gOverlaySetup;
|
||||
}
|
||||
if (sHoldTimer == 0) {
|
||||
sOverlaySelect = sCurrentOverlay;
|
||||
sOverlayMode = D_80177820;
|
||||
sCurrentStage = gOverlayStage;
|
||||
}
|
||||
Overlay_Load(sOverlaySelect, sOverlayMode);
|
||||
Overlay_Load(sOverlaySelect, sCurrentStage);
|
||||
|
||||
if (sHoldTimer) {
|
||||
sHoldTimer--;
|
||||
@ -127,19 +146,19 @@ void func_800A1C14(Gfx** arg0) {
|
||||
gDPSetScissor((*arg0)++, G_SC_NON_INTERLACE, 8, 8, SCREEN_WIDTH - 8, SCREEN_HEIGHT - 8);
|
||||
gDPSetDepthImage((*arg0)++, &gZBuffer);
|
||||
gDPSetColorImage((*arg0)++, G_IM_FMT_RGBA, G_IM_SIZ_16b, SCREEN_WIDTH, &gZBuffer);
|
||||
gDPSetFillColor((*arg0)++, 0xFFFCFFFC);
|
||||
gDPSetFillColor((*arg0)++, FILL_COLOR(GPACK_ZDZ(G_MAXFBZ, 0)));
|
||||
gDPFillRectangle((*arg0)++, 8, 8, SCREEN_WIDTH - 8 - 1, SCREEN_HEIGHT - 8 - 1);
|
||||
gDPSetColorImage((*arg0)++, G_IM_FMT_RGBA, G_IM_SIZ_16b, SCREEN_WIDTH, gFrameBuffer);
|
||||
|
||||
if (D_80161A38 < 0xFF) {
|
||||
if (gBlurAlpha < 0xFF) {
|
||||
gDPPipeSync((*arg0)++);
|
||||
gDPSetCycleType((*arg0)++, G_CYC_1CYCLE);
|
||||
gDPSetCombineMode((*arg0)++, G_CC_PRIMITIVE, G_CC_PRIMITIVE);
|
||||
gDPSetRenderMode((*arg0)++, G_RM_XLU_SURF, G_RM_XLU_SURF2);
|
||||
gDPSetPrimColor((*arg0)++, 0x00, 0x00, RGBA16_RED(D_80161A36) * 8, RGBA16_GRN(D_80161A36) * 8,
|
||||
RGBA16_BLU(D_80161A36) * 8, D_80161A38);
|
||||
gDPSetPrimColor((*arg0)++, 0x00, 0x00, RGBA16_RED(gBgColor) * 8, RGBA16_GRN(gBgColor) * 8,
|
||||
RGBA16_BLU(gBgColor) * 8, gBlurAlpha);
|
||||
} else {
|
||||
gDPSetFillColor((*arg0)++, (((D_80161A36 | 1) << 0x10) | (D_80161A36 | 1)));
|
||||
gDPSetFillColor((*arg0)++, FILL_COLOR(gBgColor | 1));
|
||||
}
|
||||
gDPFillRectangle((*arg0)++, 8, 8, SCREEN_WIDTH - 8 - 1, SCREEN_HEIGHT - 8);
|
||||
gDPPipeSync((*arg0)++);
|
||||
@ -262,35 +281,35 @@ void func_800A24DC(s32 arg0) {
|
||||
}
|
||||
|
||||
void func_800A25DC(void) {
|
||||
switch (D_80177834) {
|
||||
switch (gGameState) {
|
||||
case 1:
|
||||
D_801774F8 = 0;
|
||||
D_80177820 = 0;
|
||||
gOverlaySetup = OVL_SETUP_TITLE;
|
||||
gOverlayStage = 0;
|
||||
break;
|
||||
case 2:
|
||||
D_801774F8 = 0;
|
||||
D_80177820 = 0;
|
||||
gOverlaySetup = OVL_SETUP_TITLE;
|
||||
gOverlayStage = 0;
|
||||
break;
|
||||
case 3:
|
||||
D_801774F8 = 1;
|
||||
D_80177820 = 0;
|
||||
gOverlaySetup = OVL_SETUP_MENU;
|
||||
gOverlayStage = 0;
|
||||
break;
|
||||
case 4:
|
||||
D_801774F8 = 2;
|
||||
D_80177820 = 0;
|
||||
gOverlaySetup = OVL_SETUP_MAP;
|
||||
gOverlayStage = 0;
|
||||
return;
|
||||
case 6:
|
||||
D_801774F8 = 50;
|
||||
gOverlaySetup = OVL_SETUP_VERSUS;
|
||||
break;
|
||||
case 7:
|
||||
D_801774F8 = D_800D28B4[D_80178234];
|
||||
gOverlaySetup = sOverlaySetups[gCurrentLevel];
|
||||
break;
|
||||
case 5:
|
||||
D_801774F8 = 3;
|
||||
D_80177820 = 0;
|
||||
gOverlaySetup = OVL_SETUP_STATE_5;
|
||||
gOverlayStage = 0;
|
||||
break;
|
||||
case 8:
|
||||
D_801774F8 = 4;
|
||||
gOverlaySetup = OVL_SETUP_CREDITS;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -300,7 +319,7 @@ void func_800A26C0(void) {
|
||||
u8 spBB;
|
||||
u16 var_v0_3;
|
||||
|
||||
func_800A1980();
|
||||
Game_SetGameState();
|
||||
if (D_80161A39) {
|
||||
func_800A1E68(&gUnkDisp1);
|
||||
D_80161A39 = false;
|
||||
@ -310,21 +329,21 @@ void func_800A26C0(void) {
|
||||
func_800A25DC();
|
||||
if (func_800A1B6C() != true) {
|
||||
Lib_Perspective(&gUnkDisp1);
|
||||
func_800A1FB0(&gUnkDisp1, D_801778A8, 0);
|
||||
func_800A1FB0(&gUnkDisp1, gCamCount, 0);
|
||||
if (D_8017783C != 0) {
|
||||
D_8017783C--;
|
||||
}
|
||||
switch (D_80177834) {
|
||||
case 0x64:
|
||||
switch (gGameState) {
|
||||
case GSTATE_BOOT:
|
||||
D_8017783C = 2;
|
||||
D_80177834++;
|
||||
gGameState++;
|
||||
break;
|
||||
case 0x65:
|
||||
case GSTATE_BOOT_WAIT:
|
||||
if (D_8017783C == 0) {
|
||||
D_80177834++;
|
||||
gGameState++;
|
||||
}
|
||||
break;
|
||||
case 0x66:
|
||||
case GSTATE_SHOW_LOGO:
|
||||
RCP_SetupDL(&gMasterDisp, 0x4C);
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 255);
|
||||
TextureRect_8bIA(&gMasterDisp, D_F000000, 128, 16, 100.0f, 86.0f, 1.0f, 1.0f);
|
||||
@ -332,16 +351,17 @@ void func_800A26C0(void) {
|
||||
TextureRect_8bIA(&gMasterDisp, D_F001000, 128, 16, 100.0f, 118.0f, 1.0f, 1.0f);
|
||||
TextureRect_8bIA(&gMasterDisp, D_F001800, 128, 16, 100.0f, 134.0f, 1.0f, 1.0f);
|
||||
TextureRect_8bIA(&gMasterDisp, D_F002000, 128, 10, 100.0f, 150.0f, 1.0f, 1.0f);
|
||||
D_80177834++;
|
||||
gGameState++;
|
||||
break;
|
||||
case 0x67:
|
||||
case GSTATE_CHECK_SAVE:
|
||||
if (Save_Read() != 0) {
|
||||
gSaveFile = *((SaveFile*) &gDefaultSave);
|
||||
Save_Write();
|
||||
}
|
||||
D_80177834++;
|
||||
Timer_CreateTask(MSEC_TO_CYCLES(1000), Timer_Increment, &D_80177834, 1);
|
||||
case 0x68:
|
||||
gGameState++;
|
||||
Timer_CreateTask(MSEC_TO_CYCLES(1000), Timer_Increment, &gGameState, 1);
|
||||
/* fallthrough */
|
||||
case GSTATE_LOGO_WAIT:
|
||||
RCP_SetupDL(&gMasterDisp, 0x4C);
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 255);
|
||||
TextureRect_8bIA(&gMasterDisp, D_F000000, 128, 16, 100.0f, 86.0f, 1.0f, 1.0f);
|
||||
@ -350,25 +370,25 @@ void func_800A26C0(void) {
|
||||
TextureRect_8bIA(&gMasterDisp, D_F001800, 128, 16, 100.0f, 134.0f, 1.0f, 1.0f);
|
||||
TextureRect_8bIA(&gMasterDisp, D_F002000, 128, 10, 100.0f, 150.0f, 1.0f, 1.0f);
|
||||
break;
|
||||
case 0x69:
|
||||
D_80177834 = 1;
|
||||
D_801774F8 = 0;
|
||||
D_80177820 = 0;
|
||||
case GSTATE_START:
|
||||
gGameState = GSTATE_INIT;
|
||||
gOverlaySetup = OVL_SETUP_TITLE;
|
||||
gOverlayStage = 0;
|
||||
break;
|
||||
case 0x1:
|
||||
D_80177834 = 2;
|
||||
case GSTATE_INIT:
|
||||
gGameState = GSTATE_TITLE;
|
||||
D_80177AE0 = 1;
|
||||
D_80177824 = 1;
|
||||
Memory_FreeAll();
|
||||
func_800A6148();
|
||||
D_801778A8 = 1;
|
||||
D_80161AA0[0] = 2;
|
||||
gCamCount = 1;
|
||||
gLifeCount[0] = 2;
|
||||
D_80177D20 = 0.0f;
|
||||
D_8016170C = D_80177A80 = D_80177830 = D_80177838 = D_80177840 = D_80178754 = D_801778E8 = D_80177AE0 =
|
||||
D_80178410 = D_80177B40 = D_80177854 = D_8017784C = D_80177898 = D_80161734 = D_80161A2C =
|
||||
D_80161A36 = D_80178340 = 0;
|
||||
D_80161A32 = D_80177C94 = D_80177CAC = D_80177CB4 = D_80177CBC = D_80177CC4 = D_80177C9C = D_80177CA4 =
|
||||
D_80161A5C = D_80161A34 = 0;
|
||||
gBgColor = D_80178340 = 0;
|
||||
gNextGameState = D_80177C94 = D_80177CAC = D_80177CB4 = D_80177CBC = D_80177CC4 = D_80177C9C =
|
||||
D_80177CA4 = D_80161A5C = D_80161A34 = 0;
|
||||
for (i = 0; i < 4; i++) {
|
||||
D_80177908[i] = 2;
|
||||
D_80177928[i] = 4;
|
||||
@ -384,13 +404,13 @@ void func_800A26C0(void) {
|
||||
}
|
||||
D_8017789C = 0;
|
||||
D_801778A4 = 3;
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 255;
|
||||
for (i = 0; i < 30; i++) {
|
||||
D_800D3180[i] = 0;
|
||||
}
|
||||
gExpertMode = false;
|
||||
D_80177C74 = gSaveFile.save.data.unk_14;
|
||||
switch (D_80177C74) {
|
||||
gSoundMode = gSaveFile.save.data.soundMode;
|
||||
switch (gSoundMode) {
|
||||
case 0:
|
||||
var_v0_3 = 0;
|
||||
break;
|
||||
@ -401,46 +421,46 @@ void func_800A26C0(void) {
|
||||
var_v0_3 = 1;
|
||||
break;
|
||||
default:
|
||||
D_80177C74 = 0;
|
||||
gSoundMode = 0;
|
||||
var_v0_3 = 0;
|
||||
break;
|
||||
}
|
||||
func_800182F4(var_v0_3 | 0xE0000000);
|
||||
D_80177C80[0] = gSaveFile.save.data.unk_15;
|
||||
D_80177C80[1] = gSaveFile.save.data.unk_16;
|
||||
D_80177C80[2] = gSaveFile.save.data.unk_17;
|
||||
if (D_80177C80[0] > 99) {
|
||||
D_80177C80[0] = 99;
|
||||
gVolumeSettings[0] = gSaveFile.save.data.musicVolume;
|
||||
gVolumeSettings[1] = gSaveFile.save.data.voiceVolume;
|
||||
gVolumeSettings[2] = gSaveFile.save.data.sfxVolume;
|
||||
if (gVolumeSettings[0] > 99) {
|
||||
gVolumeSettings[0] = 99;
|
||||
}
|
||||
if (D_80177C80[1] > 99) {
|
||||
D_80177C80[1] = 99;
|
||||
if (gVolumeSettings[1] > 99) {
|
||||
gVolumeSettings[1] = 99;
|
||||
}
|
||||
if (D_80177C80[2] > 99) {
|
||||
D_80177C80[2] = 99;
|
||||
if (gVolumeSettings[2] > 99) {
|
||||
gVolumeSettings[2] = 99;
|
||||
}
|
||||
func_8001D8A8(0, D_80177C80[0]);
|
||||
func_8001D8A8(1, D_80177C80[1]);
|
||||
func_8001D8A8(2, D_80177C80[2]);
|
||||
func_8001D8A8(0, gVolumeSettings[0]);
|
||||
func_8001D8A8(1, gVolumeSettings[1]);
|
||||
func_8001D8A8(2, gVolumeSettings[2]);
|
||||
break;
|
||||
case 0x2:
|
||||
case GSTATE_TITLE: // title screen
|
||||
func_80187520(0x67, NULL);
|
||||
break;
|
||||
case 0x3:
|
||||
case GSTATE_MENU: // main menu
|
||||
func_80187520(0x6B, NULL);
|
||||
break;
|
||||
case 0x4:
|
||||
case GSTATE_MAP: // world map
|
||||
func_EBFBE0_8019E8D0();
|
||||
break;
|
||||
case 0x6:
|
||||
case GSTATE_VS_INIT: // vs mode
|
||||
func_800C20B0();
|
||||
break;
|
||||
case 0x7:
|
||||
case GSTATE_PLAY: // play
|
||||
func_800B86CC();
|
||||
break;
|
||||
case 0x5:
|
||||
case GSTATE_STATE_5: // world map
|
||||
func_80187520(0x6D, NULL);
|
||||
break;
|
||||
case 0x8:
|
||||
case GSTATE_CREDITS: // credits
|
||||
D_80177898 = 8;
|
||||
func_EF0260_8018A96C();
|
||||
break;
|
||||
@ -448,17 +468,17 @@ void func_800A26C0(void) {
|
||||
break;
|
||||
}
|
||||
func_800A24DC(0);
|
||||
if (D_801778A8 == 2) {
|
||||
func_800A1FB0(&gMasterDisp, D_801778A8, 1);
|
||||
if (gCamCount == 2) {
|
||||
func_800A1FB0(&gMasterDisp, gCamCount, 1);
|
||||
func_800A24DC(1);
|
||||
gDPPipeSync(gMasterDisp++);
|
||||
gDPSetScissor(gMasterDisp++, G_SC_NON_INTERLACE, 8, 8, SCREEN_WIDTH - 8, SCREEN_HEIGHT - 8);
|
||||
} else if ((D_801778A8 == 4) && (D_80177898 != 0)) {
|
||||
func_800A1FB0(&gMasterDisp, D_801778A8, 3);
|
||||
} else if ((gCamCount == 4) && (D_80177898 != 0)) {
|
||||
func_800A1FB0(&gMasterDisp, gCamCount, 3);
|
||||
func_800A24DC(3);
|
||||
func_800A1FB0(&gMasterDisp, D_801778A8, 2);
|
||||
func_800A1FB0(&gMasterDisp, gCamCount, 2);
|
||||
func_800A24DC(2);
|
||||
func_800A1FB0(&gMasterDisp, D_801778A8, 1);
|
||||
func_800A1FB0(&gMasterDisp, gCamCount, 1);
|
||||
func_800A24DC(1);
|
||||
gDPPipeSync(gMasterDisp++);
|
||||
gDPSetScissor(gMasterDisp++, G_SC_NON_INTERLACE, 8, 8, SCREEN_WIDTH - 8, SCREEN_HEIGHT - 8);
|
||||
@ -471,7 +491,7 @@ void func_800A26C0(void) {
|
||||
gDPFillRectangle(gMasterDisp++, SCREEN_WIDTH / 2 - 3, 8, SCREEN_WIDTH / 2 + 2, SCREEN_HEIGHT - 8);
|
||||
gDPFillRectangle(gMasterDisp++, 8, SCREEN_HEIGHT / 2 - 3, SCREEN_WIDTH - 8, SCREEN_HEIGHT / 2 + 2);
|
||||
|
||||
if (D_80177C98 == 0) {
|
||||
if (gLevelType == 0) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x0, 0, 0, 0, 255);
|
||||
} else {
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x0, 100, 100, 255, 255);
|
||||
@ -482,7 +502,7 @@ void func_800A26C0(void) {
|
||||
func_8008CB8C();
|
||||
}
|
||||
spBB = 0;
|
||||
if (D_801778A8 == 1) {
|
||||
if (gCamCount == 1) {
|
||||
Graphics_FillRectangle(&gMasterDisp, 0, 0, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1, D_80178390[0],
|
||||
D_801783A0[0], D_801783B0[0], D_80178380[0]);
|
||||
if ((D_80177898 == 4) || (D_80177898 == 8)) {
|
||||
@ -494,8 +514,8 @@ void func_800A26C0(void) {
|
||||
func_8008DE68();
|
||||
}
|
||||
} else {
|
||||
for (i = 0; i < D_801778A8; i++) {
|
||||
if (D_80178280[i].unk_224 != 0) {
|
||||
for (i = 0; i < gCamCount; i++) {
|
||||
if (gPlayer[i].unk_224 != 0) {
|
||||
|
||||
Graphics_FillRectangle(&gMasterDisp, D_800D2874[i], D_800D2894[i], D_800D2884[i], D_800D28A4[i],
|
||||
D_80178348, D_80178350, D_80178354, D_80178340);
|
||||
@ -509,7 +529,7 @@ void func_800A26C0(void) {
|
||||
func_80040CDC();
|
||||
func_8008865C();
|
||||
func_8002E548();
|
||||
if ((D_80177834 == 7) && (D_801778E8 != 0)) {
|
||||
if ((gGameState == GSTATE_PLAY) && (D_801778E8 != 0)) {
|
||||
func_800C1ED4();
|
||||
}
|
||||
func_80084688(0, D_80177C50);
|
||||
@ -522,19 +542,19 @@ void func_800A26C0(void) {
|
||||
}
|
||||
|
||||
Object_2F4* func_800A3608(s32 arg0) {
|
||||
Object_2F4* var_a2 = D_80163FE0;
|
||||
Object_2F4* var_a2 = gObjects2F4;
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80163FE0); i++, var_a2++) {
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects2F4); i++, var_a2++) {
|
||||
if (var_a2->obj.status == 0) {
|
||||
func_800613C4(var_a2);
|
||||
Object_2F4_Initialize(var_a2);
|
||||
var_a2->obj.status = 1;
|
||||
var_a2->obj.id = arg0;
|
||||
func_800612B8(&var_a2->unk_01C, var_a2->obj.id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (i == ARRAY_COUNT(D_80163FE0)) {
|
||||
if (i == ARRAY_COUNT(gObjects2F4)) {
|
||||
var_a2 = NULL;
|
||||
}
|
||||
return var_a2;
|
||||
|
@ -67,12 +67,12 @@ bool func_800A36FC(Vec3f* arg0, Vec3f* arg1, CollisionHeader2* arg2, Vec3f* arg3
|
||||
arg3->x = Math_Atan2F_XY(sp48.y, sp48.z);
|
||||
if (sp48.z != 0.0f) {
|
||||
arg3->z = -Math_Atan2F_XY(__sinf(Math_Atan2F_XY(sp48.y, sp48.z)) * sp48.z, sp48.x);
|
||||
} else if (arg3->x >= 3.1415927f) {
|
||||
} else if (arg3->x >= M_PI) {
|
||||
arg3->z = Math_Atan2F_XY(sp48.y, sp48.x);
|
||||
} else {
|
||||
arg3->z = -Math_Atan2F_XY(sp48.y, sp48.x);
|
||||
}
|
||||
if ((arg0->y <= arg3->y) || (D_80178234 == 11)) {
|
||||
if ((arg0->y <= arg3->y) || (gCurrentLevel == LEVEL_MACBETH)) {
|
||||
sp38 = true;
|
||||
}
|
||||
}
|
||||
|
@ -5,8 +5,8 @@ void func_800A3CA0(void) {
|
||||
Matrix_LookAt(gGfxMatrix, D_80177978, D_80177980, D_80177988, D_801779A0, D_801779B8, D_801779C0, 0.0f, 1.0f, 0.0f,
|
||||
1);
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -200.0f, 1);
|
||||
Matrix_RotateY(gGfxMatrix, gChangedInput[D_801778A0].stick_x * 0.017453292f, 1);
|
||||
Matrix_RotateX(gGfxMatrix, gChangedInput[D_801778A0].stick_y * 0.017453292f, 1);
|
||||
Matrix_RotateY(gGfxMatrix, gChangedInput[D_801778A0].stick_x * M_DTOR, 1);
|
||||
Matrix_RotateX(gGfxMatrix, gChangedInput[D_801778A0].stick_y * M_DTOR, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
RCP_SetupDL_23();
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
|
@ -82,7 +82,7 @@ void Texture_Mottle(void* dst, void* src, u8 mode) {
|
||||
switch (mode) {
|
||||
case 2:
|
||||
for (var_s3 = 0; var_s3 < 0x400; var_s3 += 0x20) {
|
||||
temp_ft3 = 3.0f * __sinf((s32) (((var_s3 / 32) + (D_80177DB0 / 4)) % 0x20U) * (M_PI / 16.0f));
|
||||
temp_ft3 = 3.0f * __sinf((s32) (((var_s3 / 32) + (gFrameCount / 4)) % 0x20U) * (M_PI / 16.0f));
|
||||
for (var_v1 = 0; var_v1 < 0x20; var_v1++) {
|
||||
((u16*) dst)[var_s3 + (temp_ft3 + var_v1) % 0x20U] = ((u16*) src)[var_s3 + var_v1];
|
||||
}
|
||||
@ -90,7 +90,7 @@ void Texture_Mottle(void* dst, void* src, u8 mode) {
|
||||
break;
|
||||
case 3:
|
||||
for (var_s3 = 0; var_s3 < 0x580; var_s3 += 0x40) {
|
||||
temp_ft3 = __sinf((s32) (((var_s3 / 64) + (D_80177DB0 / 4)) % 0x20U) * (M_PI / 4.0f));
|
||||
temp_ft3 = __sinf((s32) (((var_s3 / 64) + (gFrameCount / 4)) % 0x20U) * (M_PI / 4.0f));
|
||||
for (var_v1 = 0; var_v1 < 0x40; var_v1++) {
|
||||
((u16*) dst)[var_s3 + (temp_ft3 + var_v1) % 0x40U] = ((u16*) src)[var_s3 + var_v1];
|
||||
}
|
||||
@ -98,7 +98,7 @@ void Texture_Mottle(void* dst, void* src, u8 mode) {
|
||||
break;
|
||||
case 1:
|
||||
for (var_s3 = 0; var_s3 < 0x100; var_s3 += 0x10) {
|
||||
temp_ft3 = 2.0f * __sinf((s32) (((var_s3 / 16) + (D_80177DB0 / 2)) % 0x10U) * (M_PI / 8.0f));
|
||||
temp_ft3 = 2.0f * __sinf((s32) (((var_s3 / 16) + (gFrameCount / 2)) % 0x10U) * (M_PI / 8.0f));
|
||||
for (var_v1 = 0; var_v1 < 0x10; var_v1++) {
|
||||
((u16*) dst)[var_s3 + (temp_ft3 + var_v1) % 0x10U] = ((u16*) src)[var_s3 + var_v1];
|
||||
}
|
||||
@ -106,7 +106,7 @@ void Texture_Mottle(void* dst, void* src, u8 mode) {
|
||||
break;
|
||||
case 0:
|
||||
for (var_s3 = 0; var_s3 < 0x400; var_s3 += 0x20) {
|
||||
temp_ft3 = 2.0f * __sinf((s32) (((var_s3 / 32) + (D_80177DB0 / 2)) % 0x20U) * (M_PI / 16.0f));
|
||||
temp_ft3 = 2.0f * __sinf((s32) (((var_s3 / 32) + (gFrameCount / 2)) % 0x20U) * (M_PI / 16.0f));
|
||||
for (var_v1 = 0; var_v1 < 0x20; var_v1++) {
|
||||
((u16*) dst)[var_s3 + (temp_ft3 + var_v1) % 0x20U] = ((u16*) src)[var_s3 + var_v1];
|
||||
}
|
||||
@ -116,7 +116,7 @@ void Texture_Mottle(void* dst, void* src, u8 mode) {
|
||||
var_s0_2 = (u8*) dst;
|
||||
var_s4_2 = (u8*) src;
|
||||
for (var_s3 = 0; var_s3 < 0x1000; var_s3 += 0x40) {
|
||||
temp_ft3 = 4.0f * __sinf((s32) (((var_s3 / 64) + (D_80177DB0 / 4)) % 0x20U) * (M_PI / 16.0f));
|
||||
temp_ft3 = 4.0f * __sinf((s32) (((var_s3 / 64) + (gFrameCount / 4)) % 0x20U) * (M_PI / 16.0f));
|
||||
for (var_v1 = 0; var_v1 < 0x40; var_v1++) {
|
||||
var_s0_2[var_s3 + (temp_ft3 + var_v1) % 0x40U] = var_s4_2[var_s3 + var_v1];
|
||||
}
|
||||
@ -744,14 +744,14 @@ u16* func_8009F7B4(Gfx** gfxPtr, u8 width, u8 height) {
|
||||
gDPSetScissorFrac((*gfxPtr)++, G_SC_NON_INTERLACE, 0, 0, width * 4.0f, height * 4.0f);
|
||||
gDPSetDepthImage((*gfxPtr)++, &gZBuffer);
|
||||
gDPSetColorImage((*gfxPtr)++, G_IM_FMT_RGBA, G_IM_SIZ_16b, width, &gZBuffer);
|
||||
gDPSetFillColor((*gfxPtr)++, 0xFFFCFFFC);
|
||||
gDPSetFillColor((*gfxPtr)++, FILL_COLOR(GPACK_ZDZ(G_MAXFBZ, 0)));
|
||||
gDPFillRectangle((*gfxPtr)++, 0, 0, width - 1, height - 1);
|
||||
gDPPipeSync((*gfxPtr)++);
|
||||
gDPSetDepthSource((*gfxPtr)++, G_ZS_PIXEL);
|
||||
gDPSetColorImage((*gfxPtr)++, G_IM_FMT_RGBA, G_IM_SIZ_16b, width, spB4);
|
||||
gDPSetColorDither((*gfxPtr)++, G_CD_DISABLE);
|
||||
gDPSetFillColor((*gfxPtr)++, 0);
|
||||
gDPSetFillColor((*gfxPtr)++, ((D_80161A36 | 1) << 0x10) | (D_80161A36 | 1));
|
||||
gDPSetFillColor((*gfxPtr)++, FILL_COLOR(gBgColor | 1));
|
||||
gDPFillRectangle((*gfxPtr)++, 0, 0, width - 1, height - 1);
|
||||
gDPPipeSync((*gfxPtr)++);
|
||||
guPerspective(gGfxMtx, &norm, D_80161A3C, (f32) width / height, 10.0f, 12800.0f, 1.0f);
|
||||
|
@ -5,19 +5,19 @@
|
||||
f32* D_800CF964[] = { NULL };
|
||||
|
||||
void func_800594F0(Object_80* arg0) {
|
||||
RCP_SetupDL_57(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_57(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
Matrix_RotateY(gGfxMatrix, M_PI, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gSPDisplayList(gMasterDisp++, D_6007D90);
|
||||
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_29(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
}
|
||||
|
||||
void func_800595D0(Object_80* arg0) {
|
||||
RCP_SetupDL_57(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_57(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
Matrix_RotateY(gGfxMatrix, M_PI, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
gSPDisplayList(gMasterDisp++, D_6007CF0);
|
||||
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_29(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
}
|
||||
|
||||
void func_800596B0(Object_2F4* arg0) {
|
||||
|
@ -1,8 +1,7 @@
|
||||
#include "global.h"
|
||||
|
||||
// these are overlay functions. They will need to be replaced with their proper overlay names
|
||||
void func_80187530(Object*);
|
||||
void func_8018753C(Object*);
|
||||
|
||||
void func_8018756C(Object*);
|
||||
void func_801875A4(Object*);
|
||||
void func_80187650(Object*);
|
||||
@ -192,13 +191,11 @@ void func_801A2A78(Object*);
|
||||
void func_801A2B24(Object*);
|
||||
void func_801A2DD8(Object*);
|
||||
void func_801A3240(Object*);
|
||||
void func_801A3BD4(Object*);
|
||||
void func_801A3E98(Object*);
|
||||
void func_801A43BC(Object*);
|
||||
void func_801A46A0(Object*);
|
||||
void func_801A4A64(Object*);
|
||||
void func_801A4B24(Object*);
|
||||
void func_801A4CB0(Object*);
|
||||
void func_801A4E44(Object*);
|
||||
void func_801A52B8(Object*);
|
||||
void func_801A54E8(Object*);
|
||||
@ -279,8 +276,13 @@ f32 D_800CBEA8[] = {
|
||||
1.0f, 0.0f, 75.0f, 0.0f, 75.0f, 0.0f, 75.0f,
|
||||
};
|
||||
f32 D_800CBEC4[] = {
|
||||
1.0f, 0.0f, 100.0f, 0.0f, 100.0f, 0.0f, 100.0f, 1.0f, 0.0f, 150.0f, 0.0f,
|
||||
150.0f, 0.0f, 150.0f, 1.0f, 0.0f, 200.0f, 0.0f, 200.0f, 0.0f, 200.0f,
|
||||
1.0f, 0.0f, 100.0f, 0.0f, 100.0f, 0.0f, 100.0f,
|
||||
};
|
||||
f32 D_800CBEE0[] = {
|
||||
1.0f, 0.0f, 150.0f, 0.0f, 150.0f, 0.0f, 150.0f,
|
||||
};
|
||||
f32 D_800CBEFC[] = {
|
||||
1.0f, 0.0f, 200.0f, 0.0f, 200.0f, 0.0f, 200.0f,
|
||||
};
|
||||
f32 D_800CBF18[] = {
|
||||
1.0f, -113.0f, 61.0f, 98.0f, 100.0f, 0.0f, 219.0f,
|
||||
@ -316,414 +318,423 @@ f32 D_800CC01C[] = {
|
||||
1.0f, 0.0f, 40.0f, 0.0f, 40.0f, 0.0f, 40.0f,
|
||||
};
|
||||
f32 D_800CC038[] = {
|
||||
1.0f, 0.0f, 40.0f, 0.0f, 40.0f, 0.0f, 40.0f, 1.0f, 0.0f, 140.0f, 0.0f, 170.0f,
|
||||
0.0f, 140.0f, 4.0f, 0.0f, 140.0f, -675.0f, 140.0f, 0.0f, 810.0f, 0.0f, 140.0f, 675.0f,
|
||||
140.0f, 0.0f, 810.0f, 0.0f, 140.0f, 0.0f, 810.0f, 675.0f, 140.0f, 0.0f, 140.0f, 0.0f,
|
||||
810.0f, -675.0f, 140.0f, 1.0f, 0.0f, 140.0f, 0.0f, 140.0f, 0.0f, 1800.0f, 2.0f, 0.0f,
|
||||
140.0f, 0.0f, 140.0f, 0.0f, 1800.0f, 1.0f, 141.0f, 1.0f, 1800.0f, 1.0f, 140.0f,
|
||||
1.0f, 0.0f, 40.0f, 0.0f, 40.0f, 0.0f, 40.0f,
|
||||
};
|
||||
f32 D_800CC054[] = {
|
||||
1.0f, 0.0f, 140.0f, 0.0f, 170.0f, 0.0f, 140.0f,
|
||||
};
|
||||
f32 D_800CC070[] = {
|
||||
4.0f, 0.0f, 140.0f, -675.0f, 140.0f, 0.0f, 810.0f, 0.0f, 140.0f, 675.0f, 140.0f, 0.0f, 810.0f,
|
||||
0.0f, 140.0f, 0.0f, 810.0f, 675.0f, 140.0f, 0.0f, 140.0f, 0.0f, 810.0f, -675.0f, 140.0f,
|
||||
};
|
||||
f32 D_800CC0D4[] = {
|
||||
1.0f, 0.0f, 140.0f, 0.0f, 140.0f, 0.0f, 1800.0f,
|
||||
};
|
||||
f32 D_800CC0F0[] = {
|
||||
2.0f, 0.0f, 140.0f, 0.0f, 140.0f, 0.0f, 1800.0f, 1.0f, 141.0f, 1.0f, 1800.0f, 1.0f, 140.0f,
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
ObjectStruct_1C D_800CC124[0x190] = {
|
||||
{(void*) D_6015F00, 0, (ObjectFunc) NULL, D_603E3E0, 800.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_602E9E0, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_601BEC0, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602E7A0, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60244A0, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602E570, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60132B0, 0, (ObjectFunc) NULL, D_603DCA4, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602E080, 0, (ObjectFunc) NULL, D_603DD40, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60164F0, 0, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6014500, 0, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602D5F0, 0, (ObjectFunc) NULL, D_603DDF0, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_601A7D0, 0, (ObjectFunc) NULL, D_603DE8C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_6014B50, 0, (ObjectFunc) NULL, D_603DEF4, 500.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_6016580, 0, (ObjectFunc) NULL, D_603DF8C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_601B560, 0, (ObjectFunc) func_80066EA8, D_603DFDC, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_60361F0, 0, (ObjectFunc) func_80066EA8, D_603E014, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_6018E80, 0, (ObjectFunc) func_80066EA8, D_603E030, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_6035F10, 0, (ObjectFunc) func_80066EA8, D_603E09C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) func_8018753C, 1, (ObjectFunc) func_80187530, D_603E98C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_60153B0, 0, (ObjectFunc) NULL, D_603E118, 100.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_601F5A0, 0, (ObjectFunc) NULL, D_603E14C, 500.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_60137B0, 0, (ObjectFunc) NULL, D_603E1B4, 400.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_6006A80, 0, (ObjectFunc) NULL, D_603E21C, 400.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_6016270, 0, (ObjectFunc) NULL, D_603E4A0, 200.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6010E00, 0, (ObjectFunc) NULL, D_603E9EC, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6014670, 0, (ObjectFunc) NULL, D_603EA08, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6010A50, 0, (ObjectFunc) NULL, D_603EA74, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60143E0, 0, (ObjectFunc) NULL, D_603EAE0, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6014A20, 0, (ObjectFunc) NULL, D_603EB0C, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60064FC, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006518, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006564, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60065B0, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60065FC, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006648, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006694, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60066E0_f32, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_600672C, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006778, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059AEC, 1, (ObjectFunc) func_8006D350, D_800CBF34, 6000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059F68, 1, (ObjectFunc) func_80066D5C, D_603E4A4, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059FDC, 1, (ObjectFunc) func_80066EA8, D_603E4DC, 300.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059BBC, 1, (ObjectFunc) func_8006B95C, D_603E514, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6024AC0, 0, (ObjectFunc) NULL, D_602B9EC, 200.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600F560, 0, (ObjectFunc) NULL, D_602BA20, 1500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600EC90, 0, (ObjectFunc) NULL, D_602BAE4, 1500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600E820, 0, (ObjectFunc) NULL, D_602BBD8, 1500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_601FCB0, 0, (ObjectFunc) NULL, D_602BC54, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_800594F0, 1, (ObjectFunc) NULL, D_601B4E0, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_800595D0, 1, (ObjectFunc) NULL, D_601B4FC, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6007410, 0, (ObjectFunc) NULL, D_601B518, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6006F50, 0, (ObjectFunc) NULL, D_601B584, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6005780, 0, (ObjectFunc) func_80193540, D_601B5F4, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6003610, 0, (ObjectFunc) NULL, D_601B644, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6000E00, 0, (ObjectFunc) func_8006AA98, D_603E0EC, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6013B50, 0, (ObjectFunc) NULL, D_603E88C, 1000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) func_8018F31C, 2, (ObjectFunc) func_8018F044, D_603E8A8, 1000.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) func_8018F8B8, 1, (ObjectFunc) func_8018F4D8, D_6006BF0, 800.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_700BE00, 0, (ObjectFunc) NULL, D_6006C44, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6024010, 0, (ObjectFunc) NULL, D_603626C, 300.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) D_6027180, 0, (ObjectFunc) NULL, D_6036288, 400.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2A78, 1, (ObjectFunc) NULL, D_60362A4, 200.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) D_60270E0, 0, (ObjectFunc) NULL, D_800CBF34, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_6013960, 0, (ObjectFunc) NULL, D_6036894, 500.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) D_600AF40, 0, (ObjectFunc) NULL, D_60368E0, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801A6608, 1, (ObjectFunc) NULL, D_6036724, 400.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_601F1D0, 0, (ObjectFunc) NULL, D_60362D8, 2500.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) D_60238F0, 0, (ObjectFunc) NULL, D_6036328, 2000.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) D_601B7C0, 0, (ObjectFunc) NULL, D_60362F4, 2500.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
{(void*) D_6030500, 0, (ObjectFunc) NULL, D_6036370, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_602DAE0, 0, (ObjectFunc) NULL, D_603638C, 1900.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_6027900, 0, (ObjectFunc) NULL, D_60363B8, 1900.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_602DB80, 0, (ObjectFunc) NULL, D_60363E4, 1100.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_6030630, 0, (ObjectFunc) NULL, D_6036410, 1100.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_602DC20, 0, (ObjectFunc) NULL, D_603643C, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_601B0D0, 0, (ObjectFunc) NULL, D_6036760, 3000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_60075D0, 0, (ObjectFunc) NULL, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_6036344, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A3240, 1, (ObjectFunc) func_801A2DD8, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) func_801A0BD8, D_6036594, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_6036204, 1300.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_60097E0, 0, (ObjectFunc) NULL, D_6034478, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_601D730, 0, (ObjectFunc) NULL, D_603450C, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_60102C0, 0, (ObjectFunc) NULL, D_6034588, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_60036A0, 0, (ObjectFunc) func_801A4E44, D_6034664, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_6005360, 0, (ObjectFunc) NULL, D_6034770, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) func_80074F90, 1, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_600F6C0, 0, (ObjectFunc) func_801A52B8, D_60347F0, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_601B610, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_601C6A0, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60188D0, 0, (ObjectFunc) NULL, D_603486C, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60034D0, 0, (ObjectFunc) NULL, D_60347D4, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60231C0, 0, (ObjectFunc) NULL, D_6030C60, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6011EE0, 0, (ObjectFunc) NULL, D_6030C7C, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_6015730, 0, (ObjectFunc) NULL, D_6030D74, 2000.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_601DE60, 0, (ObjectFunc) NULL, D_6030DF8, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602B4C0, 0, (ObjectFunc) NULL, D_6030E14, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600EE10, 0, (ObjectFunc) NULL, D_6030E30, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_60120F0, 0, (ObjectFunc) NULL, D_6030E4C, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_600EEF0, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_600BF80, 0, (ObjectFunc) NULL, D_6030E68, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) func_801BE1FC, 1, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_9005C80, 0, (ObjectFunc) func_801924A8, D_601B678, 1000.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
{(void*) D_9003F50, 0, (ObjectFunc) NULL, D_601B6C4, 3200.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
{(void*) D_900F060, 0, (ObjectFunc) NULL, D_601B710, 3200.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
{(void*) D_900F1D0, 0, (ObjectFunc) NULL, D_601B75C, 3200.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
{(void*) func_801935D4, 1, (ObjectFunc) func_8019356C, D_C038BD8, 500.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) func_8019350C, 1, (ObjectFunc) func_80193380, D_C038A48, 500.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
{(void*) D_60030F0, 0, (ObjectFunc) NULL, D_6009CC4, 1000.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) D_6003000, 0, (ObjectFunc) NULL, D_C038BA4, 0.0f, 0, 0, 41, 1, 0.0f, 0 },
|
||||
{(void*) D_6006890_Gfx, 0, (ObjectFunc) NULL, D_C038B40, 0.0f, 0, 0, 41, 1, 0.0f, 0 },
|
||||
{(void*) D_6002990, 0, (ObjectFunc) NULL, D_C038B40, 0.0f, 0, 0, 41, 1, 0.0f, 0 },
|
||||
{(void*) D_6004170, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 0, 1, 0.0f, 0 },
|
||||
{(void*) D_3017600, 0, (ObjectFunc) NULL, D_302EE64, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_3017600, 0, (ObjectFunc) NULL, D_302EE80, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_30173C0, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_30174E0, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_301B080, 0, (ObjectFunc) NULL, D_302EE9C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_3016B00, 0, (ObjectFunc) NULL, D_302EE00, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_3013780, 0, (ObjectFunc) NULL, D_302ED4C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_3013580, 0, (ObjectFunc) NULL, D_302ED98, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_3012ED0, 0, (ObjectFunc) NULL, D_302EDB4, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_60079B0, 0, (ObjectFunc) NULL, D_600FF80, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6007D80, 0, (ObjectFunc) NULL, D_600FFA0, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6006310, 0, (ObjectFunc) NULL, D_600FFC0, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60066E0_Gfx, 0, (ObjectFunc) NULL, D_600FEB8, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600F4C0, 0, (ObjectFunc) NULL, D_6011C10, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600B8B0, 0, (ObjectFunc) NULL, D_6011C48, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600BAF0, 0, (ObjectFunc) NULL, D_601115C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80197CB8, 1, (ObjectFunc) NULL, D_6034368, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6001DA0, 0, (ObjectFunc) NULL, D_600924C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6001360, 0, (ObjectFunc) NULL, D_60092E8, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6008370, 0, (ObjectFunc) NULL, D_601668C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_6010960, 0, (ObjectFunc) NULL, D_6016714, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602F7C0, 0, (ObjectFunc) func_80068FE0, D_603E468, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_601C9B0, 0, (ObjectFunc) func_80068FE0, D_603E484, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_600A420, 0, (ObjectFunc) func_80068FE0, D_600FE9C, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059C40, 1, (ObjectFunc) NULL, D_800CBF34, 1800.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_602DCA0, 0, (ObjectFunc) NULL, D_800CBF34, -100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_601F500, 0, (ObjectFunc) NULL, D_800CBF34, -100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059C34, 1, (ObjectFunc) func_80066E8C, D_800CBF34, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80059850, 1, (ObjectFunc) NULL, D_800CBF34, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) D_60023B0, 0, (ObjectFunc) func_8018F038, D_60068BC, 100.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_801875A4, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_801922DC, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80192358, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_801923C0, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8019243C, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) NULL, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8018BAAC, 2, (ObjectFunc) func_8018AED0, D_603E5D0, 500.0f, 0, 0, 39, 1, 200.0f, 1 },
|
||||
{(void*) func_8018BBA4, 2, (ObjectFunc) func_8018B15C, D_603E5D0, 500.0f, 0, 0, 39, 1, 200.0f, 1 },
|
||||
{(void*) func_8018BBF8, 2, (ObjectFunc) func_8018B418, D_603E5D0, 500.0f, 0, 0, 39, 1, 200.0f, 1 },
|
||||
{(void*) func_8018BD7C, 2, (ObjectFunc) func_8018B58C, D_603E604, 500.0f, 0, 0, 39, 1, 0.0f, 1 },
|
||||
{(void*) func_8005B6A4, 1, (ObjectFunc) func_80066A80, D_800CBF34, 1000.0f, 0, 0, 39, 0, 0.0f, 1 },
|
||||
{(void*) D_6018C00, 0, (ObjectFunc) func_8018756C, D_602F6EC, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_8005B71C, 1, (ObjectFunc) func_80187650, D_602F708, 100.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_8018DA6C, 1, (ObjectFunc) func_8018D9EC, D_800CBF34, 100.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
{(void*) func_8018DAEC, 1, (ObjectFunc) func_8018D9EC, D_800CBF34, 100.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
{(void*) func_8018DB6C, 1, (ObjectFunc) func_8018D9EC, D_800CBF34, 100.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
{(void*) func_8005B7CC, 1, (ObjectFunc) func_8018795C, D_602F724, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
{(void*) D_6018450, 0, (ObjectFunc) func_801877C4, D_602F740, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_801BEC74, 1, (ObjectFunc) func_801BEC68, D_6030BE0, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_8005A094, 1, (ObjectFunc) func_8006C008, D_800CBF34, 0.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) func_8005B848, 1, (ObjectFunc) func_800656D4, D_800CBFE4, 100.0f, 0, 1, 39, 0, 1.0f, 0 },
|
||||
{(void*) func_8005B848, 1, (ObjectFunc) func_800656D4, D_800CBFE4, 100.0f, 0, 1, 39, 0, 1.0f, 0 },
|
||||
{(void*) func_8005B9A4, 1, (ObjectFunc) func_8006654C, D_603E54C, 200.0f, 0, 1, 39, 0, 50.0f, 1 },
|
||||
{(void*) func_8005BA30, 1, (ObjectFunc) func_800669A0, D_603E598, 100.0f, 0, 1, 39, 0, 0.0f, 0 },
|
||||
{(void*) func_8006B74C, 1, (ObjectFunc) func_8006B094, D_800CC000, 200.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
{(void*) func_8004FEC0, 1, (ObjectFunc) func_8004F8AC, D_800CBF34, 20000.0f, 0, 1, 39, 0, 0.0f, 0 },
|
||||
{(void*) func_80059BF0, 1, (ObjectFunc) func_8006BB78, D_603E5B4, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_80035448, 1, (ObjectFunc) func_800319AC, D_800CC038, 20000.0f, 0, 1, 39, 1, 1.0f, 1 },
|
||||
{(void*) func_80035448, 1, (ObjectFunc) func_80092EC0, D_800CC01C, 20000.0f, 0, 0, 39, 1, 0.0f, 0 },
|
||||
{(void*) func_80188448, 1, (ObjectFunc) func_801880E4, D_800CBF34, 20000.0f, 0, 0, 39, 1, 0.0f, 0 },
|
||||
{(void*) func_80074FF0, 1, (ObjectFunc) func_80072594, D_800CBF34, 2000.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
{(void*) func_800598E8, 1, (ObjectFunc) func_8006AC08, D_602F684, 100.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_80059A24, 1, (ObjectFunc) func_8006AD18, D_602F6A0, 100.0f, 0, 1, 39, 0, 180.0f, 1 },
|
||||
{(void*) func_8018F884, 1, (ObjectFunc) func_8018F330, D_800CBF34, 1000.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) func_801A4CB0, 1, (ObjectFunc) func_801A3BD4, D_603405C, 1000.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019C778, D_60359C8, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_801AC438, D_6035A48, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801AC294, 2, (ObjectFunc) func_801A7E7C, D_603677C, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019EA60, D_6035A14, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019D700, D_6035AE0, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019CE88, D_6035D9C, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019E410, D_6035E04, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019FF9C, D_60360C0, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A12C4, 1, (ObjectFunc) func_8019EE68, D_6036154, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A43BC, 1, (ObjectFunc) func_801A3E98, D_6036458, 300.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A4A64, 1, (ObjectFunc) func_801A46A0, D_60364C0, 300.0f, 0, 1, 40, 1, 0.0f, 1 },
|
||||
{(void*) func_801A5F90, 1, (ObjectFunc) func_801A5E54, D_60366EC, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A6100, 1, (ObjectFunc) func_801A5FD0, D_6036708, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A6540, 1, (ObjectFunc) func_801A6144, D_6036728, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801A68EC, 1, (ObjectFunc) func_801A67C8, D_6036744, 300.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801ADAC8, 1, (ObjectFunc) func_801AD6F0, D_6036930, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801AE2C0, 1, (ObjectFunc) func_801ADD68, D_603694C, 300.0f, 0, 0, 40, 1, 1.0f, 0 },
|
||||
{(void*) func_801AEEFC, 1, (ObjectFunc) func_801AEC04, D_6036968, 300.0f, 0, 0, 40, 1, 1.0f, 0 },
|
||||
{(void*) func_801A54E8, 1, (ObjectFunc) func_801A4B24, D_60364DC, 300.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80189194, D_800CBF34, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
{(void*) D_700AB70, 0, (ObjectFunc) func_8018AB44, D_60064AC, 50.0f, 0, 0, 39, 1, 1.0f, 0 },
|
||||
{(void*) func_80189AFC, 1, (ObjectFunc) func_801895B8, D_60064C8, 300.0f, 0, 0, 39, 1, 70.0f, 1 },
|
||||
{(void*) func_8018E5B4, 1, (ObjectFunc) func_8018E54C, D_60067C4, 0.0f, 0, 0, 39, 1, 0.0f, 0 },
|
||||
{(void*) func_8018EF14, 1, (ObjectFunc) func_8018E5F8, D_6006808, 0.0f, 0, 0, 39, 1, 1.0f, 1 },
|
||||
{(void*) func_8018E2D8, 1, (ObjectFunc) func_8018C8A8, D_6006A3C, 1000.0f, 0, 0, 20, 1, 0.0f, 1 },
|
||||
{(void*) func_8018AABC, 1, (ObjectFunc) func_8018A544, D_600683C, 0.0f, 0, 1, 39, 1, 0.0f, 1 },
|
||||
{(void*) func_8018BE84, 1, (ObjectFunc) func_8018B9D0, D_6006858, 0.0f, 0, 0, 39, 1, 0.0f, 1 },
|
||||
{(void*) func_8018B6AC, 1, (ObjectFunc) func_8018B268, D_6006890_f32, 0.0f, 0, 0, 39, 1, 20.0f, 1 },
|
||||
{(void*) func_8018A1C0, 1, (ObjectFunc) func_80189CC8, D_60068F0, 200.0f, 0, 0, 39, 1, 1.0f, 1 },
|
||||
{(void*) func_80077218, 1, (ObjectFunc) func_800771CC, D_800CBF34, 2000.0f, 0, 0, 39, 0, 0.0f, 5 },
|
||||
{(void*) func_80190430, 2, (ObjectFunc) func_801904CC, D_602C294, 1000.0f, 0, 1, 40, 0, 1.0f, 1 },
|
||||
{(void*) func_80190F08, 1, (ObjectFunc) func_80190A00, D_602BC58, 5000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8006A978, 1, (ObjectFunc) func_8006A96C, D_800CBF34, 200.0f, 0, 0, 40, 0, 0.0f, 2 },
|
||||
{(void*) func_801914C4, 2, (ObjectFunc) func_80191010, D_800CBE8C, 200.0f, 0, 1, 40, 0, 1.0f, 1 },
|
||||
{(void*) NULL, 1, (ObjectFunc) NULL, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80191B4C, 1, (ObjectFunc) func_80191680, D_800CBE8C, 1500.0f, 0, 1, 40, 0, 20.0f, 0 },
|
||||
{(void*) func_80191DB0, 1, (ObjectFunc) func_80191BC4, D_800CBE70, 1500.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80191FFC, 2, (ObjectFunc) func_80192094, D_602BE3C, 500.0f, 0, 0, 40, 0, 1.0f, 0 },
|
||||
{(void*) func_80192C18, 2, (ObjectFunc) func_80192834, D_800CBE8C, 0.0f, 0, 1, 40, 0, 1.0f, 1 },
|
||||
{(void*) func_80193240, 2, (ObjectFunc) func_80192E64, D_602BE58, 2000.0f, 0, 0, 40, 0, 50.0f, 0 },
|
||||
{(void*) func_8019983C, 1, (ObjectFunc) func_8019969C, D_800CBE8C, 200.0f, 0, 0, 40, 0, 1.0f, 0 },
|
||||
{(void*) func_80199E24, 1, (ObjectFunc) func_80199A28, D_800CBE8C, 2000.0f, 0, 0, 40, 0, 1.0f, 0 },
|
||||
{(void*) func_8019D3C4, 1, (ObjectFunc) func_8019D15C, D_602BFC4, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8019A1FC, 1, (ObjectFunc) func_80199F10, D_800CBEA8, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8019ACCC, 1, (ObjectFunc) func_8019A5D4, D_800CBEC4, 5000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8019B7DC, 1, (ObjectFunc) func_8019B548, D_602C1D4, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8019BDE0, 2, (ObjectFunc) func_8019B854, D_602C218, 1000.0f, 0, 0, 40, 0, 1.0f, 1 },
|
||||
{(void*) func_8019C1CC, 1, (ObjectFunc) func_8019BE48, D_602C234, 200.0f, 0, 0, 40, 0, 80.0f, 1 },
|
||||
{(void*) func_8019C83C, 1, (ObjectFunc) func_8019C454, D_602C250, 300.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8019CE58, 1, (ObjectFunc) func_8019CBEC, D_602C2B0, 300.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801AE168, 1, (ObjectFunc) func_801AD6C0, D_6030BFC, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801AEB44, 1, (ObjectFunc) func_801AE3D8, D_6030C18, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801B099C, 1, (ObjectFunc) func_801AFA5C, D_6030C44, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801B0EC0, 1, (ObjectFunc) func_801B0B60, D_800CBE8C, 200.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801B619C, 2, (ObjectFunc) func_801B638C, D_6031398, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801B90DC, 2, (ObjectFunc) func_801B7C78, D_60313CC, 300.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801B504C, 2, (ObjectFunc) func_801B50E8, D_6031400, 300.0f, 0, 0, 40, 0, 0.0f, 1 },
|
||||
{(void*) func_801B7A24, 2, (ObjectFunc) func_801B6FF8, D_603144C, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801BA108, 2, (ObjectFunc) func_801B91A4, D_6031480, 200.0f, 0, 0, 40, 0, 0.0f, 1 },
|
||||
{(void*) func_801BA4E4, 1, (ObjectFunc) func_801BA26C, D_800CBE8C, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801BAD7C, 1, (ObjectFunc) func_801BA6A4, D_6031500, 200.0f, 0, 0, 40, 0, 0.0f, 1 },
|
||||
{(void*) func_801BB204, 2, (ObjectFunc) func_801BADF8, D_6031538, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801BC930, 2, (ObjectFunc) func_801BB79C, D_6031554, 800.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801BDE6C, 1, (ObjectFunc) func_801BD54C, D_6031570, 10000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801BD264, 1, (ObjectFunc) func_801BC9A0, D_6030D20, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_801BEB1C, 1, (ObjectFunc) func_801BE3F8, D_60314C8, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8002E694, 2, (ObjectFunc) func_8002E670, D_6011B24, 0.0f, 0, 0, 39, 0, 730.0f, 1 },
|
||||
{(void*) func_8002E6DC, 1, (ObjectFunc) func_8002E6B8, D_6011BF4, 0.0f, 0, 0, 39, 0, 150.0f, 1 },
|
||||
{(void*) func_80188FE4, 2, (ObjectFunc) func_80188AD0, D_600FF30, 0.0f, 0, 0, 39, 0, 220.0f, 1 },
|
||||
{(void*) func_8019E3A8, 1, (ObjectFunc) func_8019E234, D_800CBEC4, 0.0f, 0, 0, 39, 0, 1.0f, 0 },
|
||||
{(void*) func_8019F7AC, 1, (ObjectFunc) func_8019F20C, D_800CBE8C, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_8019F7AC, 1, (ObjectFunc) func_8019F20C, D_800CBE8C, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
{(void*) func_8019F7AC, 1, (ObjectFunc) func_8019F20C, D_800CBEC4, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8019EA7C, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 1 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_801A003C, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 1 },
|
||||
{(void*) D_900DD20, 0, (ObjectFunc) func_80192518, D_601B7F8, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_80192E2C, 1, (ObjectFunc) func_80192CD4, D_601B830, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) D_901DA50, 0, (ObjectFunc) func_80192CD4, D_601B868, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) D_9023AD0, 0, (ObjectFunc) func_80192EB0, D_601B8A0, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) func_801934D0, 1, (ObjectFunc) func_801933DC, D_601B8D8, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80193244, 1, (ObjectFunc) func_80192E94, D_800CBE8C, 1000.0f, 0, 0, 20, 0, 1.0f, 1 },
|
||||
{(void*) func_80188660, 1, (ObjectFunc) func_80188528, D_800CBE8C, 1000.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80189724, D_800CBF34, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_801893B8, D_800CBF34, 1000.0f, 0, 0, 20, 1, 0.0f, 0 },
|
||||
{(void*) func_800596B0, 1, (ObjectFunc) func_80189470, D_800CBF34, 1000.0f, 0, 0, 20, 1, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8018933C, D_800CBF34, 1000.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_80067874, 1, (ObjectFunc) func_8006753C, D_800CBEA8, 1000.0f, 0, 0, 0, 0, 1.0f, 0 },
|
||||
{(void*) func_8018AA74, 2, (ObjectFunc) func_80189058, D_603E620, 20000.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_8018ECAC, 1, (ObjectFunc) func_8018C19C, D_603E840, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8018ED78, 1, (ObjectFunc) func_8018DDAC, D_603E714, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8018EE84, 1, (ObjectFunc) func_8018E290, D_603E748, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8018EF90, 1, (ObjectFunc) func_8018E76C, D_603E7C4, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8018BACC, 1, (ObjectFunc) func_8018978C, D_602F75C, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_801887D0, 1, (ObjectFunc) func_80188344, D_602FA50, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_80042FC4, 2, (ObjectFunc) func_80042FB8, D_800CBF34, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_80042FE8, 1, (ObjectFunc) func_80042FDC, D_800CBF34, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_801BEC5C, 1, (ObjectFunc) func_801BEC50, D_6030B10, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8018C54C, 1, (ObjectFunc) func_80187944, D_6028454, 2000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_80193434, 2, (ObjectFunc) func_80190078, D_6032550, 20000.0f, 0, 0, 20, 0, 0.0f, 10 },
|
||||
{(void*) func_8018FF84, 2, (ObjectFunc) func_8018FE38, D_6032488, 1000.0f, 0, 0, 20, 0, 0.0f, 10 },
|
||||
{(void*) func_80190020, 2, (ObjectFunc) func_8018FF20, D_60324EC, 1000.0f, 0, 0, 20, 0, 0.0f, 10 },
|
||||
{(void*) func_801982A8, 1, (ObjectFunc) func_80197A94,D_E6A810_801B83A8, 1000.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_801949DC, 2, (ObjectFunc) func_80194A84, D_602C044, 1000.0f, 0, 0, 40, 0, 1.0f, 10 },
|
||||
{(void*) func_8008FE78, 1, (ObjectFunc) func_800907C4, D_600FFE0, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_8002E604, 1, (ObjectFunc) func_8002E5E0, D_800CBF34, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_8002E64C, 1, (ObjectFunc) func_8002E628, D_800CBF34, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_80191AFC, 2, (ObjectFunc) func_801912FC, D_6011C80, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_80196288, 2, (ObjectFunc) func_80196210, D_60166F4, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_8019E98C, 1, (ObjectFunc) func_8019E454, D_6009388, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8019E2C4, 2, (ObjectFunc) func_8019C888, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_801A71B8, 2, (ObjectFunc) func_801A5B3C, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_801968F4, 1, (ObjectFunc) func_801946C4, D_6011058, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_80193B1C, 1, (ObjectFunc) func_80193718, D_601115C, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_801B4D84, 2, (ObjectFunc) func_801B134C, D_6030F74, 10000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_801985E4, 1, (ObjectFunc) func_80194398,D_DF4260_8019A9B8, 3000.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
{(void*) func_801928C8, 2, (ObjectFunc) func_8018DBF0, D_C038DC0, 10000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8018B8C0, 1, (ObjectFunc) func_80189B70, D_C038F24, 10000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
{(void*) func_8005CC9C, 1, (ObjectFunc) func_80067F6C, D_800CBFA8, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8005C5F0, 1, (ObjectFunc) func_80068914, D_800CBF38, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8005C900, 1, (ObjectFunc) func_80068020, D_800CBF54, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8005C9C0, 1, (ObjectFunc) func_800685D8, D_800CBF54, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8005CDA8, 1, (ObjectFunc) func_80068688, D_800CBF70, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8005CB44, 1, (ObjectFunc) func_80067BEC, D_800CBFC8, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_80068C48, D_800CBF18, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_1022120, 0, (ObjectFunc) func_80067B1C, D_800CBE8C, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8005CA80, 1, (ObjectFunc) func_800685F8, D_800CBF54, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_3007650, 0, (ObjectFunc) func_80068618, D_800CBFA8, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) D_6006140, 0, (ObjectFunc) func_80198968, D_6009CFC, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007D55C, 1, (ObjectFunc) func_8007D2F4, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007D55C, 1, (ObjectFunc) func_8007D748, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007D55C, 1, (ObjectFunc) func_8007D8A8, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007E330, 1, (ObjectFunc) func_8007E298, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007CAF0, 1, (ObjectFunc) func_8007C9E0, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007868C, 1, (ObjectFunc) func_8007E014, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007879C, 1, (ObjectFunc) func_8007E258, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_800788B0, 1, (ObjectFunc) func_8007F438, NULL, -200.0f, 1, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_800783C0, 1, (ObjectFunc) func_8007B758, NULL, 100.0f, 1, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80078A64, 1, (ObjectFunc) func_8007F6B0, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007F958, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007FBE0, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078438, 1, (ObjectFunc) func_8007E3E4, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_800784B4, 1, (ObjectFunc) func_8007B62C, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078B8C, 1, (ObjectFunc) func_8007FE88, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_80197C64, 1, (ObjectFunc) func_8007FE88, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_80078AEC, 1, (ObjectFunc) func_800802B8, NULL, 100.0f, 1, 0, 20, 1, 0.0f, 0 },
|
||||
{(void*) func_80078C84, 1, (ObjectFunc) func_800802F8, NULL, 100.0f, 1, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_800798F0, 1, (ObjectFunc) func_8007968C, NULL, 100.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80192A68, 1, (ObjectFunc) func_80192984, NULL, 100.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007AA60, 1, (ObjectFunc) func_8007A994, NULL, -100.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007BEE8, 1, (ObjectFunc) func_8007BE54, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007BEE8, 1, (ObjectFunc) func_8007BDE0, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007BEE8, 1, (ObjectFunc) func_8007BCE8, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80094BBC, 1, (ObjectFunc) func_80094954, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007B9DC, 1, (ObjectFunc) func_8007B960, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007E5CC, 1, (ObjectFunc) func_8007E45C, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078550, 1, (ObjectFunc) func_801AC918, NULL, 100.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078604, 1, (ObjectFunc) func_8007E648, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80188FA8, 1, (ObjectFunc) func_80188F60, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8018DCE4, 1, (ObjectFunc) func_80188CAC, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8018DBEC, 1, (ObjectFunc) func_80188FAC, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8018DE14, 1, (ObjectFunc) func_80189114, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80077A00, 1, (ObjectFunc) func_8007AB50, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007A748, NULL, 500.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007DED4, 1, (ObjectFunc) func_8007DB70, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8007DAE4, 1, (ObjectFunc) func_8007DA58, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078CE8, 1, (ObjectFunc) func_80080360, NULL, -200.0f, 1, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078BE0, 1, (ObjectFunc) func_800802D8, NULL, 100.0f, 1, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_801A5AF0, 1, (ObjectFunc) func_801A57D0, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_801AEAA0, 1, (ObjectFunc) func_801AE87C, NULL, 100.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A5D68, 1, (ObjectFunc) func_801A5B4C, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_80077A7C, 1, (ObjectFunc) func_8007B0F4, NULL, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007B040, NULL, 200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_8007A3C0, 1, (ObjectFunc) func_8007A28C, NULL, 10000.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80077B84, 1, (ObjectFunc) func_8007B3B8, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80078038, 1, (ObjectFunc) func_8007B5C0, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007C250, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007C8C4, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80077B78, 1, (ObjectFunc) func_8007B670, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_800780F8, 1, (ObjectFunc) func_8007B67C, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) NULL, 1, (ObjectFunc) func_8007C50C, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80083B8C, 1, (ObjectFunc) func_800837EC, NULL, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_801A0AF0, 1, (ObjectFunc) func_801A0120, NULL, 300.0f, 1, 2, 10, 0, 0.0f, 0 },
|
||||
{(void*) func_80078F78, 1, (ObjectFunc) func_80078EBC, NULL, 300.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80080D04, 1, (ObjectFunc) func_80080ACC, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
{(void*) func_80082F78, 1, (ObjectFunc) func_80081C5C, NULL, 300.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_8018CF98, 1, (ObjectFunc) func_8018CAD4, NULL, 2000.0f, 0, 1, 40, 2, 0.0f, 0 },
|
||||
{(void*) func_80191180, 1, (ObjectFunc) func_80191054, NULL, 2000.0f, 0, 1, 20, 0, 0.0f, 0 },
|
||||
{(void*) func_8008092C, 1, (ObjectFunc) func_8008040C, NULL, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
{(void*) func_80084194, 1, (ObjectFunc) func_80083FA8, NULL, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_0, */ {(void*) D_6015F00, 0, (ObjectFunc) NULL, D_603E3E0, 800.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_1, */ {(void*) D_602E9E0, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_2, */ {(void*) D_601BEC0, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_3, */ {(void*) D_602E7A0, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_4, */ {(void*) D_60244A0, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_5, */ {(void*) D_602E570, 0, (ObjectFunc) NULL, D_800CBF34, 3000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_6, */ {(void*) D_60132B0, 0, (ObjectFunc) NULL, D_603DCA4, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_7, */ {(void*) D_602E080, 0, (ObjectFunc) NULL, D_603DD40, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_8, */ {(void*) D_60164F0, 0, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_9, */ {(void*) D_6014500, 0, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_10, */ {(void*) D_602D5F0, 0, (ObjectFunc) NULL, D_603DDF0, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_11, */ {(void*) D_601A7D0, 0, (ObjectFunc) NULL, D_603DE8C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_12, */ {(void*) D_6014B50, 0, (ObjectFunc) NULL, D_603DEF4, 500.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_13, */ {(void*) D_6016580, 0, (ObjectFunc) NULL, D_603DF8C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_14, */ {(void*) D_601B560, 0, (ObjectFunc) func_80066EA8, D_603DFDC, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_15, */ {(void*) D_60361F0, 0, (ObjectFunc) func_80066EA8, D_603E014, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_16, */ {(void*) D_6018E80, 0, (ObjectFunc) func_80066EA8, D_603E030, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_17, */ {(void*) D_6035F10, 0, (ObjectFunc) func_80066EA8, D_603E09C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_18, */ {(void*) func_DF4260_8018753C, 1, (ObjectFunc) func_DF4260_80187530, D_603E98C, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_19, */ {(void*) D_60153B0, 0, (ObjectFunc) NULL, D_603E118, 100.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_20, */ {(void*) D_601F5A0, 0, (ObjectFunc) NULL, D_603E14C, 500.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_21, */ {(void*) D_60137B0, 0, (ObjectFunc) NULL, D_603E1B4, 400.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_22, */ {(void*) D_6006A80, 0, (ObjectFunc) NULL, D_603E21C, 400.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_23, */ {(void*) D_6016270, 0, (ObjectFunc) NULL, D_603E4A0, 200.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_24, */ {(void*) D_6010E00, 0, (ObjectFunc) NULL, D_603E9EC, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_25, */ {(void*) D_6014670, 0, (ObjectFunc) NULL, D_603EA08, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_26, */ {(void*) D_6010A50, 0, (ObjectFunc) NULL, D_603EA74, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_27, */ {(void*) D_60143E0, 0, (ObjectFunc) NULL, D_603EAE0, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_28, */ {(void*) D_6014A20, 0, (ObjectFunc) NULL, D_603EB0C, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_29, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60064FC, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_30, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006518, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_31, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006564, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_32, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60065B0, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_33, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60065FC, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_34, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006648, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_35, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006694, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_36, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_60066E0_f32, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_37, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_600672C, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_38, */ {(void*) func_80059B20, 1, (ObjectFunc) func_800652CC, D_6006778, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_39, */ {(void*) func_80059AEC, 1, (ObjectFunc) func_8006D350, D_800CBF34, 6000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_40, */ {(void*) func_80059F68, 1, (ObjectFunc) func_80066D5C, D_603E4A4, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_41, */ {(void*) func_80059FDC, 1, (ObjectFunc) func_80066EA8, D_603E4DC, 300.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_42, */ {(void*) func_80059BBC, 1, (ObjectFunc) func_8006B95C, D_603E514, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_43, */ {(void*) D_6024AC0, 0, (ObjectFunc) NULL, D_602B9EC, 200.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_44, */ {(void*) D_600F560, 0, (ObjectFunc) NULL, D_602BA20, 1500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_45, */ {(void*) D_600EC90, 0, (ObjectFunc) NULL, D_602BAE4, 1500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_46, */ {(void*) D_600E820, 0, (ObjectFunc) NULL, D_602BBD8, 1500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_47, */ {(void*) D_601FCB0, 0, (ObjectFunc) NULL, D_602BC54, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_48, */ {(void*) func_800594F0, 1, (ObjectFunc) NULL, D_601B4E0, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_49, */ {(void*) func_800595D0, 1, (ObjectFunc) NULL, D_601B4FC, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_50, */ {(void*) D_6007410, 0, (ObjectFunc) NULL, D_601B518, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_51, */ {(void*) D_6006F50, 0, (ObjectFunc) NULL, D_601B584, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_52, */ {(void*) D_6005780, 0, (ObjectFunc) func_80193540, D_601B5F4, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_53, */ {(void*) D_6003610, 0, (ObjectFunc) NULL, D_601B644, 2500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_54, */ {(void*) D_6000E00, 0, (ObjectFunc) func_8006AA98, D_603E0EC, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_55, */ {(void*) D_6013B50, 0, (ObjectFunc) NULL, D_603E88C, 1000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_56, */ {(void*) func_8018F31C, 2, (ObjectFunc) func_8018F044, D_603E8A8, 1000.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_57, */ {(void*) func_8018F8B8, 1, (ObjectFunc) func_8018F4D8, D_6006BF0, 800.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_58, */ {(void*) D_700BE00, 0, (ObjectFunc) NULL, D_6006C44, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_59, */ {(void*) D_6024010, 0, (ObjectFunc) NULL, D_603626C, 300.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_60, */ {(void*) D_6027180, 0, (ObjectFunc) NULL, D_6036288, 400.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_61, */ {(void*) func_801A2A78, 1, (ObjectFunc) NULL, D_60362A4, 200.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_62, */ {(void*) D_60270E0, 0, (ObjectFunc) NULL, D_800CBF34, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_63, */ {(void*) D_6013960, 0, (ObjectFunc) NULL, D_6036894, 500.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_64, */ {(void*) D_600AF40, 0, (ObjectFunc) NULL, D_60368E0, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_65, */ {(void*) func_801A6608, 1, (ObjectFunc) NULL, D_6036724, 400.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_66, */ {(void*) D_601F1D0, 0, (ObjectFunc) NULL, D_60362D8, 2500.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_67, */ {(void*) D_60238F0, 0, (ObjectFunc) NULL, D_6036328, 2000.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_68, */ {(void*) D_601B7C0, 0, (ObjectFunc) NULL, D_60362F4, 2500.0f, 0, 0, 5, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_69, */ {(void*) D_6030500, 0, (ObjectFunc) NULL, D_6036370, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_70, */ {(void*) D_602DAE0, 0, (ObjectFunc) NULL, D_603638C, 1900.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_71, */ {(void*) D_6027900, 0, (ObjectFunc) NULL, D_60363B8, 1900.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_72, */ {(void*) D_602DB80, 0, (ObjectFunc) NULL, D_60363E4, 1100.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_73, */ {(void*) D_6030630, 0, (ObjectFunc) NULL, D_6036410, 1100.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_74, */ {(void*) D_602DC20, 0, (ObjectFunc) NULL, D_603643C, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_75, */ {(void*) D_601B0D0, 0, (ObjectFunc) NULL, D_6036760, 3000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_76, */ {(void*) D_60075D0, 0, (ObjectFunc) NULL, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_77, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_6036344, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_78, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_79, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_80, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_81, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_82, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_83, */ {(void*) func_801A3240, 1, (ObjectFunc) func_801A2DD8, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_84, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_85, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_86, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_87, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_88, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_89, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_90, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_91, */ {(void*) func_801A2B24, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_92, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_93, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_94, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_95, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_96, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_97, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_98, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 15000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_99, */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_100 */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_101 */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_102 */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_103 */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_800CBF34, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_104 */ {(void*) func_801A23AC, 1, (ObjectFunc) func_801A0BD8, D_6036594, 2500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_105 */ {(void*) func_801A23AC, 1, (ObjectFunc) NULL, D_6036204, 1300.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_106 */ {(void*) D_60097E0, 0, (ObjectFunc) NULL, D_6034478, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_107 */ {(void*) D_601D730, 0, (ObjectFunc) NULL, D_603450C, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_108 */ {(void*) D_60102C0, 0, (ObjectFunc) NULL, D_6034588, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_109 */ {(void*) D_60036A0, 0, (ObjectFunc) func_801A4E44, D_6034664, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_110 */ {(void*) D_6005360, 0, (ObjectFunc) NULL, D_6034770, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_111 */ {(void*) func_80074F90, 1, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_112 */ {(void*) D_600F6C0, 0, (ObjectFunc) func_801A52B8, D_60347F0, 4000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_113 */ {(void*) D_601B610, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_114 */ {(void*) D_601C6A0, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_115 */ {(void*) D_60188D0, 0, (ObjectFunc) NULL, D_603486C, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_116 */ {(void*) D_60034D0, 0, (ObjectFunc) NULL, D_60347D4, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_117 */ {(void*) D_60231C0, 0, (ObjectFunc) NULL, D_6030C60, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_118 */ {(void*) D_6011EE0, 0, (ObjectFunc) NULL, D_6030C7C, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_119 */ {(void*) D_6015730, 0, (ObjectFunc) NULL, D_6030D74, 2000.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_120 */ {(void*) D_601DE60, 0, (ObjectFunc) NULL, D_6030DF8, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_121 */ {(void*) D_602B4C0, 0, (ObjectFunc) NULL, D_6030E14, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_122 */ {(void*) D_600EE10, 0, (ObjectFunc) NULL, D_6030E30, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_123 */ {(void*) D_60120F0, 0, (ObjectFunc) NULL, D_6030E4C, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_124 */ {(void*) D_600EEF0, 0, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_125 */ {(void*) D_600BF80, 0, (ObjectFunc) NULL, D_6030E68, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_126 */ {(void*) func_801BE1FC, 1, (ObjectFunc) NULL, D_800CBF34, 2000.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_127 */ {(void*) D_9005C80, 0, (ObjectFunc) func_801924A8, D_601B678, 1000.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_128 */ {(void*) D_9003F50, 0, (ObjectFunc) NULL, D_601B6C4, 3200.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_129 */ {(void*) D_900F060, 0, (ObjectFunc) NULL, D_601B710, 3200.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_130 */ {(void*) D_900F1D0, 0, (ObjectFunc) NULL, D_601B75C, 3200.0f, 0, 0, 42, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_131 */ {(void*) func_801935D4, 1, (ObjectFunc) func_8019356C, D_C038BD8, 500.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_132 */ {(void*) func_8019350C, 1, (ObjectFunc) func_80193380, D_C038A48, 500.0f, 0, 0, 41, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_133 */ {(void*) D_60030F0, 0, (ObjectFunc) NULL, D_6009CC4, 1000.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_134 */ {(void*) D_6003000, 0, (ObjectFunc) NULL, D_C038BA4, 0.0f, 0, 0, 41, 1, 0.0f, 0 },
|
||||
/* OBJECT_80_135 */ {(void*) D_6006890_Gfx, 0, (ObjectFunc) NULL, D_C038B40, 0.0f, 0, 0, 41, 1, 0.0f, 0 },
|
||||
/* OBJECT_80_136 */ {(void*) D_6002990, 0, (ObjectFunc) NULL, D_C038B40, 0.0f, 0, 0, 41, 1, 0.0f, 0 },
|
||||
/* OBJECT_80_137 */ {(void*) D_6004170, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 0, 1, 0.0f, 0 },
|
||||
/* OBJECT_80_138 */ {(void*) D_3017600, 0, (ObjectFunc) NULL, D_302EE64, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_139 */ {(void*) D_3017600, 0, (ObjectFunc) NULL, D_302EE80, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_140 */ {(void*) D_30173C0, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_141 */ {(void*) D_30174E0, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_142 */ {(void*) D_301B080, 0, (ObjectFunc) NULL, D_302EE9C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_143 */ {(void*) D_3016B00, 0, (ObjectFunc) NULL, D_302EE00, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_144 */ {(void*) D_3013780, 0, (ObjectFunc) NULL, D_302ED4C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_145 */ {(void*) D_3013580, 0, (ObjectFunc) NULL, D_302ED98, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_146 */ {(void*) D_3012ED0, 0, (ObjectFunc) NULL, D_302EDB4, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_147 */ {(void*) NULL, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_148 */ {(void*) D_60079B0, 0, (ObjectFunc) NULL, D_600FF80, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_149 */ {(void*) D_6007D80, 0, (ObjectFunc) NULL, D_600FFA0, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_150 */ {(void*) D_6006310, 0, (ObjectFunc) NULL, D_600FFC0, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_151 */ {(void*) D_60066E0_Gfx, 0, (ObjectFunc) NULL, D_600FEB8, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_152 */ {(void*) D_600F4C0, 0, (ObjectFunc) NULL, D_6011C10, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_153 */ {(void*) D_600B8B0, 0, (ObjectFunc) NULL, D_6011C48, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_154 */ {(void*) D_600BAF0, 0, (ObjectFunc) NULL, D_601115C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_155 */ {(void*) NULL, 0, (ObjectFunc) NULL, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_156 */ {(void*) func_80197CB8, 1, (ObjectFunc) NULL, D_6034368, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_157 */ {(void*) D_6001DA0, 0, (ObjectFunc) NULL, D_600924C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_158 */ {(void*) D_6001360, 0, (ObjectFunc) NULL, D_60092E8, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_159 */ {(void*) D_6008370, 0, (ObjectFunc) NULL, D_601668C, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_80_160 */ {(void*) D_6010960, 0, (ObjectFunc) NULL, D_6016714, 0.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_161 */ {(void*) D_602F7C0, 0, (ObjectFunc) func_80068FE0, D_603E468, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_162 */ {(void*) D_601C9B0, 0, (ObjectFunc) func_80068FE0, D_603E484, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_163 */ {(void*) D_600A420, 0, (ObjectFunc) func_80068FE0, D_600FE9C, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_164 */ {(void*) func_80059C40, 1, (ObjectFunc) NULL, D_800CBF34, 1800.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_165 */ {(void*) D_602DCA0, 0, (ObjectFunc) NULL, D_800CBF34, -100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_166 */ {(void*) D_601F500, 0, (ObjectFunc) NULL, D_800CBF34, -100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_167 */ {(void*) func_80059C34, 1, (ObjectFunc) func_80066E8C, D_800CBF34, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_168 */ {(void*) func_80059850, 1, (ObjectFunc) NULL, D_800CBF34, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_169 */ {(void*) D_60023B0, 0, (ObjectFunc) func_8018F038, D_60068BC, 100.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_170 */ {(void*) NULL, 1, (ObjectFunc) func_801875A4, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_171 */ {(void*) NULL, 1, (ObjectFunc) func_801922DC, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_172 */ {(void*) NULL, 1, (ObjectFunc) func_80192358, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_173 */ {(void*) NULL, 1, (ObjectFunc) func_801923C0, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_174 */ {(void*) NULL, 1, (ObjectFunc) func_8019243C, D_800CBF34, 0.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_4C_175 */ {(void*) NULL, 1, (ObjectFunc) NULL, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_176 */ {(void*) func_8018BAAC, 2, (ObjectFunc) func_8018AED0, D_603E5D0, 500.0f, 0, 0, 39, 1, 200.0f, 1 },
|
||||
/* OBJECT_2F4_177 */ {(void*) func_8018BBA4, 2, (ObjectFunc) func_8018B15C, D_603E5D0, 500.0f, 0, 0, 39, 1, 200.0f, 1 },
|
||||
/* OBJECT_2F4_178 */ {(void*) func_8018BBF8, 2, (ObjectFunc) func_8018B418, D_603E5D0, 500.0f, 0, 0, 39, 1, 200.0f, 1 },
|
||||
/* OBJECT_2F4_179 */ {(void*) func_8018BD7C, 2, (ObjectFunc) func_8018B58C, D_603E604, 500.0f, 0, 0, 39, 1, 0.0f, 1 },
|
||||
/* OBJECT_2F4_180 */ {(void*) func_8005B6A4, 1, (ObjectFunc) func_80066A80, D_800CBF34, 1000.0f, 0, 0, 39, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_181 */ {(void*) D_6018C00, 0, (ObjectFunc) func_8018756C, D_602F6EC, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_182 */ {(void*) func_8005B71C, 1, (ObjectFunc) func_80187650, D_602F708, 100.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_183 */ {(void*) func_8018DA6C, 1, (ObjectFunc) func_8018D9EC, D_800CBF34, 100.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_184 */ {(void*) func_8018DAEC, 1, (ObjectFunc) func_8018D9EC, D_800CBF34, 100.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_185 */ {(void*) func_8018DB6C, 1, (ObjectFunc) func_8018D9EC, D_800CBF34, 100.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_186 */ {(void*) func_8005B7CC, 1, (ObjectFunc) func_8018795C, D_602F724, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_187 */ {(void*) D_6018450, 0, (ObjectFunc) func_801877C4, D_602F740, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_188 */ {(void*) func_801BEC74, 1, (ObjectFunc) func_801BEC68, D_6030BE0, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_189 */ {(void*) func_8005A094, 1, (ObjectFunc) func_8006C008, D_800CBF34, 0.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_190 */ {(void*) func_8005B848, 1, (ObjectFunc) func_800656D4, D_800CBFE4, 100.0f, 0, 1, 39, 0, 1.0f, 0 },
|
||||
/* OBJECT_2F4_191 */ {(void*) func_8005B848, 1, (ObjectFunc) func_800656D4, D_800CBFE4, 100.0f, 0, 1, 39, 0, 1.0f, 0 },
|
||||
/* OBJECT_2F4_192 */ {(void*) func_8005B9A4, 1, (ObjectFunc) func_8006654C, D_603E54C, 200.0f, 0, 1, 39, 0, 50.0f, 1 },
|
||||
/* OBJECT_2F4_193 */ {(void*) func_8005BA30, 1, (ObjectFunc) func_800669A0, D_603E598, 100.0f, 0, 1, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_194 */ {(void*) func_8006B74C, 1, (ObjectFunc) func_8006B094, D_800CC000, 200.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_195 */ {(void*) func_8004FEC0, 1, (ObjectFunc) func_8004F8AC, D_800CBF34, 20000.0f, 0, 1, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_196 */ {(void*) func_80059BF0, 1, (ObjectFunc) func_8006BB78, D_603E5B4, 200.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_197 */ {(void*) func_80035448, 1, (ObjectFunc) func_800319AC, D_800CC038, 20000.0f, 0, 1, 39, 1, 1.0f, 1 },
|
||||
/* OBJECT_2F4_198 */ {(void*) func_80035448, 1, (ObjectFunc) func_80092EC0, D_800CC01C, 20000.0f, 0, 0, 39, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_199 */ {(void*) func_80188448, 1, (ObjectFunc) func_801880E4, D_800CBF34, 20000.0f, 0, 0, 39, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_200 */ {(void*) func_80074FF0, 1, (ObjectFunc) func_80072594, D_800CBF34, 2000.0f, 0, 1, 39, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_201 */ {(void*) func_800598E8, 1, (ObjectFunc) func_8006AC08, D_602F684, 100.0f, 0, 1, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_202 */ {(void*) func_80059A24, 1, (ObjectFunc) func_8006AD18, D_602F6A0, 100.0f, 0, 1, 39, 0, 180.0f, 1 },
|
||||
/* OBJECT_2F4_203 */ {(void*) func_8018F884, 1, (ObjectFunc) func_8018F330, D_800CBF34, 1000.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_204 */ {(void*) func_E9F1D0_801A4CB0, 1, (ObjectFunc) func_E9F1D0_801A3BD4, D_603405C, 1000.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_205 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019C778, D_60359C8, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_206 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_801AC438, D_6035A48, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_207 */ {(void*) func_801AC294, 2, (ObjectFunc) func_801A7E7C, D_603677C, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_208 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019EA60, D_6035A14, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_209 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019D700, D_6035AE0, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_210 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019CE88, D_6035D9C, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_211 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019E410, D_6035E04, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_212 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019FF9C, D_60360C0, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_213 */ {(void*) func_801A12C4, 1, (ObjectFunc) func_8019EE68, D_6036154, 20000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_214 */ {(void*) func_801A43BC, 1, (ObjectFunc) func_801A3E98, D_6036458, 300.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_215 */ {(void*) func_801A4A64, 1, (ObjectFunc) func_801A46A0, D_60364C0, 300.0f, 0, 1, 40, 1, 0.0f, 1 },
|
||||
/* OBJECT_2F4_216 */ {(void*) func_801A5F90, 1, (ObjectFunc) func_801A5E54, D_60366EC, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_217 */ {(void*) func_801A6100, 1, (ObjectFunc) func_801A5FD0, D_6036708, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_218 */ {(void*) func_801A6540, 1, (ObjectFunc) func_801A6144, D_6036728, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_219 */ {(void*) func_801A68EC, 1, (ObjectFunc) func_801A67C8, D_6036744, 300.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_220 */ {(void*) func_801ADAC8, 1, (ObjectFunc) func_801AD6F0, D_6036930, 200.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_221 */ {(void*) func_801AE2C0, 1, (ObjectFunc) func_801ADD68, D_603694C, 300.0f, 0, 0, 40, 1, 1.0f, 0 },
|
||||
/* OBJECT_2F4_222 */ {(void*) func_801AEEFC, 1, (ObjectFunc) func_801AEC04, D_6036968, 300.0f, 0, 0, 40, 1, 1.0f, 0 },
|
||||
/* OBJECT_2F4_223 */ {(void*) func_801A54E8, 1, (ObjectFunc) func_801A4B24, D_60364DC, 300.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_224 */ {(void*) NULL, 1, (ObjectFunc) func_80189194, D_800CBF34, 200.0f, 0, 0, 39, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_225 */ {(void*) D_700AB70, 0, (ObjectFunc) func_8018AB44, D_60064AC, 50.0f, 0, 0, 39, 1, 1.0f, 0 },
|
||||
/* OBJECT_2F4_226 */ {(void*) func_80189AFC, 1, (ObjectFunc) func_801895B8, D_60064C8, 300.0f, 0, 0, 39, 1, 70.0f, 1 },
|
||||
/* OBJECT_2F4_227 */ {(void*) func_8018E5B4, 1, (ObjectFunc) func_8018E54C, D_60067C4, 0.0f, 0, 0, 39, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_228 */ {(void*) func_8018EF14, 1, (ObjectFunc) func_8018E5F8, D_6006808, 0.0f, 0, 0, 39, 1, 1.0f, 1 },
|
||||
/* OBJECT_2F4_229 */ {(void*) func_8018E2D8, 1, (ObjectFunc) func_8018C8A8, D_6006A3C, 1000.0f, 0, 0, 20, 1, 0.0f, 1 },
|
||||
/* OBJECT_2F4_230 */ {(void*) func_8018AABC, 1, (ObjectFunc) func_8018A544, D_600683C, 0.0f, 0, 1, 39, 1, 0.0f, 1 },
|
||||
/* OBJECT_2F4_231 */ {(void*) func_8018BE84, 1, (ObjectFunc) func_8018B9D0, D_6006858, 0.0f, 0, 0, 39, 1, 0.0f, 1 },
|
||||
/* OBJECT_2F4_232 */ {(void*) func_8018B6AC, 1, (ObjectFunc) func_8018B268, D_6006890_f32, 0.0f, 0, 0, 39, 1, 20.0f, 1 },
|
||||
/* OBJECT_2F4_233 */ {(void*) func_8018A1C0, 1, (ObjectFunc) func_80189CC8, D_60068F0, 200.0f, 0, 0, 39, 1, 1.0f, 1 },
|
||||
/* OBJECT_2F4_234 */ {(void*) func_80077218, 1, (ObjectFunc) func_800771CC, D_800CBF34, 2000.0f, 0, 0, 39, 0, 0.0f, 5 },
|
||||
/* OBJECT_2F4_235 */ {(void*) func_80190430, 2, (ObjectFunc) func_801904CC, D_602C294, 1000.0f, 0, 1, 40, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_236 */ {(void*) func_80190F08, 1, (ObjectFunc) func_80190A00, D_602BC58, 5000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_237 */ {(void*) func_8006A978, 1, (ObjectFunc) func_8006A96C, D_800CBF34, 200.0f, 0, 0, 40, 0, 0.0f, 2 },
|
||||
/* OBJECT_2F4_238 */ {(void*) func_801914C4, 2, (ObjectFunc) func_80191010, D_800CBE8C, 200.0f, 0, 1, 40, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_239 */ {(void*) NULL, 1, (ObjectFunc) NULL, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_240 */ {(void*) func_80191B4C, 1, (ObjectFunc) func_80191680, D_800CBE8C, 1500.0f, 0, 1, 40, 0, 20.0f, 0 },
|
||||
/* OBJECT_2F4_241 */ {(void*) func_80191DB0, 1, (ObjectFunc) func_80191BC4, D_800CBE70, 1500.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_242 */ {(void*) func_80191FFC, 2, (ObjectFunc) func_80192094, D_602BE3C, 500.0f, 0, 0, 40, 0, 1.0f, 0 },
|
||||
/* OBJECT_2F4_243 */ {(void*) func_80192C18, 2, (ObjectFunc) func_80192834, D_800CBE8C, 0.0f, 0, 1, 40, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_244 */ {(void*) func_80193240, 2, (ObjectFunc) func_80192E64, D_602BE58, 2000.0f, 0, 0, 40, 0, 50.0f, 0 },
|
||||
/* OBJECT_2F4_245 */ {(void*) func_8019983C, 1, (ObjectFunc) func_8019969C, D_800CBE8C, 200.0f, 0, 0, 40, 0, 1.0f, 0 },
|
||||
/* OBJECT_2F4_246 */ {(void*) func_80199E24, 1, (ObjectFunc) func_80199A28, D_800CBE8C, 2000.0f, 0, 0, 40, 0, 1.0f, 0 },
|
||||
/* OBJECT_2F4_247 */ {(void*) func_8019D3C4, 1, (ObjectFunc) func_8019D15C, D_602BFC4, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_248 */ {(void*) func_8019A1FC, 1, (ObjectFunc) func_80199F10, D_800CBEA8, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_249 */ {(void*) func_8019ACCC, 1, (ObjectFunc) func_8019A5D4, D_800CBEC4, 5000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_250 */ {(void*) func_8019B7DC, 1, (ObjectFunc) func_8019B548, D_602C1D4, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_251 */ {(void*) func_8019BDE0, 2, (ObjectFunc) func_8019B854, D_602C218, 1000.0f, 0, 0, 40, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_252 */ {(void*) func_8019C1CC, 1, (ObjectFunc) func_8019BE48, D_602C234, 200.0f, 0, 0, 40, 0, 80.0f, 1 },
|
||||
/* OBJECT_2F4_253 */ {(void*) func_8019C83C, 1, (ObjectFunc) func_8019C454, D_602C250, 300.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_254 */ {(void*) func_8019CE58, 1, (ObjectFunc) func_8019CBEC, D_602C2B0, 300.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_255 */ {(void*) func_801AE168, 1, (ObjectFunc) func_801AD6C0, D_6030BFC, 500.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_256 */ {(void*) func_801AEB44, 1, (ObjectFunc) func_801AE3D8, D_6030C18, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_257 */ {(void*) func_801B099C, 1, (ObjectFunc) func_801AFA5C, D_6030C44, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_258 */ {(void*) func_801B0EC0, 1, (ObjectFunc) func_801B0B60, D_800CBE8C, 200.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_259 */ {(void*) func_801B619C, 2, (ObjectFunc) func_801B638C, D_6031398, 10000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_260 */ {(void*) func_801B90DC, 2, (ObjectFunc) func_801B7C78, D_60313CC, 300.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_261 */ {(void*) func_801B504C, 2, (ObjectFunc) func_801B50E8, D_6031400, 300.0f, 0, 0, 40, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_262 */ {(void*) func_801B7A24, 2, (ObjectFunc) func_801B6FF8, D_603144C, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_263 */ {(void*) func_801BA108, 2, (ObjectFunc) func_801B91A4, D_6031480, 200.0f, 0, 0, 40, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_264 */ {(void*) func_801BA4E4, 1, (ObjectFunc) func_801BA26C, D_800CBE8C, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_265 */ {(void*) func_801BAD7C, 1, (ObjectFunc) func_801BA6A4, D_6031500, 200.0f, 0, 0, 40, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_266 */ {(void*) func_801BB204, 2, (ObjectFunc) func_801BADF8, D_6031538, 200.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_267 */ {(void*) func_801BC930, 2, (ObjectFunc) func_801BB79C, D_6031554, 800.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_268 */ {(void*) func_801BDE6C, 1, (ObjectFunc) func_801BD54C, D_6031570, 10000.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_269 */ {(void*) func_801BD264, 1, (ObjectFunc) func_801BC9A0, D_6030D20, 2000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_270 */ {(void*) func_801BEB1C, 1, (ObjectFunc) func_801BE3F8, D_60314C8, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_271 */ {(void*) func_8002E694, 2, (ObjectFunc) func_8002E670, D_6011B24, 0.0f, 0, 0, 39, 0, 730.0f, 1 },
|
||||
/* OBJECT_2F4_272 */ {(void*) func_8002E6DC, 1, (ObjectFunc) func_8002E6B8, D_6011BF4, 0.0f, 0, 0, 39, 0, 150.0f, 1 },
|
||||
/* OBJECT_2F4_273 */ {(void*) func_80188FE4, 2, (ObjectFunc) func_80188AD0, D_600FF30, 0.0f, 0, 0, 39, 0, 220.0f, 1 },
|
||||
/* OBJECT_2F4_274 */ {(void*) func_8019E3A8, 1, (ObjectFunc) func_8019E234, D_800CBEC4, 0.0f, 0, 0, 39, 0, 1.0f, 0 },
|
||||
/* OBJECT_2F4_275 */ {(void*) func_8019F7AC, 1, (ObjectFunc) func_8019F20C, D_800CBE8C, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_276 */ {(void*) func_8019F7AC, 1, (ObjectFunc) func_8019F20C, D_800CBE8C, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_277 */ {(void*) func_8019F7AC, 1, (ObjectFunc) func_8019F20C, D_800CBEC4, 200.0f, 0, 0, 39, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_278 */ {(void*) NULL, 1, (ObjectFunc) func_8019EA7C, D_800CBF34, 200.0f, 0, 0, 0, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_279 */ {(void*) NULL, 1, (ObjectFunc) func_801A003C, D_800CBF34, 1000.0f, 0, 0, 0, 0, 0.0f, 1 },
|
||||
/* OBJECT_2F4_280 */ {(void*) D_900DD20, 0, (ObjectFunc) func_80192518, D_601B7F8, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_281 */ {(void*) func_80192E2C, 1, (ObjectFunc) func_80192CD4, D_601B830, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_282 */ {(void*) D_901DA50, 0, (ObjectFunc) func_80192CD4, D_601B868, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_283 */ {(void*) D_9023AD0, 0, (ObjectFunc) func_80192EB0, D_601B8A0, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_284 */ {(void*) func_801934D0, 1, (ObjectFunc) func_801933DC, D_601B8D8, 1000.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_285 */ {(void*) func_80193244, 1, (ObjectFunc) func_80192E94, D_800CBE8C, 1000.0f, 0, 0, 20, 0, 1.0f, 1 },
|
||||
/* OBJECT_2F4_286 */ {(void*) func_80188660, 1, (ObjectFunc) func_80188528, D_800CBE8C, 1000.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_287 */ {(void*) NULL, 1, (ObjectFunc) func_80189724, D_800CBF34, 1000.0f, 0, 0, 40, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_288 */ {(void*) NULL, 1, (ObjectFunc) func_801893B8, D_800CBF34, 1000.0f, 0, 0, 20, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_289 */ {(void*) func_800596B0, 1, (ObjectFunc) func_80189470, D_800CBF34, 1000.0f, 0, 0, 20, 1, 0.0f, 0 },
|
||||
/* OBJECT_2F4_290 */ {(void*) NULL, 1, (ObjectFunc) func_8018933C, D_800CBF34, 1000.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_2F4_291 */ {(void*) func_80067874, 1, (ObjectFunc) func_8006753C, D_800CBEA8, 1000.0f, 0, 0, 0, 0, 1.0f, 0 },
|
||||
/* OBJECT_408_292 */ {(void*) func_8018AA74, 2, (ObjectFunc) func_80189058, D_603E620, 20000.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_293 */ {(void*) func_8018ECAC, 1, (ObjectFunc) func_8018C19C, D_603E840, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_294 */ {(void*) func_8018ED78, 1, (ObjectFunc) func_8018DDAC, D_603E714, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_295 */ {(void*) func_8018EE84, 1, (ObjectFunc) func_8018E290, D_603E748, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_296 */ {(void*) func_8018EF90, 1, (ObjectFunc) func_8018E76C, D_603E7C4, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_297 */ {(void*) func_8018BACC, 1, (ObjectFunc) func_8018978C, D_602F75C, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_298 */ {(void*) func_801887D0, 1, (ObjectFunc) func_80188344, D_602FA50, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_299 */ {(void*) func_80042FC4, 2, (ObjectFunc) func_80042FB8, D_800CBF34, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_300 */ {(void*) func_80042FE8, 1, (ObjectFunc) func_80042FDC, D_800CBF34, 20000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_301 */ {(void*) func_801BEC5C, 1, (ObjectFunc) func_801BEC50, D_6030B10, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_302 */ {(void*) func_8018C54C, 1, (ObjectFunc) func_80187944, D_6028454, 2000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_303 */ {(void*) func_80193434, 2, (ObjectFunc) func_80190078, D_6032550, 20000.0f, 0, 0, 20, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_304 */ {(void*) func_8018FF84, 2, (ObjectFunc) func_8018FE38, D_6032488, 1000.0f, 0, 0, 20, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_305 */ {(void*) func_80190020, 2, (ObjectFunc) func_8018FF20, D_60324EC, 1000.0f, 0, 0, 20, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_306 */ {(void*) func_801982A8, 1, (ObjectFunc) func_80197A94,D_E6A810_801B83A8, 1000.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_307 */ {(void*) func_801949DC, 2, (ObjectFunc) func_80194A84, D_602C044, 1000.0f, 0, 0, 40, 0, 1.0f, 10 },
|
||||
/* OBJECT_408_308 */ {(void*) func_8008FE78, 1, (ObjectFunc) func_800907C4, D_600FFE0, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_309 */ {(void*) func_8002E604, 1, (ObjectFunc) func_8002E5E0, D_800CBF34, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_310 */ {(void*) func_8002E64C, 1, (ObjectFunc) func_8002E628, D_800CBF34, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_311 */ {(void*) func_80191AFC, 2, (ObjectFunc) func_801912FC, D_6011C80, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_312 */ {(void*) func_80196288, 2, (ObjectFunc) func_80196210, D_60166F4, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_313 */ {(void*) func_8019E98C, 1, (ObjectFunc) func_8019E454, D_6009388, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_314 */ {(void*) func_8019E2C4, 2, (ObjectFunc) func_8019C888, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_315 */ {(void*) func_801A71B8, 2, (ObjectFunc) func_801A5B3C, D_800CBF34, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_316 */ {(void*) func_801968F4, 1, (ObjectFunc) func_801946C4, D_6011058, 0.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_317 */ {(void*) func_80193B1C, 1, (ObjectFunc) func_80193718, D_601115C, 0.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_318 */ {(void*) func_801B4D84, 2, (ObjectFunc) func_801B134C, D_6030F74, 10000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_319 */ {(void*) func_801985E4, 1, (ObjectFunc) func_80194398,D_DF4260_8019A9B8, 3000.0f, 0, 0, 40, 1, 0.0f, 10 },
|
||||
/* OBJECT_408_320 */ {(void*) func_801928C8, 2, (ObjectFunc) func_8018DBF0, D_C038DC0, 10000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_408_321 */ {(void*) func_8018B8C0, 1, (ObjectFunc) func_80189B70, D_C038F24, 10000.0f, 0, 0, 40, 0, 0.0f, 10 },
|
||||
/* OBJECT_6C_LASERS */ {(void*) func_8005CC9C, 1, (ObjectFunc) func_80067F6C, D_800CBFA8, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_323 */ {(void*) func_8005C5F0, 1, (ObjectFunc) func_80068914, D_800CBF38, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_SILVER_RING */ {(void*) func_8005C900, 1, (ObjectFunc) func_80068020, D_800CBF54, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_325 */ {(void*) func_8005C9C0, 1, (ObjectFunc) func_800685D8, D_800CBF54, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_326 */ {(void*) func_8005CDA8, 1, (ObjectFunc) func_80068688, D_800CBF70, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_BOMB */ {(void*) func_8005CB44, 1, (ObjectFunc) func_80067BEC, D_800CBFC8, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_328 */ {(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_329 */ {(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_330 */ {(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_331 */ {(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_332 */ {(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_333 */ {(void*) NULL, 1, (ObjectFunc) func_80068C88, D_800CBF8C, 1500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_334 */ {(void*) NULL, 1, (ObjectFunc) func_80068C48, D_800CBF18, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_1UP */ {(void*) D_1022120, 0, (ObjectFunc) func_80067B1C, D_800CBE8C, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_GOLD_RING */ {(void*) func_8005CA80, 1, (ObjectFunc) func_800685F8, D_800CBF54, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_WING_REPAIR */ {(void*) D_3007650, 0, (ObjectFunc) func_80068618, D_800CBFA8, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_6C_338 */ {(void*) D_6006140, 0, (ObjectFunc) func_80198968, D_6009CFC, 700.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_339 */ {(void*) func_8007D55C, 1, (ObjectFunc) func_8007D2F4, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_340 */ {(void*) func_8007D55C, 1, (ObjectFunc) func_8007D748, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_341 */ {(void*) func_8007D55C, 1, (ObjectFunc) func_8007D8A8, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_342 */ {(void*) func_8007E330, 1, (ObjectFunc) func_8007E298, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_343 */ {(void*) func_8007CAF0, 1, (ObjectFunc) func_8007C9E0, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_344 */ {(void*) func_8007868C, 1, (ObjectFunc) func_8007E014, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_345 */ {(void*) func_8007879C, 1, (ObjectFunc) func_8007E258, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_346 */ {(void*) func_800788B0, 1, (ObjectFunc) func_8007F438, NULL, -200.0f, 1, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_347 */ {(void*) func_800783C0, 1, (ObjectFunc) func_8007B758, NULL, 100.0f, 1, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_348 */ {(void*) func_80078A64, 1, (ObjectFunc) func_8007F6B0, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_349 */ {(void*) NULL, 1, (ObjectFunc) func_8007F958, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_350 */ {(void*) NULL, 1, (ObjectFunc) func_8007FBE0, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_351 */ {(void*) func_80078438, 1, (ObjectFunc) func_8007E3E4, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_352 */ {(void*) func_800784B4, 1, (ObjectFunc) func_8007B62C, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_353 */ {(void*) func_80078B8C, 1, (ObjectFunc) func_8007FE88, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_354 */ {(void*) func_80197C64, 1, (ObjectFunc) func_8007FE88, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_355 */ {(void*) func_80078AEC, 1, (ObjectFunc) func_800802B8, NULL, 100.0f, 1, 0, 20, 1, 0.0f, 0 },
|
||||
/* OBJECT_8C_356 */ {(void*) func_80078C84, 1, (ObjectFunc) func_800802F8, NULL, 100.0f, 1, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_357 */ {(void*) func_800798F0, 1, (ObjectFunc) func_8007968C, NULL, 100.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_358 */ {(void*) func_80192A68, 1, (ObjectFunc) func_80192984, NULL, 100.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_359 */ {(void*) func_8007AA60, 1, (ObjectFunc) func_8007A994, NULL, -100.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_360 */ {(void*) func_8007BEE8, 1, (ObjectFunc) func_8007BE54, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_361 */ {(void*) func_8007BEE8, 1, (ObjectFunc) func_8007BDE0, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_362 */ {(void*) func_8007BEE8, 1, (ObjectFunc) func_8007BCE8, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_363 */ {(void*) func_80094BBC, 1, (ObjectFunc) func_80094954, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_364 */ {(void*) func_8007B9DC, 1, (ObjectFunc) func_8007B960, NULL, -200.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_365 */ {(void*) func_8007E5CC, 1, (ObjectFunc) func_8007E45C, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_366 */ {(void*) func_80078550, 1, (ObjectFunc) func_801AC918, NULL, 100.0f, 1, 2, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_367 */ {(void*) func_80078604, 1, (ObjectFunc) func_8007E648, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_368 */ {(void*) func_80188FA8, 1, (ObjectFunc) func_80188F60, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_369 */ {(void*) func_8018DCE4, 1, (ObjectFunc) func_80188CAC, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_370 */ {(void*) func_8018DBEC, 1, (ObjectFunc) func_80188FAC, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_371 */ {(void*) func_8018DE14, 1, (ObjectFunc) func_80189114, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_372 */ {(void*) func_80077A00, 1, (ObjectFunc) func_8007AB50, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_373 */ {(void*) NULL, 1, (ObjectFunc) func_8007A748, NULL, 500.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_374 */ {(void*) func_8007DED4, 1, (ObjectFunc) func_8007DB70, NULL, 100.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_375 */ {(void*) func_8007DAE4, 1, (ObjectFunc) func_8007DA58, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_376 */ {(void*) func_80078CE8, 1, (ObjectFunc) func_80080360, NULL, -200.0f, 1, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_377 */ {(void*) func_80078BE0, 1, (ObjectFunc) func_800802D8, NULL, 100.0f, 1, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_378 */ {(void*) func_801A5AF0, 1, (ObjectFunc) func_801A57D0, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_379 */ {(void*) func_801AEAA0, 1, (ObjectFunc) func_801AE87C, NULL, 100.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_380 */ {(void*) func_801A5D68, 1, (ObjectFunc) func_801A5B4C, NULL, 100.0f, 0, 0, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_381 */ {(void*) func_80077A7C, 1, (ObjectFunc) func_8007B0F4, NULL, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_382 */ {(void*) NULL, 1, (ObjectFunc) func_8007B040, NULL, 200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_383 */ {(void*) func_8007A3C0, 1, (ObjectFunc) func_8007A28C, NULL, 10000.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_384 */ {(void*) func_80077B84, 1, (ObjectFunc) func_8007B3B8, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_385 */ {(void*) func_80078038, 1, (ObjectFunc) func_8007B5C0, NULL, -200.0f, -1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_386 */ {(void*) NULL, 1, (ObjectFunc) func_8007C250, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_387 */ {(void*) NULL, 1, (ObjectFunc) func_8007C8C4, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_388 */ {(void*) func_80077B78, 1, (ObjectFunc) func_8007B670, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_389 */ {(void*) func_800780F8, 1, (ObjectFunc) func_8007B67C, NULL, -200.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_390 */ {(void*) NULL, 1, (ObjectFunc) func_8007C50C, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_391 */ {(void*) func_80083B8C, 1, (ObjectFunc) func_800837EC, NULL, 500.0f, 0, 0, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_392 */ {(void*) func_801A0AF0, 1, (ObjectFunc) func_801A0120, NULL, 300.0f, 1, 2, 10, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_393 */ {(void*) func_80078F78, 1, (ObjectFunc) func_80078EBC, NULL, 300.0f, 1, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_394 */ {(void*) func_80080D04, 1, (ObjectFunc) func_80080ACC, NULL, -200.0f, 0, 1, 0, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_395 */ {(void*) func_80082F78, 1, (ObjectFunc) func_80081C5C, NULL, 300.0f, 0, 1, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_396 */ {(void*) func_8018CF98, 1, (ObjectFunc) func_8018CAD4, NULL, 2000.0f, 0, 1, 40, 2, 0.0f, 0 },
|
||||
/* OBJECT_8C_397 */ {(void*) func_80191180, 1, (ObjectFunc) func_80191054, NULL, 2000.0f, 0, 1, 20, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_398 */ {(void*) func_8008092C, 1, (ObjectFunc) func_8008040C, NULL, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
/* OBJECT_8C_399 */ {(void*) func_80084194, 1, (ObjectFunc) func_80083FA8, NULL, 100.0f, 0, 0, 40, 0, 0.0f, 0 },
|
||||
};
|
||||
// clang-format on
|
||||
|
File diff suppressed because it is too large
Load Diff
1513
src/main/fox_enmy1.c
1513
src/main/fox_enmy1.c
File diff suppressed because it is too large
Load Diff
@ -93,99 +93,99 @@ u8 Overlay_Init(OverlayInit* ovlInit) {
|
||||
return changeOvl;
|
||||
}
|
||||
|
||||
u8 Overlay_Load(u8 arg0, u8 arg1) {
|
||||
u8 Overlay_Load(u8 ovlSetup, u8 ovlStage) {
|
||||
u8 changeOvl;
|
||||
|
||||
switch (arg0) {
|
||||
case 0x0:
|
||||
changeOvl = Overlay_Init(&sEBFBE0_Overlay1[arg1]);
|
||||
switch (ovlSetup) {
|
||||
case OVL_SETUP_TITLE:
|
||||
changeOvl = Overlay_Init(&sOvlEBFBE0_Title[ovlStage]);
|
||||
if (changeOvl == true) {
|
||||
func_8001DC6C(0, 0x16);
|
||||
}
|
||||
break;
|
||||
case 0x1:
|
||||
changeOvl = Overlay_Init(&sEBFBE0_Overlay2[arg1]);
|
||||
case OVL_SETUP_MENU:
|
||||
changeOvl = Overlay_Init(&sOvlEBFBE0_Menu[ovlStage]);
|
||||
break;
|
||||
case 0x2:
|
||||
changeOvl = Overlay_Init(&sEBFBE0_Overlay3[arg1]);
|
||||
case OVL_SETUP_MAP:
|
||||
changeOvl = Overlay_Init(&sOvlEBFBE0_Map[ovlStage]);
|
||||
break;
|
||||
case 0x3:
|
||||
changeOvl = Overlay_Init(&sEBFBE0_Overlay4[arg1]);
|
||||
case OVL_SETUP_STATE_5:
|
||||
changeOvl = Overlay_Init(&sOvlEBFBE0_State5[ovlStage]);
|
||||
break;
|
||||
case 0x5:
|
||||
changeOvl = Overlay_Init(&sDF4260_Overlay1[arg1]);
|
||||
case OVL_SETUP_CORNERIA:
|
||||
changeOvl = Overlay_Init(&sOvlDF4260_Corneria[ovlStage]);
|
||||
break;
|
||||
case 0x6:
|
||||
changeOvl = Overlay_Init(&sE08400_Overlay1_2[arg1]);
|
||||
case OVL_SETUP_METEO:
|
||||
changeOvl = Overlay_Init(&sOvlE08400_Meteo[ovlStage]);
|
||||
break;
|
||||
case 0x7:
|
||||
changeOvl = Overlay_Init(&sE6A810_Overlay1_6[arg1]);
|
||||
case OVL_SETUP_TITANIA:
|
||||
changeOvl = Overlay_Init(&sOvlE6A810_Titania[ovlStage]);
|
||||
break;
|
||||
case 0x8:
|
||||
changeOvl = Overlay_Init(&sE08400_Overlay2_2[arg1]);
|
||||
case OVL_SETUP_SECTOR_X:
|
||||
changeOvl = Overlay_Init(&sOvlE08400_SectorX[ovlStage]);
|
||||
break;
|
||||
case 0x17:
|
||||
changeOvl = Overlay_Init(&sE51970_Overlay1[arg1]);
|
||||
case OVL_SETUP_SECTOR_Z:
|
||||
changeOvl = Overlay_Init(&sOvlE51970_SectorZ[ovlStage]);
|
||||
break;
|
||||
case 0x9:
|
||||
changeOvl = Overlay_Init(&sE16C50_Overlay1[arg1]);
|
||||
case OVL_SETUP_AQUAS:
|
||||
changeOvl = Overlay_Init(&sOvlE16C50_Aquas[ovlStage]);
|
||||
break;
|
||||
case 0xA:
|
||||
changeOvl = Overlay_Init(&sE16C50_Overlay2[arg1]);
|
||||
case OVL_SETUP_AREA_6:
|
||||
changeOvl = Overlay_Init(&sOvlE16C50_Area6[ovlStage]);
|
||||
break;
|
||||
case 0xB:
|
||||
changeOvl = Overlay_Init(&sE51970_Overlay2_2[arg1]);
|
||||
case OVL_SETUP_FORTUNA:
|
||||
changeOvl = Overlay_Init(&sOvlE51970_Fortuna[ovlStage]);
|
||||
break;
|
||||
case 0xC:
|
||||
changeOvl = Overlay_Init(&sE16C50_Overlay3[arg1]);
|
||||
case OVL_SETUP_UNK_4:
|
||||
changeOvl = Overlay_Init(&sOvlE16C50_Unk4[ovlStage]);
|
||||
break;
|
||||
case 0xD:
|
||||
changeOvl = Overlay_Init(&sE9F1D0_Overlay1[arg1]);
|
||||
case OVL_SETUP_SECTOR_Y:
|
||||
changeOvl = Overlay_Init(&sOvlE9F1D0_SectorY[ovlStage]);
|
||||
break;
|
||||
case 0xE:
|
||||
changeOvl = Overlay_Init(&sE16C50_Overlay4[arg1]);
|
||||
case OVL_SETUP_SOLAR:
|
||||
changeOvl = Overlay_Init(&sOvlE16C50_Solar[ovlStage]);
|
||||
break;
|
||||
case 0xF:
|
||||
changeOvl = Overlay_Init(&sE16C50_Overlay5[arg1]);
|
||||
case OVL_SETUP_ZONESS:
|
||||
changeOvl = Overlay_Init(&sOvlE16C50_Zoness[ovlStage]);
|
||||
break;
|
||||
case 0x10:
|
||||
changeOvl = Overlay_Init(&sE9F1D0_Overlay2[arg1]);
|
||||
case OVL_SETUP_VENOM_2:
|
||||
changeOvl = Overlay_Init(&sOvlE9F1D0_Venom2[ovlStage]);
|
||||
break;
|
||||
case 0x11:
|
||||
changeOvl = Overlay_Init(&sDF4260_Overlay3[arg1]);
|
||||
case OVL_SETUP_TRAINING:
|
||||
changeOvl = Overlay_Init(&sOvlDF4260_Training[ovlStage]);
|
||||
break;
|
||||
case 0x12:
|
||||
changeOvl = Overlay_Init(&sDF4260_Overlay2[arg1]);
|
||||
case OVL_SETUP_VENOM_1:
|
||||
changeOvl = Overlay_Init(&sOvlDF4260_Venom1[ovlStage]);
|
||||
break;
|
||||
case 0x18:
|
||||
changeOvl = Overlay_Init(&sE9F1D0_Overlay3_2[arg1]);
|
||||
case OVL_SETUP_VENOM_SW:
|
||||
changeOvl = Overlay_Init(&sOvlE9F1D0_VenomSW[ovlStage]);
|
||||
break;
|
||||
case 0x14:
|
||||
changeOvl = Overlay_Init(&sE08400_Overlay3[arg1]);
|
||||
case OVL_SETUP_20:
|
||||
changeOvl = Overlay_Init(&sOvlE08400_Setup20[ovlStage]);
|
||||
break;
|
||||
case 0x16:
|
||||
changeOvl = Overlay_Init(&sE51970_Overlay3[arg1]);
|
||||
case OVL_SETUP_BOLSE:
|
||||
changeOvl = Overlay_Init(&sOvlE51970_Bolse[ovlStage]);
|
||||
break;
|
||||
case 0x13:
|
||||
changeOvl = Overlay_Init(&sE51970_Overlay4[arg1]);
|
||||
case OVL_SETUP_KATINA:
|
||||
changeOvl = Overlay_Init(&sOvlE51970_Katina[ovlStage]);
|
||||
break;
|
||||
case 0x15:
|
||||
changeOvl = Overlay_Init(&sE6A810_Overlay2_2[arg1]);
|
||||
case OVL_SETUP_MACBETH:
|
||||
changeOvl = Overlay_Init(&sOvlE6A810_Macbeth[ovlStage]);
|
||||
break;
|
||||
case 0x32:
|
||||
changeOvl = Overlay_Init(&sE08400_Overlay4_2[arg1]);
|
||||
case OVL_SETUP_VERSUS:
|
||||
changeOvl = Overlay_Init(&sOvlE08400_Versus[ovlStage]);
|
||||
if (changeOvl == true) {
|
||||
func_8001DC6C(3, 0x310);
|
||||
}
|
||||
break;
|
||||
case 0x63:
|
||||
changeOvl = Overlay_Init(&sLogoOverlay[arg1]);
|
||||
case OVL_SETUP_LOGO:
|
||||
changeOvl = Overlay_Init(&sNoOvl_Logo[ovlStage]); // Logo does not load an overlay file
|
||||
if (changeOvl == true) {
|
||||
func_8001DC6C(0, 0xE);
|
||||
}
|
||||
break;
|
||||
case 0x4:
|
||||
changeOvl = Overlay_Init(&sCreditsOverlay_6[arg1]);
|
||||
case OVL_SETUP_CREDITS:
|
||||
changeOvl = Overlay_Init(&sOvlEF0260_Credits[ovlStage]);
|
||||
break;
|
||||
default:
|
||||
(void) "DMA MODE ERROR %d\n";
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define ROM_SEGMENT(file) \
|
||||
{ SEGMENT_ROM_START(file), SEGMENT_ROM_END(file) }
|
||||
|
||||
OverlayInit sLogoOverlay[1] = {
|
||||
OverlayInit sNoOvl_Logo[1] = {
|
||||
{ NO_OVERLAY,
|
||||
{ /* 0x1 */ NO_SEGMENT,
|
||||
/* 0x2 */ NO_SEGMENT,
|
||||
@ -40,7 +40,7 @@ OverlayInit sLogoOverlay[1] = {
|
||||
/* 0xF */ ROM_SEGMENT(ast_D25100) } },
|
||||
};
|
||||
|
||||
OverlayInit sCreditsOverlay_6[6] = {
|
||||
OverlayInit sOvlEF0260_Credits[6] = {
|
||||
{ OVERLAY_OFFSETS(ovl_EF0260),
|
||||
{ /* 0x1 */ NO_SEGMENT,
|
||||
/* 0x2 */ NO_SEGMENT,
|
||||
@ -139,7 +139,7 @@ OverlayInit sCreditsOverlay_6[6] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sEBFBE0_Overlay1[1] = {
|
||||
OverlayInit sOvlEBFBE0_Title[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_EBFBE0),
|
||||
{ /* 0x1 */ NO_SEGMENT,
|
||||
/* 0x2 */ NO_SEGMENT,
|
||||
@ -158,7 +158,7 @@ OverlayInit sEBFBE0_Overlay1[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sEBFBE0_Overlay2[1] = {
|
||||
OverlayInit sOvlEBFBE0_Menu[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_EBFBE0),
|
||||
{ /* 0x1 */ NO_SEGMENT,
|
||||
/* 0x2 */ NO_SEGMENT,
|
||||
@ -177,7 +177,7 @@ OverlayInit sEBFBE0_Overlay2[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sEBFBE0_Overlay3[1] = {
|
||||
OverlayInit sOvlEBFBE0_Map[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_EBFBE0),
|
||||
{ /* 0x1 */ NO_SEGMENT,
|
||||
/* 0x2 */ NO_SEGMENT,
|
||||
@ -196,7 +196,7 @@ OverlayInit sEBFBE0_Overlay3[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sEBFBE0_Overlay4[1] = {
|
||||
OverlayInit sOvlEBFBE0_State5[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_EBFBE0),
|
||||
{ /* 0x1 */ NO_SEGMENT,
|
||||
/* 0x2 */ NO_SEGMENT,
|
||||
@ -215,7 +215,7 @@ OverlayInit sEBFBE0_Overlay4[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sDF4260_Overlay1[1] = {
|
||||
OverlayInit sOvlDF4260_Corneria[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_DF4260),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -234,7 +234,7 @@ OverlayInit sDF4260_Overlay1[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE08400_Overlay1_2[2] = {
|
||||
OverlayInit sOvlE08400_Meteo[2] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E08400),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -269,7 +269,7 @@ OverlayInit sE08400_Overlay1_2[2] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE6A810_Overlay1_6[6] = {
|
||||
OverlayInit sOvlE6A810_Titania[6] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E6A810),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -368,7 +368,7 @@ OverlayInit sE6A810_Overlay1_6[6] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE08400_Overlay2_2[2] = {
|
||||
OverlayInit sOvlE08400_SectorX[2] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E08400),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -403,7 +403,7 @@ OverlayInit sE08400_Overlay2_2[2] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE51970_Overlay1[1] = {
|
||||
OverlayInit sOvlE51970_SectorZ[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E51970),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -422,7 +422,7 @@ OverlayInit sE51970_Overlay1[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE16C50_Overlay1[1] = {
|
||||
OverlayInit sOvlE16C50_Aquas[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E16C50),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -441,7 +441,7 @@ OverlayInit sE16C50_Overlay1[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE16C50_Overlay2[1] = {
|
||||
OverlayInit sOvlE16C50_Area6[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E16C50),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -460,7 +460,7 @@ OverlayInit sE16C50_Overlay2[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE51970_Overlay2_2[2] = {
|
||||
OverlayInit sOvlE51970_Fortuna[2] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E51970),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -495,7 +495,7 @@ OverlayInit sE51970_Overlay2_2[2] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE16C50_Overlay3[1] = {
|
||||
OverlayInit sOvlE16C50_Unk4[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E16C50),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -514,7 +514,7 @@ OverlayInit sE16C50_Overlay3[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE9F1D0_Overlay1[1] = {
|
||||
OverlayInit sOvlE9F1D0_SectorY[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E9F1D0),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -533,7 +533,7 @@ OverlayInit sE9F1D0_Overlay1[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE16C50_Overlay4[1] = {
|
||||
OverlayInit sOvlE16C50_Solar[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E16C50),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -552,7 +552,7 @@ OverlayInit sE16C50_Overlay4[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE16C50_Overlay5[1] = {
|
||||
OverlayInit sOvlE16C50_Zoness[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E16C50),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -571,7 +571,7 @@ OverlayInit sE16C50_Overlay5[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sDF4260_Overlay2[1] = {
|
||||
OverlayInit sOvlDF4260_Venom1[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_DF4260),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -590,7 +590,7 @@ OverlayInit sDF4260_Overlay2[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE9F1D0_Overlay2[1] = {
|
||||
OverlayInit sOvlE9F1D0_Venom2[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E9F1D0),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -609,7 +609,7 @@ OverlayInit sE9F1D0_Overlay2[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE9F1D0_Overlay3_2[2] = {
|
||||
OverlayInit sOvlE9F1D0_VenomSW[2] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E9F1D0),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -644,7 +644,7 @@ OverlayInit sE9F1D0_Overlay3_2[2] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE08400_Overlay3[1] = {
|
||||
OverlayInit sOvlE08400_Setup20[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E08400),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -663,7 +663,7 @@ OverlayInit sE08400_Overlay3[1] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sE51970_Overlay3[1] = {
|
||||
OverlayInit sOvlE51970_Bolse[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E51970),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8A68C0),
|
||||
@ -682,7 +682,7 @@ OverlayInit sE51970_Overlay3[1] = {
|
||||
/* 0xF */ ROM_SEGMENT(ast_940AD0) } },
|
||||
};
|
||||
|
||||
OverlayInit sE51970_Overlay4[1] = {
|
||||
OverlayInit sOvlE51970_Katina[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E51970),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -701,7 +701,7 @@ OverlayInit sE51970_Overlay4[1] = {
|
||||
/* 0xF */ ROM_SEGMENT(ast_940AD0) } },
|
||||
};
|
||||
|
||||
OverlayInit sE6A810_Overlay2_2[2] = {
|
||||
OverlayInit sOvlE6A810_Macbeth[2] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E6A810),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -736,7 +736,7 @@ OverlayInit sE6A810_Overlay2_2[2] = {
|
||||
/* 0xF */ NO_SEGMENT } },
|
||||
};
|
||||
|
||||
OverlayInit sDF4260_Overlay3[1] = {
|
||||
OverlayInit sOvlDF4260_Training[1] = {
|
||||
{ OVERLAY_OFFSETS(ovl_DF4260),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
@ -755,7 +755,7 @@ OverlayInit sDF4260_Overlay3[1] = {
|
||||
/* 0xF */ ROM_SEGMENT(ast_940AD0) } },
|
||||
};
|
||||
|
||||
OverlayInit sE08400_Overlay4_2[2] = {
|
||||
OverlayInit sOvlE08400_Versus[2] = {
|
||||
{ OVERLAY_OFFSETS(ovl_E08400),
|
||||
{ /* 0x1 */ ROM_SEGMENT(ast_873CB0),
|
||||
/* 0x2 */ ROM_SEGMENT(ast_8AE0A0),
|
||||
|
@ -98,10 +98,10 @@ bool Message_DisplayText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 len)
|
||||
case MSGCHAR_NP5:
|
||||
case MSGCHAR_NP6:
|
||||
case MSGCHAR_NP7:
|
||||
case MSGCHAR_NP8:
|
||||
case MSGCHAR_NP9:
|
||||
case MSGCHAR_NPA:
|
||||
case MSGCHAR_NPB:
|
||||
case MSGCHAR_PRI0:
|
||||
case MSGCHAR_PRI1:
|
||||
case MSGCHAR_PRI2:
|
||||
case MSGCHAR_PRI3:
|
||||
case MSGCHAR_QSP:
|
||||
case MSGCHAR_HSP:
|
||||
case MSGCHAR_NPF:
|
||||
@ -147,10 +147,10 @@ void Message_DisplayScrollingText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos,
|
||||
case MSGCHAR_NP5:
|
||||
case MSGCHAR_NP6:
|
||||
case MSGCHAR_NP7:
|
||||
case MSGCHAR_NP8:
|
||||
case MSGCHAR_NP9:
|
||||
case MSGCHAR_NPA:
|
||||
case MSGCHAR_NPB:
|
||||
case MSGCHAR_PRI0:
|
||||
case MSGCHAR_PRI1:
|
||||
case MSGCHAR_PRI2:
|
||||
case MSGCHAR_PRI3:
|
||||
case MSGCHAR_NPF:
|
||||
break;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ f32 D_80178740;
|
||||
s32 D_80178744;
|
||||
s32 D_80178748;
|
||||
|
||||
s32 D_800D4A70 = 0;
|
||||
s32 sCurrentMsgPri = 0;
|
||||
|
||||
void func_800BA760(void) {
|
||||
RCP_SetupDL_36();
|
||||
@ -21,101 +21,93 @@ void func_800BA760(void) {
|
||||
}
|
||||
}
|
||||
|
||||
s32 func_800BA7BC(u16* arg0, s32 arg1) {
|
||||
s32 var_v0 = D_800D4A70;
|
||||
|
||||
if (arg1 == var_v0) {
|
||||
s32 func_800BA7BC(u16* msg, s32 priority) {
|
||||
if (priority == sCurrentMsgPri) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (arg1 < var_v0) {
|
||||
if (priority < sCurrentMsgPri) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (var_v0 < arg1) {
|
||||
D_800D4A70 = arg1;
|
||||
if (sCurrentMsgPri < priority) {
|
||||
sCurrentMsgPri = priority;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
void func_800BA808(u16* arg0, s32 arg1) {
|
||||
void func_800BA808(u16* msg, s32 character) {
|
||||
s32 var_v1;
|
||||
s32 temp_v0;
|
||||
s32 var_a1;
|
||||
s32 priority;
|
||||
|
||||
switch (*arg0) {
|
||||
switch (msg[0]) {
|
||||
default:
|
||||
case 0x08:
|
||||
var_a1 = 0;
|
||||
case MSGCHAR_PRI0:
|
||||
priority = 0;
|
||||
break;
|
||||
case 0x09:
|
||||
var_a1 = 1;
|
||||
case MSGCHAR_PRI1:
|
||||
priority = 1;
|
||||
break;
|
||||
case 0x0a:
|
||||
var_a1 = 2;
|
||||
case MSGCHAR_PRI2:
|
||||
priority = 2;
|
||||
break;
|
||||
case 0x0b:
|
||||
var_a1 = 3;
|
||||
case MSGCHAR_PRI3:
|
||||
priority = 3;
|
||||
break;
|
||||
}
|
||||
|
||||
if (D_80177834 == 7) {
|
||||
if ((arg1 == 10) || (arg1 == 20) || (arg1 == 30)) {
|
||||
if (arg1 == 10) {
|
||||
if (gGameState == GSTATE_PLAY) {
|
||||
if ((character == RCID_FALCO) || (character == RCID_SLIPPY) || (character == RCID_PEPPY)) {
|
||||
if (character == RCID_FALCO) {
|
||||
var_v1 = 1;
|
||||
}
|
||||
|
||||
if (arg1 == 20) {
|
||||
if (character == RCID_SLIPPY) {
|
||||
var_v1 = 2;
|
||||
}
|
||||
|
||||
if (arg1 == 30) {
|
||||
if (character == RCID_PEPPY) {
|
||||
var_v1 = 3;
|
||||
}
|
||||
|
||||
if ((D_801778B0[var_v1] <= 0) && (D_801778B0[var_v1] != -2)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (D_8017829C != 0) {
|
||||
temp_v0 = func_800BA7BC(arg0, var_a1);
|
||||
if (temp_v0 == 1) {
|
||||
return;
|
||||
}
|
||||
if ((D_8017829C != 0) && (func_800BA7BC(msg, priority) == 1)) {
|
||||
return;
|
||||
}
|
||||
|
||||
D_800D4A70 = var_a1;
|
||||
D_80177D68 = arg1;
|
||||
sCurrentMsgPri = priority;
|
||||
D_80177D68 = character;
|
||||
|
||||
if (gExpertMode && ((arg1 == 0) || (arg1 == 5))) {
|
||||
D_80177D68 = 400;
|
||||
if (gExpertMode && ((character == RCID_FOX) || (character == RCID_FOX_RED))) {
|
||||
D_80177D68 = RCID_FOX_EXPERT;
|
||||
}
|
||||
|
||||
if (D_80178234 == 19) {
|
||||
switch (arg1) {
|
||||
case 200:
|
||||
D_80177D68 = 240;
|
||||
if (gCurrentLevel == LEVEL_VENOM_SW) {
|
||||
switch (character) {
|
||||
case RCID_WOLF:
|
||||
D_80177D68 = RCID_WOLF_2;
|
||||
break;
|
||||
case 210:
|
||||
D_80177D68 = 250;
|
||||
case RCID_PIGMA:
|
||||
D_80177D68 = RCID_PIGMA_2;
|
||||
break;
|
||||
case 220:
|
||||
D_80177D68 = 260;
|
||||
case RCID_LEON:
|
||||
D_80177D68 = RCID_LEON_2;
|
||||
break;
|
||||
case 230:
|
||||
D_80177D68 = 270;
|
||||
case RCID_ANDREW:
|
||||
D_80177D68 = RCID_ANDREW_2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
D_80178308 = arg0;
|
||||
D_80178308 = msg;
|
||||
D_8017829C = 100;
|
||||
|
||||
switch (D_80177834) {
|
||||
case 2:
|
||||
case 8:
|
||||
switch (gGameState) {
|
||||
case GSTATE_TITLE:
|
||||
case GSTATE_CREDITS:
|
||||
D_8017872C = 176;
|
||||
D_80178728 = 85;
|
||||
D_80178730 = 80.0f;
|
||||
@ -124,7 +116,7 @@ void func_800BA808(u16* arg0, s32 arg1) {
|
||||
D_8017873C = 32.0f;
|
||||
D_80178740 = 174.0f;
|
||||
break;
|
||||
case 7:
|
||||
case GSTATE_PLAY:
|
||||
D_8017872C = 180;
|
||||
D_80178728 = 79;
|
||||
D_80178730 = 74.0f;
|
||||
@ -135,267 +127,267 @@ void func_800BA808(u16* arg0, s32 arg1) {
|
||||
break;
|
||||
}
|
||||
|
||||
D_801782E8 = Message_IdFromPtr(arg0);
|
||||
D_801782E8 = Message_IdFromPtr(msg);
|
||||
func_8001ACDC(D_801782E8);
|
||||
}
|
||||
|
||||
void func_800BAAE8(void) {
|
||||
static f32 D_800D4A74 = -1.0f;
|
||||
u16* sp44;
|
||||
s32 var_s0;
|
||||
s32 mirror;
|
||||
s32 i;
|
||||
f32 sp38;
|
||||
f32 temp_fa0;
|
||||
s32 j;
|
||||
|
||||
D_80178744 = 0;
|
||||
var_s0 = 0;
|
||||
mirror = false;
|
||||
switch (D_801782A4) {
|
||||
case 0x5:
|
||||
case RCID_FOX_RED:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x0:
|
||||
case RCID_FOX:
|
||||
sp44 = D_10050E0;
|
||||
break;
|
||||
case 0x6:
|
||||
case RCID_FOX_RED_OPEN:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x1:
|
||||
case RCID_FOX_OPEN:
|
||||
sp44 = D_1006000;
|
||||
break;
|
||||
case 0x190:
|
||||
case RCID_FOX_EXPERT:
|
||||
sp44 = D_1006F20;
|
||||
break;
|
||||
case 0x191:
|
||||
case RCID_FOX_EXPERT_OPEN:
|
||||
sp44 = D_1007E40;
|
||||
break;
|
||||
case 0xF:
|
||||
case RCID_FALCO_RED:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0xA:
|
||||
case RCID_FALCO:
|
||||
sp44 = D_10032A0;
|
||||
break;
|
||||
case 0x10:
|
||||
case RCID_FALCO_RED_OPEN:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0xB:
|
||||
case RCID_FALCO_OPEN:
|
||||
sp44 = D_10041C0;
|
||||
break;
|
||||
case 0x19:
|
||||
case RCID_SLIPPY_RED:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x14:
|
||||
case RCID_SLIPPY:
|
||||
sp44 = D_100D900;
|
||||
break;
|
||||
case 0x1A:
|
||||
case RCID_SLIPPY_RED_OPEN:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x15:
|
||||
case RCID_SLIPPY_OPEN:
|
||||
sp44 = D_100E820;
|
||||
break;
|
||||
case 0x23:
|
||||
case RCID_PEPPY_RED:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x1E:
|
||||
case RCID_PEPPY:
|
||||
sp44 = D_100BAC0;
|
||||
break;
|
||||
case 0x24:
|
||||
case RCID_PEPPY_RED_OPEN:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x1F:
|
||||
case RCID_PEPPY_OPEN:
|
||||
sp44 = D_100C9E0;
|
||||
break;
|
||||
case 0xC8:
|
||||
case RCID_WOLF:
|
||||
sp44 = D_F00B580;
|
||||
break;
|
||||
case 0xC9:
|
||||
case RCID_WOLF_OPEN:
|
||||
sp44 = D_F00C4A0;
|
||||
break;
|
||||
case 0xD2:
|
||||
case RCID_PIGMA:
|
||||
sp44 = D_F003C80;
|
||||
break;
|
||||
case 0xD3:
|
||||
case RCID_PIGMA_OPEN:
|
||||
sp44 = D_F004BA0;
|
||||
break;
|
||||
case 0xDC:
|
||||
case RCID_LEON:
|
||||
sp44 = D_F007900;
|
||||
break;
|
||||
case 0xDD:
|
||||
case RCID_LEON_OPEN:
|
||||
sp44 = D_F008820;
|
||||
break;
|
||||
case 0xE6:
|
||||
case RCID_ANDREW:
|
||||
sp44 = D_F000000;
|
||||
break;
|
||||
case 0xE7:
|
||||
case RCID_ANDREW_OPEN:
|
||||
sp44 = D_F000F20;
|
||||
break;
|
||||
case 0xF0:
|
||||
case RCID_WOLF_2:
|
||||
sp44 = D_F00D3C0;
|
||||
break;
|
||||
case 0xF1:
|
||||
case RCID_WOLF_2_OPEN:
|
||||
sp44 = D_F00E2E0;
|
||||
break;
|
||||
case 0xFA:
|
||||
case RCID_PIGMA_2:
|
||||
sp44 = D_F005AC0;
|
||||
break;
|
||||
case 0xFB:
|
||||
case RCID_PIGMA_2_OPEN:
|
||||
sp44 = D_F0069E0;
|
||||
break;
|
||||
case 0x104:
|
||||
case RCID_LEON_2:
|
||||
sp44 = D_F009740;
|
||||
break;
|
||||
case 0x105:
|
||||
case RCID_LEON_2_OPEN:
|
||||
sp44 = D_F00A660;
|
||||
break;
|
||||
case 0x10E:
|
||||
case RCID_ANDREW_2:
|
||||
sp44 = D_F001E40;
|
||||
break;
|
||||
case 0x10F:
|
||||
case RCID_ANDREW_2_OPEN:
|
||||
sp44 = D_F002D60;
|
||||
break;
|
||||
case 0x50:
|
||||
case RCID_BOSS_CORNERIA: // Corneria robot boss
|
||||
sp44 = D_6026420;
|
||||
break;
|
||||
case 0x51:
|
||||
case RCID_BOSS_CORNERIA_OPEN:
|
||||
sp44 = D_6027340;
|
||||
break;
|
||||
case 0x6E:
|
||||
case RCID_BOSS_CORNERIA2: // Corneria secret boss
|
||||
sp44 = D_60245E0;
|
||||
break;
|
||||
case 0x6F:
|
||||
case RCID_BOSS_CORNERIA2_OPEN:
|
||||
sp44 = D_6025500;
|
||||
break;
|
||||
case 0x64:
|
||||
case RCID_BOSS_METEO: // Meteo Boss
|
||||
sp44 = D_601C8E0;
|
||||
break;
|
||||
case 0x65:
|
||||
case RCID_BOSS_METEO_OPEN:
|
||||
sp44 = D_601D800;
|
||||
break;
|
||||
case 0x78:
|
||||
case RCID_BOSS_AREA6: // Area 6 Boss
|
||||
sp44 = D_60047E0;
|
||||
break;
|
||||
case 0x79:
|
||||
case RCID_BOSS_AREA6_OPEN:
|
||||
sp44 = D_6005700;
|
||||
break;
|
||||
case 0xB4:
|
||||
case RCID_CAIMAN_AREA6: // Area 6 Caiman
|
||||
sp44 = D_60029A0;
|
||||
break;
|
||||
case 0xB5:
|
||||
case RCID_CAIMAN_AREA6_OPEN:
|
||||
sp44 = D_60038C0;
|
||||
break;
|
||||
case 0x82:
|
||||
case RCID_BOSS_ZONESS: // Zoness boss
|
||||
sp44 = D_6014510;
|
||||
break;
|
||||
case 0x83:
|
||||
case RCID_BOSS_ZONESS_OPEN:
|
||||
sp44 = D_6015430;
|
||||
break;
|
||||
case 0x96:
|
||||
case RCID_BOSS_SECTORX: // Sector X boss
|
||||
sp44 = D_6020FB0;
|
||||
break;
|
||||
case 0x97:
|
||||
case RCID_BOSS_SECTORX_OPEN:
|
||||
sp44 = D_6021ED0;
|
||||
break;
|
||||
case 0xA0:
|
||||
case RCID_BOSS_SECTORY: // Sector Y boss
|
||||
sp44 = D_6018F30;
|
||||
break;
|
||||
case 0xA1:
|
||||
case RCID_BOSS_SECTORY_OPEN:
|
||||
sp44 = D_6019E50;
|
||||
break;
|
||||
case 0xBE:
|
||||
case RCID_BOSS_MACBETH: // Macbeth boss
|
||||
sp44 = D_6010C20;
|
||||
break;
|
||||
case 0xBF:
|
||||
case RCID_BOSS_MACBETH_OPEN:
|
||||
sp44 = D_6011B40;
|
||||
break;
|
||||
case 0x5F:
|
||||
case RCID_ROB64_RED:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x5A:
|
||||
case 0x8C:
|
||||
case RCID_ROB64:
|
||||
case RCID_ROB64_2:
|
||||
sp44 = D_1009C80;
|
||||
break;
|
||||
case 0x60:
|
||||
case RCID_ROB64_RED_OPEN:
|
||||
D_80178744 = 1;
|
||||
/* fallthrough */
|
||||
case 0x5B:
|
||||
case 0x8D:
|
||||
case RCID_ROB64_OPEN:
|
||||
case RCID_ROB64_2_OPEN:
|
||||
sp44 = D_100ABA0;
|
||||
break;
|
||||
case 0x28:
|
||||
case RCID_KATT:
|
||||
sp44 = D_D003DF0;
|
||||
break;
|
||||
case 0x29:
|
||||
case RCID_KATT_OPEN:
|
||||
sp44 = D_D004D10;
|
||||
break;
|
||||
case 0x32:
|
||||
case 0x37:
|
||||
case RCID_ANDROSS_RED:
|
||||
case RCID_ANDROSS:
|
||||
sp44 = D_D000170;
|
||||
if ((D_80177834 == 7) && (D_80178234 == 3)) {
|
||||
if ((gGameState == GSTATE_PLAY) && (gCurrentLevel == LEVEL_AREA_6)) {
|
||||
sp44 = D_6000B60;
|
||||
}
|
||||
D_80178744 = 1;
|
||||
break;
|
||||
case 0x33:
|
||||
case 0x38:
|
||||
case RCID_ANDROSS_RED_OPEN:
|
||||
case RCID_ANDROSS_OPEN:
|
||||
sp44 = D_D001090;
|
||||
if ((D_80177834 == 7) && (D_80178234 == 3)) {
|
||||
if ((gGameState == GSTATE_PLAY) && (gCurrentLevel == LEVEL_AREA_6)) {
|
||||
sp44 = D_6001A80;
|
||||
}
|
||||
D_80178744 = 1;
|
||||
break;
|
||||
case 0x3C:
|
||||
case RCID_JAMES:
|
||||
sp44 = D_D005C30;
|
||||
break;
|
||||
case 0x3D:
|
||||
case RCID_JAMES_OPEN:
|
||||
sp44 = D_D006B50;
|
||||
break;
|
||||
case 0xAA:
|
||||
case RCID_BILL:
|
||||
sp44 = D_D001FB0;
|
||||
break;
|
||||
case 0xAB:
|
||||
case RCID_BILL_OPEN:
|
||||
sp44 = D_D002ED0;
|
||||
break;
|
||||
case 0x46:
|
||||
case RCID_PEPPER:
|
||||
sp44 = D_D007A70;
|
||||
break;
|
||||
case 0x47:
|
||||
case RCID_PEPPER_OPEN:
|
||||
sp44 = D_D008990;
|
||||
break;
|
||||
case 0x12C:
|
||||
case RCID_ROB64_TITLE: // rob title?
|
||||
sp44 = D_E00E100;
|
||||
break;
|
||||
case 0x12D:
|
||||
case RCID_ROB64_TITLE_OPEN:
|
||||
sp44 = D_E00F020;
|
||||
break;
|
||||
case 0x136:
|
||||
case RCID_PEPPER_TITLE: // pepper title?
|
||||
sp44 = D_E00FF40;
|
||||
break;
|
||||
case 0x137:
|
||||
case RCID_PEPPER_TITLE_OPEN:
|
||||
sp44 = D_E010E60;
|
||||
break;
|
||||
case 0x15E:
|
||||
case RCID_TRAINING:
|
||||
sp44 = D_6000900;
|
||||
break;
|
||||
case 0x15F:
|
||||
case RCID_TRAINING_OPEN:
|
||||
sp44 = D_6001820;
|
||||
break;
|
||||
case 0x3:
|
||||
var_s0 = 1;
|
||||
case RCID_STATIC_FLIP:
|
||||
mirror = true;
|
||||
/* fallthrough */
|
||||
case 0x2:
|
||||
switch (D_80177834) {
|
||||
case RCID_STATIC:
|
||||
switch (gGameState) {
|
||||
default:
|
||||
sp44 = NULL;
|
||||
break;
|
||||
case 7:
|
||||
case GSTATE_PLAY:
|
||||
sp44 = D_1008D60;
|
||||
break;
|
||||
case 2:
|
||||
case 8:
|
||||
case GSTATE_TITLE:
|
||||
case GSTATE_CREDITS:
|
||||
sp44 = D_600C6A0;
|
||||
break;
|
||||
}
|
||||
if (((s32) D_80177D68 == 50) || ((s32) D_80177D68 == 55)) {
|
||||
if (((s32) D_80177D68 == RCID_ANDROSS) || ((s32) D_80177D68 == RCID_ANDROSS_RED)) {
|
||||
D_80178744 = 1;
|
||||
}
|
||||
break;
|
||||
@ -412,7 +404,7 @@ void func_800BAAE8(void) {
|
||||
RCP_SetupDL_76();
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 255);
|
||||
|
||||
if (var_s0 != 0) {
|
||||
if (mirror) {
|
||||
for (i = 0, j = 0; i < 2; i++, j += 880) {
|
||||
TextureRect_16bRGBA_MirX(&gMasterDisp, &sp44[j], 44, 20, D_8017873C,
|
||||
D_80178740 + 20.0f + sp38 + (i * 20.0f * D_80177D38), 1.0f, D_80177D38);
|
||||
@ -437,7 +429,7 @@ void func_800BB388(void) {
|
||||
u16* sp34;
|
||||
f32 sp30;
|
||||
|
||||
if ((D_80177834 != 4) && (D_80177D50 != 0.0f)) {
|
||||
if ((gGameState != GSTATE_MAP) && (D_80177D50 != 0.0f)) {
|
||||
temp_fa0 = (D_80177D50 / 0.26f) * 3.0f;
|
||||
if ((D_80178734 + 16.0f) <= temp_fa0 + D_80178734) {
|
||||
D_800D4A78 = 1.0f;
|
||||
@ -447,13 +439,13 @@ void func_800BB388(void) {
|
||||
}
|
||||
sp30 = temp_fa0 * D_800D4A78;
|
||||
RCP_SetupDL(&gMasterDisp, 0x55);
|
||||
switch (D_80177834) {
|
||||
case 2:
|
||||
case 8:
|
||||
switch (gGameState) {
|
||||
case GSTATE_TITLE:
|
||||
case GSTATE_CREDITS:
|
||||
sp38 = D_601D750;
|
||||
sp34 = D_601DB50;
|
||||
break;
|
||||
case 7:
|
||||
case GSTATE_PLAY:
|
||||
sp38 = D_1013170;
|
||||
sp34 = D_1013570;
|
||||
break;
|
||||
@ -463,7 +455,7 @@ void func_800BB388(void) {
|
||||
} else {
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 60, 60, 255, 170);
|
||||
}
|
||||
TextureRect_8bCI(&gMasterDisp, sp38, sp34, 0x20U, 0x20U, D_80178730, D_80178734 + 16.0f + sp30, D_80178738,
|
||||
TextureRect_8bCI(&gMasterDisp, sp38, sp34, 0x20, 0x20, D_80178730, D_80178734 + 16.0f + sp30, D_80178738,
|
||||
D_80177D50);
|
||||
}
|
||||
if (D_80177D50 == 1.3f) {
|
||||
@ -479,7 +471,7 @@ void func_800BB5D0(void) {
|
||||
s32 temp_ft0;
|
||||
u32 temp_v0;
|
||||
|
||||
if ((D_80177854 == 100) && (D_80177834 != 8)) {
|
||||
if ((D_80177854 == 100) && (gGameState != GSTATE_CREDITS)) {
|
||||
return;
|
||||
}
|
||||
if (D_801782AC > 0) {
|
||||
@ -489,7 +481,7 @@ void func_800BB5D0(void) {
|
||||
D_801782B4--;
|
||||
}
|
||||
switch (D_8017829C) {
|
||||
case 0x64:
|
||||
case 100:
|
||||
D_80178748 = 1;
|
||||
D_801782A4 = 1000;
|
||||
D_8017829C = 1;
|
||||
@ -497,41 +489,41 @@ void func_800BB5D0(void) {
|
||||
D_80177D38 = 0.0f;
|
||||
D_80177D50 = 0.0f;
|
||||
D_8017874C = 0;
|
||||
if (D_801778A8 != 1) {
|
||||
if (gCamCount != 1) {
|
||||
D_8017829C = 0;
|
||||
}
|
||||
break;
|
||||
case 0x1:
|
||||
case 1:
|
||||
D_80177D38 += 0.25f;
|
||||
if (D_80177D38 == 1.0f) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 10;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
break;
|
||||
case 0x2:
|
||||
case 2:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 10;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
break;
|
||||
case 0x3:
|
||||
case 3:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
temp_v0 = Message_GetWidth(D_80178308);
|
||||
if (D_80137E78 == 3) {
|
||||
D_801782AC = temp_v0 + 0x10;
|
||||
D_801782AC = temp_v0 + 16;
|
||||
} else {
|
||||
D_801782AC = 2 * temp_v0 + 0x10;
|
||||
D_801782AC = 2 * temp_v0 + 16;
|
||||
}
|
||||
if ((D_80177834 == 2) || (D_80177834 == 8)) {
|
||||
if ((gGameState == GSTATE_TITLE) || (gGameState == GSTATE_CREDITS)) {
|
||||
D_801782AC = temp_v0 * 2;
|
||||
}
|
||||
}
|
||||
@ -541,11 +533,11 @@ void func_800BB5D0(void) {
|
||||
D_80177D50 = 1.3f;
|
||||
}
|
||||
break;
|
||||
case 0x1F:
|
||||
case 31:
|
||||
D_8017829C++;
|
||||
D_801782AC = 0x50 - D_801782AC;
|
||||
D_801782AC = 80 - D_801782AC;
|
||||
break;
|
||||
case 0x20:
|
||||
case 32:
|
||||
if (func_8001AE78() == 0) {
|
||||
D_80178724++;
|
||||
D_80178308 = D_80178720[D_80178724];
|
||||
@ -553,12 +545,12 @@ void func_800BB5D0(void) {
|
||||
|
||||
D_801782D8 = 0;
|
||||
D_8017874C = 0;
|
||||
D_801782AC = 0x50;
|
||||
D_801782AC = 80;
|
||||
D_801782AC = Message_GetWidth(D_80178308) * 2;
|
||||
D_8017829C = 4;
|
||||
}
|
||||
break;
|
||||
case 0x4:
|
||||
case 4:
|
||||
if ((func_8001AE78() == 0) && (D_801782AC == 0)) {
|
||||
D_801782AC = 10;
|
||||
D_801782A4 = (s32) D_80177D68;
|
||||
@ -570,9 +562,9 @@ void func_800BB5D0(void) {
|
||||
}
|
||||
temp_v0 = func_8001AED4();
|
||||
if (D_801782D8 < 60) {
|
||||
if (D_80178308[D_801782D8 + 1] == 0xF) {
|
||||
if (D_80178308[D_801782D8 + 1] == 15) {
|
||||
if (temp_v0 == 0) {
|
||||
D_8017829C = 0x1F;
|
||||
D_8017829C = 31;
|
||||
}
|
||||
} else {
|
||||
D_801782D8++;
|
||||
@ -592,17 +584,17 @@ void func_800BB5D0(void) {
|
||||
}
|
||||
D_8017874C ^= 1;
|
||||
break;
|
||||
case 0x5:
|
||||
case 5:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 10;
|
||||
}
|
||||
D_801782A4 = (s32) D_80177D68;
|
||||
break;
|
||||
case 0x6:
|
||||
case 6:
|
||||
if (D_801782AC == 0) {
|
||||
if (!D_801782A4) {}
|
||||
if (D_80177834 == 8) {
|
||||
if (gGameState == GSTATE_CREDITS) {
|
||||
func_8001AE58();
|
||||
} else {
|
||||
func_8001ACDC(0);
|
||||
@ -610,7 +602,7 @@ void func_800BB5D0(void) {
|
||||
D_8017829C++;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
D_80177D50 -= 0.26f;
|
||||
@ -618,19 +610,19 @@ void func_800BB5D0(void) {
|
||||
D_80177D50 = 0.0f;
|
||||
}
|
||||
break;
|
||||
case 0x7:
|
||||
case 7:
|
||||
D_80177D38 -= 0.25f;
|
||||
if (D_80177D38 == 0) {
|
||||
D_80178300 = 0;
|
||||
D_800D4A70 = 0;
|
||||
sCurrentMsgPri = 0;
|
||||
D_8017829C = 0;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
break;
|
||||
case 0x8:
|
||||
case 8:
|
||||
D_801782A4 = (s32) D_80177D68;
|
||||
D_80177D50 = 1.3f;
|
||||
D_80177D38 = 1.0f;
|
||||
@ -642,21 +634,21 @@ void func_800BB5D0(void) {
|
||||
func_800BAAE8();
|
||||
func_800BB388();
|
||||
temp_ft0 = (s32) D_80177D68;
|
||||
if ((temp_ft0 == 0xA) || (temp_ft0 == 0x14) || (temp_ft0 == 0x1E)) {
|
||||
if (temp_ft0 == 0xA) {
|
||||
if ((temp_ft0 == RCID_FALCO) || (temp_ft0 == RCID_SLIPPY) || (temp_ft0 == RCID_PEPPY)) {
|
||||
if (temp_ft0 == RCID_FALCO) {
|
||||
var_v1 = 1;
|
||||
}
|
||||
if (temp_ft0 == 0x14) {
|
||||
if (temp_ft0 == RCID_SLIPPY) {
|
||||
var_v1 = 2;
|
||||
}
|
||||
if (temp_ft0 == 0x1E) {
|
||||
if (temp_ft0 == RCID_PEPPY) {
|
||||
var_v1 = 3;
|
||||
}
|
||||
if ((D_801778B0[var_v1] <= 0) && (D_80177DB0 & 4) && (D_801778B0[var_v1] != -2) && (D_801782A4 != 2) &&
|
||||
if ((D_801778B0[var_v1] <= 0) && (gFrameCount & 4) && (D_801778B0[var_v1] != -2) && (D_801782A4 != 2) &&
|
||||
(D_801782A4 != 3) && (D_801782A4 != 1000)) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x4C);
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 0, 255);
|
||||
Graphics_DisplaySmallText(0x1F, 0xA7, 1.0f, 1.0f, "DOWN");
|
||||
Graphics_DisplaySmallText(31, 167, 1.0f, 1.0f, "DOWN");
|
||||
func_80084B94(1);
|
||||
}
|
||||
if ((D_801782A4 != 2) && (D_801782A4 != 3) && (D_801782A4 != 1000)) {
|
||||
@ -664,37 +656,38 @@ void func_800BB5D0(void) {
|
||||
}
|
||||
}
|
||||
temp_ft0 = (s32) D_80177D68;
|
||||
if ((temp_ft0 == 0xC8) || (temp_ft0 == 0xD2) || (temp_ft0 == 0xDC) || (temp_ft0 == 0xE6) ||
|
||||
(temp_ft0 == 0xF0) || (temp_ft0 == 0xFA) || (temp_ft0 == 0x104) || (temp_ft0 == 0x10E)) {
|
||||
if ((temp_ft0 == RCID_WOLF) || (temp_ft0 == RCID_PIGMA) || (temp_ft0 == RCID_LEON) ||
|
||||
(temp_ft0 == RCID_ANDREW) || (temp_ft0 == RCID_WOLF_2) || (temp_ft0 == RCID_PIGMA_2) ||
|
||||
(temp_ft0 == RCID_LEON_2) || (temp_ft0 == RCID_ANDREW_2)) {
|
||||
switch (temp_ft0) {
|
||||
case 0xC8:
|
||||
case 0xF0:
|
||||
case RCID_WOLF:
|
||||
case RCID_WOLF_2:
|
||||
var_v1 = 4;
|
||||
break;
|
||||
case 0xDC:
|
||||
case 0x104:
|
||||
case RCID_LEON:
|
||||
case RCID_LEON_2:
|
||||
var_v1 = 5;
|
||||
break;
|
||||
case 0xD2:
|
||||
case 0xFA:
|
||||
case RCID_PIGMA:
|
||||
case RCID_PIGMA_2:
|
||||
var_v1 = 6;
|
||||
break;
|
||||
case 0xE6:
|
||||
case 0x10E:
|
||||
case RCID_ANDREW:
|
||||
case RCID_ANDREW_2:
|
||||
var_v1 = 7;
|
||||
break;
|
||||
default:
|
||||
var_v1 = 0;
|
||||
break;
|
||||
}
|
||||
if ((D_80163FE0[var_v1].obj.status != 2) && (D_80177DB0 & 4) && (D_80178280[0].unk_1C8 == 3) &&
|
||||
if ((gObjects2F4[var_v1].obj.status != 2) && (gFrameCount & 4) && (gPlayer[0].unk_1C8 == 3) &&
|
||||
(D_801782A4 != 2) && (D_801782A4 != 3) && (D_801782A4 != 1000)) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x4C);
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 0, 255);
|
||||
Graphics_DisplaySmallText(0x1F, 0xA7, 1.0f, 1.0f, "DOWN");
|
||||
Graphics_DisplaySmallText(31, 167, 1.0f, 1.0f, "DOWN");
|
||||
}
|
||||
if ((D_801782A4 != 2) && (D_801782A4 != 3) && (D_801782A4 != 1000)) {
|
||||
func_80086110(22.0f, 165.0f, D_80163FE0[var_v1].unk_0CE * 2.55f);
|
||||
func_80086110(22.0f, 165.0f, gObjects2F4[var_v1].unk_0CE * 2.55f);
|
||||
}
|
||||
}
|
||||
if ((D_801782A4 != 2) && (D_801782A4 != 3) && (D_801782A4 != 1000)) {
|
||||
@ -720,40 +713,40 @@ void func_800BC040(void) {
|
||||
D_801782B4--;
|
||||
}
|
||||
switch (D_8017829C) {
|
||||
case 0x64:
|
||||
D_801782A4 = 0x3E8;
|
||||
case 100:
|
||||
D_801782A4 = 1000;
|
||||
D_8017829C = 1;
|
||||
D_80177D38 = 0.0f;
|
||||
D_80177D50 = 0.0f;
|
||||
D_801782D8 = Message_GetWidth(D_80178308);
|
||||
if (D_801778A8 != 1) {
|
||||
if (gCamCount != 1) {
|
||||
D_8017829C = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x1:
|
||||
case 1:
|
||||
D_80177D38 += 0.02f;
|
||||
if (D_80177D38 == 0.04f) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 5;
|
||||
}
|
||||
break;
|
||||
case 0x2:
|
||||
case 2:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 5;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
break;
|
||||
case 0x3:
|
||||
case 3:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 5;
|
||||
if (D_80177834 == 2) {
|
||||
D_801782AC = 0x1E;
|
||||
if (gGameState == GSTATE_TITLE) {
|
||||
D_801782AC = 30;
|
||||
}
|
||||
}
|
||||
D_801782A4 = (s32) D_80177D68;
|
||||
@ -762,26 +755,26 @@ void func_800BC040(void) {
|
||||
D_80177D50 = 0.07f;
|
||||
}
|
||||
break;
|
||||
case 0x4:
|
||||
case 4:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 10;
|
||||
}
|
||||
break;
|
||||
case 0x5:
|
||||
case 5:
|
||||
if (D_801782AC == 0) {
|
||||
D_8017829C++;
|
||||
D_801782AC = 5;
|
||||
}
|
||||
D_801782A4 = (s32) D_80177D68;
|
||||
break;
|
||||
case 0x6:
|
||||
case 6:
|
||||
if (D_801782AC == 0) {
|
||||
func_8001ACDC(0);
|
||||
D_8017829C++;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
D_80177D50 -= 0.015f;
|
||||
@ -789,14 +782,14 @@ void func_800BC040(void) {
|
||||
D_80177D50 = 0.0f;
|
||||
}
|
||||
break;
|
||||
case 0x7:
|
||||
case 7:
|
||||
D_80177D38 -= 0.02f;
|
||||
if (D_80177D38 == 0) {
|
||||
D_8017829C = 0;
|
||||
D_801782AC = 5;
|
||||
}
|
||||
D_801782A4 = 2;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_801782A4 = 3;
|
||||
}
|
||||
break;
|
||||
@ -806,7 +799,8 @@ void func_800BC040(void) {
|
||||
if ((D_8017829C > 0) && (D_8017829C != 100)) {
|
||||
func_800BAAE8();
|
||||
func_800BB388();
|
||||
if (((s32) D_80177D68 == 10) || ((s32) D_80177D68 == 20) || ((s32) D_80177D68 == 30)) {
|
||||
if (((s32) D_80177D68 == RCID_FALCO) || ((s32) D_80177D68 == RCID_SLIPPY) ||
|
||||
((s32) D_80177D68 == RCID_PEPPY)) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
RCP_SetupDL_36();
|
||||
Matrix_Translate(gGfxMatrix, -150.0f, -115.0f, -443.0f, 1);
|
||||
|
@ -86,7 +86,7 @@ void Lib_QuickSort(u8* first, u32 curLen, u32 size, CompareFunc cFunc) {
|
||||
void Lib_Perspective(Gfx** dList) {
|
||||
u16 norm;
|
||||
|
||||
guPerspective(gGfxMtx, &norm, D_80161A3C, 1.3333334f, D_80161A40, D_80161A44, 1.0f);
|
||||
guPerspective(gGfxMtx, &norm, D_80161A3C, (f32) SCREEN_WIDTH / SCREEN_HEIGHT, D_80161A40, D_80161A44, 1.0f);
|
||||
gSPPerspNormalize((*dList)++, norm);
|
||||
gSPMatrix((*dList)++, gGfxMtx++, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_PROJECTION);
|
||||
guLookAt(gGfxMtx, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -12800.0f, 0.0f, 1.0f, 0.0f);
|
||||
|
@ -308,7 +308,7 @@ void Graphics_ThreadEntry(void* arg0) {
|
||||
u8 var_v1;
|
||||
u8 var_v2;
|
||||
|
||||
func_800A18B0();
|
||||
Game_Initialize();
|
||||
osSendMesg(&gSerialThreadMsgQueue, (OSMesg) SI_READ_CONTROLLER, OS_MESG_PRI_NORMAL);
|
||||
Graphics_InitializeTask(gFrameCounter);
|
||||
{
|
||||
|
@ -19,6 +19,7 @@ Matrix sGfxMatrixStack[0x20];
|
||||
Matrix* gCalcMatrix;
|
||||
Matrix sCalcMatrixStack[0x20];
|
||||
|
||||
// Copies src Matrix into dst
|
||||
void Matrix_Copy(Matrix* dst, Matrix* src) {
|
||||
dst->m[0][0] = src->m[0][0];
|
||||
dst->m[0][1] = src->m[0][1];
|
||||
@ -36,29 +37,15 @@ void Matrix_Copy(Matrix* dst, Matrix* src) {
|
||||
dst->m[3][1] = src->m[3][1];
|
||||
dst->m[3][2] = src->m[3][2];
|
||||
dst->m[3][3] = src->m[3][3];
|
||||
// dst->xx = src->xx;
|
||||
// dst->yx = src->yx;
|
||||
// dst->zx = src->zx;
|
||||
// dst->wx = src->wx;
|
||||
// dst->xy = src->xy;
|
||||
// dst->yy = src->yy;
|
||||
// dst->zy = src->zy;
|
||||
// dst->wy = src->wy;
|
||||
// dst->xz = src->xz;
|
||||
// dst->yz = src->yz;
|
||||
// dst->zz = src->zz;
|
||||
// dst->wz = src->wz;
|
||||
// dst->xw = src->xw;
|
||||
// dst->yw = src->yw;
|
||||
// dst->zw = src->zw;
|
||||
// dst->ww = src->ww;
|
||||
}
|
||||
|
||||
// Makes a copy of the stack's current matrix and puts it on the top of the stack
|
||||
void Matrix_Push(Matrix** mtxStack) {
|
||||
Matrix_Copy(*mtxStack + 1, *mtxStack);
|
||||
*mtxStack += 1;
|
||||
}
|
||||
|
||||
// Removes the top matrix of the stack
|
||||
void Matrix_Pop(Matrix** mtxStack) {
|
||||
*mtxStack -= 1;
|
||||
}
|
||||
@ -385,75 +372,76 @@ void Matrix_RotateAxis(Matrix* mtx, f32 angle, f32 axisX, f32 axisY, f32 axisZ,
|
||||
}
|
||||
}
|
||||
|
||||
// Converts the current Gfx matrix to a Mtx
|
||||
void Matrix_ToMtx(Mtx* dest) {
|
||||
s32 temp;
|
||||
u16* m1 = (u16*) &dest->m[0][0];
|
||||
u16* m2 = (u16*) &dest->m[2][0];
|
||||
u16* iPart = (u16*) &dest->m[0][0];
|
||||
u16* fpart = (u16*) &dest->m[2][0];
|
||||
Matrix* src = gGfxMatrix;
|
||||
|
||||
temp = src->xx * 0x10000;
|
||||
m1[0] = (temp >> 0x10);
|
||||
m2[0] = temp & 0xFFFF;
|
||||
temp = src->m[0][0] * 0x10000;
|
||||
iPart[0] = (temp >> 0x10);
|
||||
fpart[0] = temp & 0xFFFF;
|
||||
|
||||
temp = src->yx * 0x10000;
|
||||
m1[1] = (temp >> 0x10);
|
||||
m2[1] = temp & 0xFFFF;
|
||||
temp = src->m[0][1] * 0x10000;
|
||||
iPart[1] = (temp >> 0x10);
|
||||
fpart[1] = temp & 0xFFFF;
|
||||
|
||||
temp = src->zx * 0x10000;
|
||||
m1[2] = (temp >> 0x10);
|
||||
m2[2] = temp & 0xFFFF;
|
||||
temp = src->m[0][2] * 0x10000;
|
||||
iPart[2] = (temp >> 0x10);
|
||||
fpart[2] = temp & 0xFFFF;
|
||||
|
||||
temp = src->wx * 0x10000;
|
||||
m1[3] = (temp >> 0x10);
|
||||
m2[3] = temp & 0xFFFF;
|
||||
temp = src->m[0][3] * 0x10000;
|
||||
iPart[3] = (temp >> 0x10);
|
||||
fpart[3] = temp & 0xFFFF;
|
||||
|
||||
temp = src->xy * 0x10000;
|
||||
m1[4] = (temp >> 0x10);
|
||||
m2[4] = temp & 0xFFFF;
|
||||
temp = src->m[1][0] * 0x10000;
|
||||
iPart[4] = (temp >> 0x10);
|
||||
fpart[4] = temp & 0xFFFF;
|
||||
|
||||
temp = src->yy * 0x10000;
|
||||
m1[5] = (temp >> 0x10);
|
||||
m2[5] = temp & 0xFFFF;
|
||||
temp = src->m[1][1] * 0x10000;
|
||||
iPart[5] = (temp >> 0x10);
|
||||
fpart[5] = temp & 0xFFFF;
|
||||
|
||||
temp = src->zy * 0x10000;
|
||||
m1[6] = (temp >> 0x10);
|
||||
m2[6] = temp & 0xFFFF;
|
||||
temp = src->m[1][2] * 0x10000;
|
||||
iPart[6] = (temp >> 0x10);
|
||||
fpart[6] = temp & 0xFFFF;
|
||||
|
||||
temp = src->wy * 0x10000;
|
||||
m1[7] = (temp >> 0x10);
|
||||
m2[7] = temp & 0xFFFF;
|
||||
temp = src->m[1][3] * 0x10000;
|
||||
iPart[7] = (temp >> 0x10);
|
||||
fpart[7] = temp & 0xFFFF;
|
||||
|
||||
temp = src->xz * 0x10000;
|
||||
m1[8] = (temp >> 0x10);
|
||||
m2[8] = temp & 0xFFFF;
|
||||
temp = src->m[2][0] * 0x10000;
|
||||
iPart[8] = (temp >> 0x10);
|
||||
fpart[8] = temp & 0xFFFF;
|
||||
|
||||
temp = src->yz * 0x10000;
|
||||
m1[9] = (temp >> 0x10);
|
||||
m2[9] = temp & 0xFFFF;
|
||||
temp = src->m[2][1] * 0x10000;
|
||||
iPart[9] = (temp >> 0x10);
|
||||
fpart[9] = temp & 0xFFFF;
|
||||
|
||||
temp = src->zz * 0x10000;
|
||||
m1[10] = (temp >> 0x10);
|
||||
m2[10] = temp & 0xFFFF;
|
||||
temp = src->m[2][2] * 0x10000;
|
||||
iPart[10] = (temp >> 0x10);
|
||||
fpart[10] = temp & 0xFFFF;
|
||||
|
||||
temp = src->wz * 0x10000;
|
||||
m1[11] = (temp >> 0x10);
|
||||
m2[11] = temp & 0xFFFF;
|
||||
temp = src->m[2][3] * 0x10000;
|
||||
iPart[11] = (temp >> 0x10);
|
||||
fpart[11] = temp & 0xFFFF;
|
||||
|
||||
temp = src->xw * 0x10000;
|
||||
m1[12] = (temp >> 0x10);
|
||||
m2[12] = temp & 0xFFFF;
|
||||
temp = src->m[3][0] * 0x10000;
|
||||
iPart[12] = (temp >> 0x10);
|
||||
fpart[12] = temp & 0xFFFF;
|
||||
|
||||
temp = src->yw * 0x10000;
|
||||
m1[13] = (temp >> 0x10);
|
||||
m2[13] = temp & 0xFFFF;
|
||||
temp = src->m[3][1] * 0x10000;
|
||||
iPart[13] = (temp >> 0x10);
|
||||
fpart[13] = temp & 0xFFFF;
|
||||
|
||||
temp = src->zw * 0x10000;
|
||||
m1[14] = (temp >> 0x10);
|
||||
m2[14] = temp & 0xFFFF;
|
||||
temp = src->m[3][2] * 0x10000;
|
||||
iPart[14] = (temp >> 0x10);
|
||||
fpart[14] = temp & 0xFFFF;
|
||||
|
||||
temp = src->ww * 0x10000;
|
||||
m1[15] = (temp >> 0x10);
|
||||
m2[15] = temp & 0xFFFF;
|
||||
temp = src->m[3][3] * 0x10000;
|
||||
iPart[15] = (temp >> 0x10);
|
||||
fpart[15] = temp & 0xFFFF;
|
||||
}
|
||||
|
||||
void Matrix_FromMtx(Mtx* src, Matrix* dest) {
|
||||
@ -478,18 +466,23 @@ void Matrix_FromMtx(Mtx* src, Matrix* dest) {
|
||||
dest->ww = ((m1[15] << 0x10) | m2[15]) * (1 / 65536.0f);
|
||||
}
|
||||
|
||||
// Applies the transform matrix mtx to the vector src, putting the result in dest
|
||||
void Matrix_MultVec3f(Matrix* mtx, Vec3f* src, Vec3f* dest) {
|
||||
dest->x = (mtx->m[0][0] * src->x) + (mtx->m[1][0] * src->y) + (mtx->m[2][0] * src->z) + mtx->m[3][0];
|
||||
dest->y = (mtx->m[0][1] * src->x) + (mtx->m[1][1] * src->y) + (mtx->m[2][1] * src->z) + mtx->m[3][1];
|
||||
dest->z = (mtx->m[0][2] * src->x) + (mtx->m[1][2] * src->y) + (mtx->m[2][2] * src->z) + mtx->m[3][2];
|
||||
}
|
||||
|
||||
// Applies the linear part of the transformation matrix mtx to the vector src, ignoring any translation that mtx might
|
||||
// have. Puts the result in dest.
|
||||
void Matrix_MultVec3fNoTranslate(Matrix* mtx, Vec3f* src, Vec3f* dest) {
|
||||
dest->x = (mtx->m[0][0] * src->x) + (mtx->m[1][0] * src->y) + (mtx->m[2][0] * src->z);
|
||||
dest->y = (mtx->m[0][1] * src->x) + (mtx->m[1][1] * src->y) + (mtx->m[2][1] * src->z);
|
||||
dest->z = (mtx->m[0][2] * src->x) + (mtx->m[1][2] * src->y) + (mtx->m[2][2] * src->z);
|
||||
}
|
||||
|
||||
// Expresses the rotational part of the transform mtx as Tait-Bryan angles, in the yaw-pitch-roll (intrinsic YXZ)
|
||||
// convention used in worldspace calculations
|
||||
void Matrix_GetYRPAngles(Matrix* mtx, Vec3f* rot) {
|
||||
Matrix invYP;
|
||||
Vec3f origin = { 0.0f, 0.0f, 0.0f };
|
||||
@ -518,6 +511,8 @@ void Matrix_GetYRPAngles(Matrix* mtx, Vec3f* rot) {
|
||||
rot->z = Math_Atan2F(xHat.y, xHat.x) * M_RTOD;
|
||||
}
|
||||
|
||||
// Expresses the rotational part of the transform mtx as Tait-Bryan angles, in the extrinsic XYZ convention used in
|
||||
// modelspace calculations
|
||||
void Matrix_GetXYZAngles(Matrix* mtx, Vec3f* rot) {
|
||||
Matrix invYZ;
|
||||
Vec3f origin = { 0.0f, 0.0f, 0.0f };
|
||||
@ -554,6 +549,7 @@ void Matrix_LookAt(Matrix* mtx, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt,
|
||||
Matrix_Mult(mtx, &lookAt, mode);
|
||||
}
|
||||
|
||||
// Converts the current Gfx matrix to a Mtx and sets it to the display list
|
||||
void Matrix_SetGfxMtx(Gfx** gfx) {
|
||||
Matrix_ToMtx(gGfxMtx);
|
||||
gSPMatrix((*gfx)++, gGfxMtx++, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
|
@ -12,7 +12,7 @@ void func_80187520(s32, void*);
|
||||
void func_8002E3E0(Object_2F4* arg0) {
|
||||
s32 var_a3 = 0;
|
||||
|
||||
if (D_80178234 == 0x13) {
|
||||
if (gCurrentLevel == LEVEL_VENOM_SW) {
|
||||
if (D_8015F940 < 0xF00) {
|
||||
var_a3 = 50;
|
||||
} else if (D_8015F940 < 0x1680) {
|
||||
@ -36,12 +36,12 @@ void func_8002E3E0(Object_2F4* arg0) {
|
||||
if (var_a3 != 0) {
|
||||
func_80077240(arg0->obj.pos.x, arg0->obj.pos.y, arg0->obj.pos.z, var_a3);
|
||||
}
|
||||
D_80161A98 += var_a3;
|
||||
gHitCount += var_a3;
|
||||
D_80177850 = 0xF;
|
||||
}
|
||||
|
||||
s32 func_8002E4F8(u16* arg0, s32 arg1) {
|
||||
if ((D_8017829C == 0) && (D_80178280[0].unk_1C8 != 0)) {
|
||||
if ((D_8017829C == 0) && (gPlayer[0].unk_1C8 != 0)) {
|
||||
func_800BA808(arg0, arg1);
|
||||
return true;
|
||||
} else {
|
||||
@ -60,35 +60,35 @@ void func_8002E548(void) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_8002E5E0(Object* arg0) {
|
||||
void func_8002E5E0(Object_408* arg0) {
|
||||
func_80187520(0x5B, arg0);
|
||||
}
|
||||
|
||||
void func_8002E604(Object* arg0) {
|
||||
void func_8002E604(Object_408* arg0) {
|
||||
func_80187520(0x5C, arg0);
|
||||
}
|
||||
|
||||
void func_8002E628(Object* arg0) {
|
||||
void func_8002E628(Object_408* arg0) {
|
||||
func_80187520(0x5D, arg0);
|
||||
}
|
||||
|
||||
void func_8002E64C(Object* arg0) {
|
||||
void func_8002E64C(Object_408* arg0) {
|
||||
func_80187520(0x5E, arg0);
|
||||
}
|
||||
|
||||
void func_8002E670(Object* arg0) {
|
||||
void func_8002E670(Object_2F4* arg0) {
|
||||
func_80187520(0x5F, arg0);
|
||||
}
|
||||
|
||||
void func_8002E694(Object* arg0) {
|
||||
void func_8002E694(Object_2F4* arg0) {
|
||||
func_80187520(0x60, arg0);
|
||||
}
|
||||
|
||||
void func_8002E6B8(Object* arg0) {
|
||||
void func_8002E6B8(Object_2F4* arg0) {
|
||||
func_80187520(0x61, arg0);
|
||||
}
|
||||
|
||||
void func_8002E6DC(Object* arg0) {
|
||||
void func_8002E6DC(Object_2F4* arg0) {
|
||||
func_80187520(0x62, arg0);
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ void func_8002E6DC(Object* arg0) {
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_2EFE0/func_8002ED60.s")
|
||||
|
||||
void func_8002EE34(void) {
|
||||
D_8015F904 = D_8017829C = D_80163FE0[1].unk_054 = D_80163FE0[2].unk_054 = D_80163FE0[3].unk_054 = 0;
|
||||
D_8015F904 = D_8017829C = gObjects2F4[1].unk_054 = gObjects2F4[2].unk_054 = gObjects2F4[3].unk_054 = 0;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_2EFE0/func_8002EE64.s")
|
||||
@ -122,17 +122,14 @@ void func_8002F64C(void) {
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_2EFE0/func_8002FC00.s")
|
||||
|
||||
s32 func_8002FE74(void) {
|
||||
switch (D_80178234) {
|
||||
case 14:
|
||||
switch (gCurrentLevel) {
|
||||
case LEVEL_FORTUNA:
|
||||
return D_8015F928 == (D_800C9B4C + 0x960);
|
||||
case 17:
|
||||
return D_8016F110[2].unk_0D0 == 4;
|
||||
case 16:
|
||||
return D_8016F110[1].unk_0A6 == 2;
|
||||
default:
|
||||
return 0;
|
||||
case LEVEL_BOLSE:
|
||||
return gObjects408[2].unk_0D0 == 4;
|
||||
case LEVEL_KATINA:
|
||||
return gObjects408[1].unk_0A6 == 2;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1,25 +0,0 @@
|
||||
#include "common.h"
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042EC0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FAC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FB8.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FC4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FD0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FDC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FE8.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80042FF4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_800430DC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_80043188.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/func_8004319C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_43AC0/D_800D55D0.s")
|
@ -1,125 +0,0 @@
|
||||
#include "common.h"
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006A7B0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006A800.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006A900.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006A96C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006A978.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006A984.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006AA3C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006AA98.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006ABA4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006AC08.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006AD18.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006B094.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006B0A0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006B46C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006B74C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006B95C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006BA64.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006BB1C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006BB78.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006BF7C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006C008.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006D0F4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006D350.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006D36C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EA50.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EAC4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EB64.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EBC0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EC60.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006ECBC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EEFC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006EFA0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006F044.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006F0D8.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006F140.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006F1EC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006F254.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006F40C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006FE28.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8006FEEC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_800700A4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_800701E0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80070BA8.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80070CEC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80070D44.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80071DC0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_800720E8.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_800722EC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8007240C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80072474.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80072594.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80074BFC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80074C44.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80074E3C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80074F04.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80074F90.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80074FF0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_800763A4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_8007717C.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_800771CC.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/func_80077218.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_6B3B0/D_800D6A50.s")
|
@ -3,24 +3,24 @@
|
||||
void func_80077240(f32 posX, f32 posY, f32 posZ, s32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80176438); i++) {
|
||||
if (D_80176438[i].unk_00 == 0) {
|
||||
D_80176438[i].unk_00 = arg3;
|
||||
D_80176438[i].pos.x = posX;
|
||||
D_80176438[i].pos.y = posY;
|
||||
D_80176438[i].pos.z = posZ;
|
||||
D_80176438[i].unk_10 = 0.0f;
|
||||
D_80176438[i].unk_18 = 65;
|
||||
for (i = 0; i < ARRAY_COUNT(gUnkEntities1C); i++) {
|
||||
if (gUnkEntities1C[i].unk_00 == 0) {
|
||||
gUnkEntities1C[i].unk_00 = arg3;
|
||||
gUnkEntities1C[i].pos.x = posX;
|
||||
gUnkEntities1C[i].pos.y = posY;
|
||||
gUnkEntities1C[i].pos.z = posZ;
|
||||
gUnkEntities1C[i].unk_10 = 0.0f;
|
||||
gUnkEntities1C[i].unk_18 = 65;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007729C(void) {
|
||||
UnkStruct_D_80176438* var_s0;
|
||||
UnkEntity1C* var_s0;
|
||||
s32 i;
|
||||
|
||||
for (i = 0, var_s0 = D_80176438; i < ARRAY_COUNT(D_80176438); i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gUnkEntities1C; i < ARRAY_COUNT(gUnkEntities1C); i++, var_s0++) {
|
||||
if (var_s0->unk_00 != 0) {
|
||||
if (var_s0->unk_18 != 0) {
|
||||
var_s0->unk_18 -= 1;
|
||||
@ -30,9 +30,9 @@ void func_8007729C(void) {
|
||||
}
|
||||
if (D_80177880 == 0) {
|
||||
var_s0->pos.z -= D_80177D08;
|
||||
} else if (D_80178280->unk_1C8 == 3) {
|
||||
var_s0->pos.x += D_80178280->unk_0C0.x;
|
||||
var_s0->pos.z += D_80178280->unk_0C0.z;
|
||||
} else if (gPlayer[0].unk_1C8 == 3) {
|
||||
var_s0->pos.x += gPlayer[0].unk_0C0.x;
|
||||
var_s0->pos.z += gPlayer[0].unk_0C0.z;
|
||||
}
|
||||
if (var_s0->unk_18 < 45) {
|
||||
Math_SmoothStepToF(&var_s0->unk_10, 300.0f, 0.1f, 20.0f, 0.0f);
|
||||
@ -41,7 +41,7 @@ void func_8007729C(void) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_80077404(UnkStruct_D_80176438* arg0) {
|
||||
void func_80077404(UnkEntity1C* arg0) {
|
||||
s32 var_a2;
|
||||
Vec3f sp60;
|
||||
Vec3f sp54;
|
||||
@ -54,8 +54,8 @@ void func_80077404(UnkStruct_D_80176438* arg0) {
|
||||
if ((fabsf(sp54.x) < 20000.0f) && (fabsf(sp54.y) < 20000.0f)) {
|
||||
if ((sp54.z < 0.0f) && (sp54.z > -20000.0f)) {
|
||||
sp50 = sqrtf(VEC3F_SQ(sp54)) * 0.0015f * 0.2f;
|
||||
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateX(gGfxMatrix, D_80178280[D_801778A0].unk_05C, 1);
|
||||
Matrix_RotateY(gGfxMatrix, -gPlayer[D_801778A0].unk_058, 1);
|
||||
Matrix_RotateX(gGfxMatrix, gPlayer[D_801778A0].unk_05C, 1);
|
||||
Matrix_Scale(gGfxMatrix, sp50, sp50, 1.0f, 1);
|
||||
Matrix_Translate(gGfxMatrix, 0.0f, arg0->unk_10, 0.0f, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
@ -94,12 +94,12 @@ void func_80077404(UnkStruct_D_80176438* arg0) {
|
||||
}
|
||||
|
||||
void func_80077790(void) {
|
||||
UnkStruct_D_80176438* var_s0;
|
||||
UnkEntity1C* var_s0;
|
||||
s32 i;
|
||||
|
||||
RCP_SetupDL(&gMasterDisp, 0x3E);
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
|
||||
for (i = 0, var_s0 = D_80176438; i < ARRAY_COUNT(D_80176438); i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gUnkEntities1C; i < ARRAY_COUNT(gUnkEntities1C); i++, var_s0++) {
|
||||
if (var_s0->unk_00 != 0) {
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
func_80077404(var_s0);
|
||||
@ -112,31 +112,31 @@ Object_8C* func_8007783C(s32 objId) {
|
||||
Object_8C* var_a2;
|
||||
s32 i;
|
||||
|
||||
for (i = 0, var_a2 = D_80170130; i < ARRAY_COUNT(D_80170130); i++, var_a2++) {
|
||||
for (i = 0, var_a2 = gObjects8C; i < ARRAY_COUNT(gObjects8C); i++, var_a2++) {
|
||||
if (var_a2->obj.status == 0) {
|
||||
func_80061474(var_a2);
|
||||
Object_8C_Initialize(var_a2);
|
||||
var_a2->obj.status = 2;
|
||||
var_a2->obj.id = objId;
|
||||
func_800612B8(&var_a2->unk_1C, var_a2->obj.id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (i == ARRAY_COUNT(D_80170130)) {
|
||||
if (i == ARRAY_COUNT(gObjects8C)) {
|
||||
var_a2 = NULL;
|
||||
}
|
||||
return var_a2;
|
||||
}
|
||||
|
||||
void func_800778C4(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, f32 arg5, f32 arg6, f32 arg7) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x153;
|
||||
arg0->obj.id = OBJECT_339;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
arg0->unk_54 = arg4;
|
||||
arg0->unk_58 = arg5;
|
||||
arg0->unk_5C = arg6;
|
||||
arg0->unk_54.x = arg4;
|
||||
arg0->unk_54.y = arg5;
|
||||
arg0->unk_54.z = arg6;
|
||||
arg0->unk_70 = arg7;
|
||||
arg0->unk_4C = 0;
|
||||
arg0->unk_6C = 0.5f;
|
||||
@ -148,9 +148,9 @@ void func_800778C4(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, f32
|
||||
void func_8007797C(f32 posX, f32 posY, f32 posZ, f32 arg3, f32 arg4, f32 arg5, f32 arg6) {
|
||||
s32 i;
|
||||
|
||||
for (i = ARRAY_COUNT(D_80170130) - 1; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_800778C4(&D_80170130[i], posX, posY, posZ, arg3, arg4, arg5, arg6);
|
||||
for (i = ARRAY_COUNT(gObjects8C) - 1; i >= 0; i--) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_800778C4(&gObjects8C[i], posX, posY, posZ, arg3, arg4, arg5, arg6);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -178,7 +178,7 @@ void func_80077B78(void* arg0) {
|
||||
|
||||
void func_80077B84(Object_8C* arg0) {
|
||||
func_8005980C(arg0->unk_70);
|
||||
if ((arg0->unk_6C == 71.0f) || ((D_80178280->unk_1C8 == 7) && (D_80178234 == 0))) {
|
||||
if ((arg0->unk_6C == 71.0f) || ((gPlayer[0].unk_1C8 == 7) && (gCurrentLevel == LEVEL_CORNERIA))) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x26);
|
||||
} else {
|
||||
RCP_SetupDL(&gMasterDisp, 0x43);
|
||||
@ -205,10 +205,10 @@ void func_80077B84(Object_8C* arg0) {
|
||||
gDPSetEnvColor(gMasterDisp++, 255, 32, 32, arg0->unk_44);
|
||||
break;
|
||||
case 6:
|
||||
if (D_80178234 == 0x11) {
|
||||
if (gCurrentLevel == LEVEL_BOLSE) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x26);
|
||||
}
|
||||
switch ((arg0->unk_40 + D_80177DB0) & 3) {
|
||||
switch ((arg0->unk_40 + gFrameCount) & 3) {
|
||||
case 0:
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 0, 0, arg0->unk_44);
|
||||
break;
|
||||
@ -259,12 +259,12 @@ void func_800780F8(Object_8C* arg0) {
|
||||
s32 i;
|
||||
|
||||
if (arg0->unk_4A >= 0xB) {
|
||||
if (!((arg0->unk_40 + D_80177DB0) & 1)) {
|
||||
if (!((arg0->unk_40 + gFrameCount) & 1)) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 128, 128, 32);
|
||||
} else {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 128, 128, 128);
|
||||
}
|
||||
} else if (!((arg0->unk_40 + D_80177DB0) & 1)) {
|
||||
} else if (!((arg0->unk_40 + gFrameCount) & 1)) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
|
||||
} else {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 96, 96, 255, 255);
|
||||
@ -322,7 +322,7 @@ void func_80078604(Object_8C* arg0) {
|
||||
}
|
||||
|
||||
void func_8007868C(Object_8C* arg0) {
|
||||
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_60(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
|
||||
Matrix_Scale(gGfxMatrix, arg0->unk_70, arg0->unk_70, arg0->unk_70, 1);
|
||||
if (arg0->unk_44 >= 2) {
|
||||
@ -334,7 +334,7 @@ void func_8007868C(Object_8C* arg0) {
|
||||
}
|
||||
|
||||
void func_8007879C(Object_8C* arg0) {
|
||||
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
|
||||
RCP_SetupDL_60(gFogRed, gFogGreen, gFogBlue, gFogAlpha, gFogNear, gFogFar);
|
||||
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
|
||||
Matrix_Scale(gGfxMatrix, arg0->unk_70 * 0.6f, 1.0f, arg0->unk_70 * 3.5f, 1);
|
||||
Matrix_RotateX(gGfxMatrix, (M_PI / 2.0f), 1);
|
||||
@ -347,13 +347,13 @@ void func_800788B0(Object_8C* arg0) {
|
||||
s32 temp_ft3;
|
||||
s32* tmp;
|
||||
|
||||
switch (D_80178234) {
|
||||
case 1:
|
||||
switch (gCurrentLevel) {
|
||||
case LEVEL_METEO:
|
||||
func_8005980C(arg0->unk_70);
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 128, 128, 128, 255);
|
||||
gSPDisplayList(gMasterDisp++, D_601FF80);
|
||||
break;
|
||||
case 13:
|
||||
case LEVEL_AQUAS:
|
||||
RCP_SetupDL(&gMasterDisp, 0x43);
|
||||
temp_ft3 = Math_ModF(arg0->unk_40, 4.0f);
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, (s32) arg0->unk_6C);
|
||||
@ -377,11 +377,11 @@ void func_80078AE0(void* arg0) {
|
||||
|
||||
void func_80078AEC(Object_8C* arg0) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 180);
|
||||
func_8005980C(arg0->unk_70 * (13.0f + ((D_80177DB0 & 1) * 2.5f)));
|
||||
func_8005980C(arg0->unk_70 * (13.0f + ((gFrameCount & 1) * 2.5f)));
|
||||
gSPDisplayList(gMasterDisp++, D_102ED50);
|
||||
}
|
||||
|
||||
void func_80078B8C(void* unused) {
|
||||
void func_80078B8C(Object_8C* arg0) {
|
||||
RCP_SetupDL_21();
|
||||
gSPDisplayList(gMasterDisp++, D_101ABD0);
|
||||
RCP_SetupDL(&gMasterDisp, 0x40);
|
||||
@ -392,7 +392,7 @@ void func_80078BE0(Object_8C* arg0) {
|
||||
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 160);
|
||||
var_fv0 = 3.0f;
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
var_fv0 *= 1.2f;
|
||||
}
|
||||
func_8005980C(arg0->unk_70 * var_fv0);
|
||||
@ -412,17 +412,17 @@ void func_80078CE8(Object_8C* arg0) {
|
||||
}
|
||||
|
||||
void func_80078D60(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x189;
|
||||
arg0->obj.id = OBJECT_393;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
arg0->unk_70 = arg4;
|
||||
if (arg4 == 3.1f) {
|
||||
arg0->unk_54 = D_80163FE0[8].unk_0E8;
|
||||
arg0->unk_58 = D_80163FE0[8].unk_0EC;
|
||||
arg0->unk_5C = D_80163FE0[8].unk_0F0;
|
||||
arg0->unk_54.x = gObjects2F4[8].unk_0E8.x;
|
||||
arg0->unk_54.y = gObjects2F4[8].unk_0E8.y;
|
||||
arg0->unk_54.z = gObjects2F4[8].unk_0E8.z;
|
||||
}
|
||||
if (arg4 != 30.0f) {
|
||||
arg0->unk_4E = 1;
|
||||
@ -437,9 +437,9 @@ void func_80078D60(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4) {
|
||||
void func_80078E50(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = ARRAY_COUNT(D_80170130) - 1; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_80078D60(&D_80170130[i], posX, posY, posZ, arg3);
|
||||
for (i = ARRAY_COUNT(gObjects8C) - 1; i >= 0; i--) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_80078D60(&gObjects8C[i], posX, posY, posZ, arg3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -447,9 +447,9 @@ void func_80078E50(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
|
||||
void func_80078EBC(Object_8C* arg0) {
|
||||
if (arg0->unk_4E == 2) {
|
||||
arg0->unk_54 = D_80178280->unk_0C0.x;
|
||||
arg0->unk_58 = D_80178280->unk_0C0.y;
|
||||
arg0->unk_5C = D_80178280->unk_0C0.z;
|
||||
arg0->unk_54.x = gPlayer[0].unk_0C0.x;
|
||||
arg0->unk_54.y = gPlayer[0].unk_0C0.y;
|
||||
arg0->unk_54.z = gPlayer[0].unk_0C0.z;
|
||||
}
|
||||
arg0->obj.rot.z += 35.0f;
|
||||
if (arg0->unk_50 >= 7) {
|
||||
@ -458,7 +458,7 @@ void func_80078EBC(Object_8C* arg0) {
|
||||
arg0->unk_6C -= 0.25f;
|
||||
}
|
||||
if (arg0->unk_6C <= 0.0f) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
|
||||
@ -483,27 +483,27 @@ void func_8007905C(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, u8 a
|
||||
f32 xAng;
|
||||
f32 yAng;
|
||||
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 2;
|
||||
arg0->obj.id = 0x165;
|
||||
arg0->obj.id = OBJECT_357;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
arg0->unk_4C = arg5;
|
||||
if (arg4 == 1.6f) {
|
||||
arg0->unk_54 = (posX - D_8016F110[1].obj.pos.x) * 0.1f;
|
||||
arg0->unk_5C = (posZ - D_8016F110[1].obj.pos.z) * 0.1f;
|
||||
arg0->unk_54.x = (posX - gObjects408[1].obj.pos.x) * 0.1f;
|
||||
arg0->unk_54.z = (posZ - gObjects408[1].obj.pos.z) * 0.1f;
|
||||
} else if (arg4 == 1.3f) {
|
||||
arg0->unk_54 = ((Rand_ZeroOne() * 0.05f) + 0.03f) * posX;
|
||||
arg0->unk_5C = ((Rand_ZeroOne() * 0.05f) + 0.03f) * posZ;
|
||||
arg0->unk_58 = 5.0f;
|
||||
arg0->unk_54.x = ((Rand_ZeroOne() * 0.05f) + 0.03f) * posX;
|
||||
arg0->unk_54.z = ((Rand_ZeroOne() * 0.05f) + 0.03f) * posZ;
|
||||
arg0->unk_54.y = 5.0f;
|
||||
} else if (arg4 == 1.55f) {
|
||||
arg0->unk_54 = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_5C = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
} else if ((D_80178234 == 0x11) && ((arg4 == 5.11f) || (arg4 == 7.22f))) {
|
||||
sp3C.x = D_80178280->unk_074;
|
||||
sp3C.y = D_80178280->unk_078;
|
||||
sp3C.z = D_80178280->unk_07C;
|
||||
arg0->unk_54.x = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_54.z = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
} else if ((gCurrentLevel == LEVEL_BOLSE) && ((arg4 == 5.11f) || (arg4 == 7.22f))) {
|
||||
sp3C.x = gPlayer[0].unk_074;
|
||||
sp3C.y = gPlayer[0].unk_078;
|
||||
sp3C.z = gPlayer[0].unk_07C;
|
||||
yAng = Math_Atan2F(sp3C.x - posX, sp3C.z - posZ);
|
||||
sp38 = sqrtf(SQ(sp3C.x - posX) + SQ(sp3C.z - posZ));
|
||||
xAng = -Math_Atan2F(sp3C.y - posY, sp38);
|
||||
@ -513,13 +513,13 @@ void func_8007905C(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, u8 a
|
||||
sp54.y = (Rand_ZeroOne() - 0.5f) * 50.0f;
|
||||
sp54.z = (Rand_ZeroOne() * 10.0f) + 150.0f;
|
||||
Matrix_MultVec3f(gCalcMatrix, &sp54, &sp48);
|
||||
arg0->unk_54 = sp48.x;
|
||||
arg0->unk_58 = sp48.y;
|
||||
arg0->unk_5C = sp48.z;
|
||||
arg0->unk_54.x = sp48.x;
|
||||
arg0->unk_54.y = sp48.y;
|
||||
arg0->unk_54.z = sp48.z;
|
||||
} else {
|
||||
arg0->unk_58 = (D_80177C98 == 0) ? (Rand_ZeroOne() * 7.0f) + 7.0f : (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_54 = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_5C = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_54.y = (gLevelType == 0) ? (Rand_ZeroOne() * 7.0f) + 7.0f : (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_54.x = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_54.z = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
}
|
||||
arg0->unk_70 = ((Rand_ZeroOne() * 0.8f) + 0.3f) * arg4;
|
||||
arg0->unk_50 = (s32) (Rand_ZeroOne() * 50.0f) + 0x46;
|
||||
@ -534,8 +534,8 @@ void func_800794CC(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = 50; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007905C(&D_80170130[i], posX, posY, posZ, arg3, 0);
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007905C(&gObjects8C[i], posX, posY, posZ, arg3, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -545,8 +545,8 @@ void func_8007953C(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = 79; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007905C(&D_80170130[i], posX, posY, posZ, arg3, 0);
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007905C(&gObjects8C[i], posX, posY, posZ, arg3, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -556,8 +556,8 @@ void func_800795AC(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < 95; i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007905C(&D_80170130[i], posX, posY, posZ, arg3, 0);
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007905C(&gObjects8C[i], posX, posY, posZ, arg3, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -567,38 +567,38 @@ void func_80079618(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = 50; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007905C(&D_80170130[i], posX, posY, posZ, arg3, 1);
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007905C(&gObjects8C[i], posX, posY, posZ, arg3, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007968C(Object_8C* arg0) {
|
||||
if ((D_80178234 != 0xB) || (arg0->unk_44 != 7)) {
|
||||
if ((gCurrentLevel != LEVEL_MACBETH) || (arg0->unk_44 != 7)) {
|
||||
if ((arg0->unk_50 == 0) || (arg0->obj.pos.y < D_80177940)) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
} else {
|
||||
if (!(D_80177DB0 & 3)) {
|
||||
if (!(gFrameCount & 3)) {
|
||||
func_8007D2C8(arg0->obj.pos.x, arg0->obj.pos.y + 550.0f, arg0->obj.pos.z, 10.0f);
|
||||
}
|
||||
if ((arg0->unk_50 == 0) || (arg0->obj.pos.y < (D_80177940 - 100.0f))) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
arg0->obj.rot.x += arg0->unk_60.x;
|
||||
arg0->obj.rot.y += arg0->unk_60.y;
|
||||
arg0->obj.rot.z += arg0->unk_60.z;
|
||||
if (D_80177C98 == 0) {
|
||||
arg0->unk_58 -= 0.5f;
|
||||
if (gLevelType == 0) {
|
||||
arg0->unk_54.y -= 0.5f;
|
||||
}
|
||||
if ((D_80178234 == 0x11) && (D_80178280->unk_1C8 == 7) && (D_80177A80 >= 0xB0)) {
|
||||
arg0->unk_54 *= 0.95f;
|
||||
arg0->unk_58 *= 0.95f;
|
||||
arg0->unk_5C *= 0.95f;
|
||||
if ((gCurrentLevel == LEVEL_BOLSE) && (gPlayer[0].unk_1C8 == 7) && (D_80177A80 >= 0xB0)) {
|
||||
arg0->unk_54.x *= 0.95f;
|
||||
arg0->unk_54.y *= 0.95f;
|
||||
arg0->unk_54.z *= 0.95f;
|
||||
}
|
||||
if ((D_80178234 == 0xB) && (arg0->unk_44 == 0xA)) {
|
||||
if ((gCurrentLevel == LEVEL_MACBETH) && (arg0->unk_44 == 0xA)) {
|
||||
arg0->obj.rot.x = 0.0f;
|
||||
arg0->obj.rot.y = 0.0f;
|
||||
if (arg0->unk_50 >= 25) {
|
||||
@ -619,16 +619,16 @@ s32 func_800798C4(s32 arg0, Gfx** arg1, Vec3f* arg2, Vec3f* arg3, void* arg4) {
|
||||
void func_800798F0(Object_8C* arg0) {
|
||||
Vec3f frameJointTable[50];
|
||||
|
||||
if ((D_80178234 == 0x11) && (D_80178280->unk_1C8 == 7)) {
|
||||
if ((gCurrentLevel == LEVEL_BOLSE) && (gPlayer[0].unk_1C8 == 7)) {
|
||||
func_8005F670(&arg0->obj.pos);
|
||||
}
|
||||
RCP_SetupDL(&gMasterDisp, 0x1D);
|
||||
if (D_80178234 == 0x10) {
|
||||
gSPFogPosition(gMasterDisp++, D_801783D8, 1005);
|
||||
if (gCurrentLevel == LEVEL_KATINA) {
|
||||
gSPFogPosition(gMasterDisp++, gFogNear, 1005);
|
||||
}
|
||||
func_8005980C(arg0->unk_70);
|
||||
switch (D_80178234) {
|
||||
case 11:
|
||||
switch (gCurrentLevel) {
|
||||
case LEVEL_MACBETH:
|
||||
switch (arg0->unk_44) {
|
||||
case 1:
|
||||
if (arg0->unk_40 & 1) {
|
||||
@ -711,7 +711,7 @@ void func_800798F0(Object_8C* arg0) {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 13:
|
||||
case LEVEL_AQUAS:
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
RCP_SetupDL(&gMasterDisp, 0x3C);
|
||||
gSPDisplayList(gMasterDisp++, D_600A220);
|
||||
@ -750,8 +750,8 @@ void func_800798F0(Object_8C* arg0) {
|
||||
break;
|
||||
}
|
||||
RCP_SetupDL(&gMasterDisp, 0x40);
|
||||
if (D_80178234 == 0x10) {
|
||||
gSPFogPosition(gMasterDisp++, D_801783D8, D_801783DC);
|
||||
if (gCurrentLevel == LEVEL_KATINA) {
|
||||
gSPFogPosition(gMasterDisp++, gFogNear, gFogFar);
|
||||
}
|
||||
}
|
||||
|
||||
@ -763,19 +763,19 @@ void func_8007A28C(Object_8C* arg0) {
|
||||
if (arg0->unk_50 >= 0xB) {
|
||||
D_801779A8[0] = 60.0f;
|
||||
}
|
||||
if (arg0->unk_50 == 0x30) {
|
||||
D_80178340 = 0x96;
|
||||
if (arg0->unk_50 == 48) {
|
||||
D_80178340 = 150;
|
||||
}
|
||||
if (arg0->unk_50 >= 0x2E) {
|
||||
if (arg0->unk_50 > 45) {
|
||||
D_80178358 = 0;
|
||||
D_80178348 = D_80178350 = D_80178354 = 0xFF;
|
||||
D_80178348 = D_80178350 = D_80178354 = 255;
|
||||
}
|
||||
D_8017835C = 3;
|
||||
if (arg0->unk_50 == 0) {
|
||||
arg0->unk_44 -= 2;
|
||||
if (arg0->unk_44 < 0) {
|
||||
arg0->unk_44 = 0;
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
D_8017812C = 0;
|
||||
}
|
||||
}
|
||||
@ -795,9 +795,9 @@ void func_8007A3C0(Object_8C* arg0) {
|
||||
}
|
||||
|
||||
void func_8007A4B8(Object_8C* arg0, f32 xPos, f32 yPos, f32 zPos, f32 arg4) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x17F;
|
||||
arg0->obj.id = OBJECT_383;
|
||||
arg0->unk_6C = arg4;
|
||||
arg0->unk_50 = 50;
|
||||
arg0->unk_44 = 200;
|
||||
@ -811,9 +811,9 @@ void func_8007A4B8(Object_8C* arg0, f32 xPos, f32 yPos, f32 zPos, f32 arg4) {
|
||||
void func_8007A568(f32 xPos, f32 yPos, f32 zPos, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = ARRAY_COUNT(D_80170130) - 1; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007A4B8(&D_80170130[i], xPos, yPos, zPos, arg3);
|
||||
for (i = ARRAY_COUNT(gObjects8C) - 1; i >= 0; i--) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007A4B8(&gObjects8C[i], xPos, yPos, zPos, arg3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -821,7 +821,7 @@ void func_8007A568(f32 xPos, f32 yPos, f32 zPos, f32 arg3) {
|
||||
}
|
||||
|
||||
void func_8007A5F8(Object_8C* arg0, Vec3f* arg1, u32 arg2) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 2;
|
||||
arg0->obj.id = 0x175;
|
||||
arg0->obj.pos.x = arg1->x;
|
||||
@ -842,9 +842,9 @@ void func_8007A5F8(Object_8C* arg0, Vec3f* arg1, u32 arg2) {
|
||||
void func_8007A6F0(Vec3f* arg0, u32 arg1) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007A5F8(&D_80170130[i], arg0, arg1);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C); i++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007A5F8(&gObjects8C[i], arg0, arg1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -852,11 +852,11 @@ void func_8007A6F0(Vec3f* arg0, u32 arg1) {
|
||||
|
||||
void func_8007A748(Object_8C* arg0) {
|
||||
if (arg0->unk_50 == 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
|
||||
s32 func_8007A774(UnkStruct_D_80178280* arg0, Object_8C* arg1, f32 arg2) {
|
||||
s32 func_8007A774(Player* arg0, Object_8C* arg1, f32 arg2) {
|
||||
if ((fabsf(arg0->unk_138 - arg1->obj.pos.z) < arg2) && (fabsf(arg0->unk_074 - arg1->obj.pos.x) < arg2) &&
|
||||
(fabsf(arg0->unk_078 - arg1->obj.pos.y) < arg2) && (arg0->unk_498 == 0)) {
|
||||
func_800A6CD0(arg0, 0, arg1->unk_1C.unk_18);
|
||||
@ -867,9 +867,9 @@ s32 func_8007A774(UnkStruct_D_80178280* arg0, Object_8C* arg1, f32 arg2) {
|
||||
}
|
||||
|
||||
void func_8007A818(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, u8 arg5, u8 arg6, u16 arg7) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x167;
|
||||
arg0->obj.id = OBJECT_359;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
@ -879,7 +879,7 @@ void func_8007A818(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, u8 a
|
||||
arg0->unk_60.z = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_60.y = arg4 * 0.1f;
|
||||
if (arg7 != 0) {
|
||||
arg0->unk_54 = (Rand_ZeroOne() - 0.5f) * 30.0f;
|
||||
arg0->unk_54.x = (Rand_ZeroOne() - 0.5f) * 30.0f;
|
||||
}
|
||||
func_800612B8(&arg0->unk_1C, arg0->obj.id);
|
||||
}
|
||||
@ -887,10 +887,10 @@ void func_8007A818(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, u8 a
|
||||
void func_8007A900(f32 posX, f32 posY, f32 posZ, f32 arg3, u8 arg4, u8 arg5, u16 arg6) {
|
||||
s32 i;
|
||||
|
||||
if (D_80178234 == 0xC) {
|
||||
for (i = ARRAY_COUNT(D_80170130) - 1; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007A818(&D_80170130[i], posX, posY, posZ, arg3, arg4, arg5, arg6);
|
||||
if (gCurrentLevel == 0xC) {
|
||||
for (i = ARRAY_COUNT(gObjects8C) - 1; i >= 0; i--) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007A818(&gObjects8C[i], posX, posY, posZ, arg3, arg4, arg5, arg6);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -900,7 +900,7 @@ void func_8007A900(f32 posX, f32 posY, f32 posZ, f32 arg3, u8 arg4, u8 arg5, u16
|
||||
void func_8007A994(Object_8C* arg0) {
|
||||
Math_SmoothStepToF(&arg0->unk_70, arg0->unk_6C, 0.1f, 10.0f, 0.01f);
|
||||
arg0->obj.rot.z += arg0->unk_60.z;
|
||||
arg0->unk_58 += arg0->unk_60.y;
|
||||
arg0->unk_54.y += arg0->unk_60.y;
|
||||
if (arg0->unk_4A & 1) {
|
||||
arg0->unk_48++;
|
||||
if (arg0->unk_48 >= 6) {
|
||||
@ -909,7 +909,7 @@ void func_8007A994(Object_8C* arg0) {
|
||||
}
|
||||
arg0->unk_44 -= arg0->unk_46;
|
||||
if (arg0->unk_44 < 0x15) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
arg0->unk_4A++;
|
||||
}
|
||||
@ -935,21 +935,21 @@ void func_8007AB50(Object_8C* arg0) {
|
||||
Math_SmoothStepToF(&arg0->unk_70, arg0->unk_6C, 0.1f, 10.0f, 0.0f);
|
||||
arg0->unk_44 -= 20;
|
||||
if (arg0->unk_44 < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
} else {
|
||||
Math_SmoothStepToF(&arg0->unk_70, arg0->unk_6C, 0.1f, 10.0f, 0.0f);
|
||||
arg0->unk_44 -= 10;
|
||||
if (arg0->unk_44 < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007AC0C(Object_8C* arg0, f32 posX, f32 unused_posY, f32 posY, f32 arg4, f32 arg5, f32 arg6) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x174;
|
||||
arg0->obj.id = OBJECT_372;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = D_80177940;
|
||||
arg0->obj.pos.z = posY;
|
||||
@ -957,26 +957,26 @@ void func_8007AC0C(Object_8C* arg0, f32 posX, f32 unused_posY, f32 posY, f32 arg
|
||||
arg0->unk_70 = arg4;
|
||||
arg0->unk_6C = arg5;
|
||||
arg0->obj.rot.y = arg6;
|
||||
arg0->unk_54 = D_80178280->unk_0C0.x * 0.6f;
|
||||
arg0->unk_5C = D_80178280->unk_0C0.z * 0.6; // Forgotten f means bad codegen
|
||||
arg0->unk_54.x = gPlayer[0].unk_0C0.x * 0.6f;
|
||||
arg0->unk_54.z = gPlayer[0].unk_0C0.z * 0.6; // Forgotten f means bad codegen
|
||||
func_800612B8(&arg0->unk_1C, arg0->obj.id);
|
||||
}
|
||||
|
||||
void func_8007ACE0(f32 posX, f32 posY, f32 posZ, f32 arg3, f32 arg4, f32 arg5) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007AC0C(&D_80170130[i], posX, posY, posZ, arg3, arg4, arg5);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C); i++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007AC0C(&gObjects8C[i], posX, posY, posZ, arg3, arg4, arg5);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007AD58(Object_8C* arg0, f32 posX, f32 unused_posY, f32 posZ, f32 arg4, f32 arg5, f32 arg6) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x174;
|
||||
arg0->obj.id = OBJECT_372;
|
||||
arg0->unk_4E = 1;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = D_80177940;
|
||||
@ -996,11 +996,11 @@ void func_8007ADF4(f32 arg0, f32 posY, f32 arg2, f32 arg3, f32 arg4) {
|
||||
s32 i;
|
||||
|
||||
for (var_fs1 = 11.25f, var_s2 = 0; var_s2 < 16; var_s2++, var_fs1 += 22.5f) {
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C); i++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
temp_fs2 = __sinf(M_DTOR * var_fs1) * arg4 * 20.0f;
|
||||
temp_fs0 = __cosf(M_DTOR * var_fs1) * arg4 * 20.0f;
|
||||
func_8007AD58(&D_80170130[i], arg0 + temp_fs2, posY, arg2 + temp_fs0, arg3, arg4, var_fs1);
|
||||
func_8007AD58(&gObjects8C[i], arg0 + temp_fs2, posY, arg2 + temp_fs0, arg3, arg4, var_fs1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1008,14 +1008,14 @@ void func_8007ADF4(f32 arg0, f32 posY, f32 arg2, f32 arg3, f32 arg4) {
|
||||
}
|
||||
|
||||
void func_8007AF30(Object_8C* arg0, f32 posX, f32 posZ, f32 arg3, f32 arg4, f32 arg5) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x17E;
|
||||
arg0->obj.id = OBJECT_382;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = -10.0f;
|
||||
arg0->obj.pos.z = posZ;
|
||||
arg0->unk_54 = arg3;
|
||||
arg0->unk_5C = arg4 - D_80177D08;
|
||||
arg0->unk_54.x = arg3;
|
||||
arg0->unk_54.z = arg4 - D_80177D08;
|
||||
arg0->unk_6C = arg5;
|
||||
arg0->unk_50 = 0x64;
|
||||
func_800612B8(&arg0->unk_1C, arg0->obj.id);
|
||||
@ -1024,9 +1024,9 @@ void func_8007AF30(Object_8C* arg0, f32 posX, f32 posZ, f32 arg3, f32 arg4, f32
|
||||
void func_8007AFD0(f32 posX, f32 posZ, f32 arg2, f32 arg3, f32 arg4) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007AF30(&D_80170130[i], posX, posZ, arg2, arg3, arg4);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C); i++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007AF30(&gObjects8C[i], posX, posZ, arg2, arg3, arg4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1042,7 +1042,7 @@ void func_8007B040(Object_8C* arg0) {
|
||||
D_801782EC[sp28 - 1] = arg0->unk_6C * 0.7f;
|
||||
}
|
||||
if (arg0->unk_50 == 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1051,14 +1051,14 @@ void func_8007B0F4(Object_8C* arg0) {
|
||||
arg0->unk_44 -= 13;
|
||||
arg0->obj.rot.y = 180.0f - arg0->obj.rot.y;
|
||||
if (arg0->unk_44 < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007B180(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x17D;
|
||||
arg0->obj.id = OBJECT_381;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
@ -1071,18 +1071,18 @@ void func_8007B180(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4) {
|
||||
void func_8007B228(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130) && D_80178234 == 8; i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007B180(&D_80170130[i], posX, posY, posZ, arg3);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C) && gCurrentLevel == 8; i++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007B180(&gObjects8C[i], posX, posY, posZ, arg3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007B2BC(Object_8C* arg0, f32 xPos, f32 yPos, f32 zPos, f32 arg4, s32 arg5) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x180;
|
||||
arg0->obj.id = OBJECT_384;
|
||||
arg0->obj.pos.x = xPos;
|
||||
arg0->obj.pos.y = yPos;
|
||||
arg0->obj.pos.z = zPos;
|
||||
@ -1095,9 +1095,9 @@ void func_8007B2BC(Object_8C* arg0, f32 xPos, f32 yPos, f32 zPos, f32 arg4, s32
|
||||
void func_8007B344(f32 xPos, f32 yPos, f32 zPos, f32 arg3, s32 arg4) {
|
||||
s32 i;
|
||||
|
||||
for (i = ARRAY_COUNT(D_80170130) - 1; i >= 0; i--) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007B2BC(&D_80170130[i], xPos, yPos, zPos, arg3, arg4);
|
||||
for (i = ARRAY_COUNT(gObjects8C) - 1; i >= 0; i--) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007B2BC(&gObjects8C[i], xPos, yPos, zPos, arg3, arg4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1112,7 +1112,7 @@ void func_8007B3B8(Object_8C* arg0) {
|
||||
var_fv0 = 15.0f;
|
||||
var_fv1 = 0.05f;
|
||||
var_v0 = 4;
|
||||
} else if ((arg0->unk_4C == 5) && ((D_80178234 == 0x10) || (D_80178234 == 1))) {
|
||||
} else if ((arg0->unk_4C == 5) && ((gCurrentLevel == 0x10) || (gCurrentLevel == 1))) {
|
||||
var_fv0 = 10.0f;
|
||||
var_fv1 = 0.1f;
|
||||
var_v0 = 4;
|
||||
@ -1124,14 +1124,14 @@ void func_8007B3B8(Object_8C* arg0) {
|
||||
Math_SmoothStepToF(&arg0->unk_70, arg0->unk_6C, var_fv1, var_fv0, 0.0f);
|
||||
arg0->unk_44 -= var_v0;
|
||||
if (arg0->unk_44 < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007B494(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, s32 arg5) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x181;
|
||||
arg0->obj.id = OBJECT_385;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
@ -1151,9 +1151,9 @@ void func_8007B494(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4, s32
|
||||
void func_8007B550(f32 posX, f32 posY, f32 posZ, f32 arg3, s32 arg4) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007B494(&D_80170130[i], posX, posY, posZ, arg3, arg4);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C); i++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007B494(&gObjects8C[i], posX, posY, posZ, arg3, arg4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1163,7 +1163,7 @@ void func_8007B5C0(Object_8C* arg0) {
|
||||
Math_SmoothStepToF(&arg0->unk_70, arg0->unk_6C, 0.1f, 10.0f, 0.1f);
|
||||
arg0->unk_44 -= arg0->unk_46;
|
||||
if (arg0->unk_44 < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1171,12 +1171,12 @@ void func_8007B62C(Object_8C* arg0) {
|
||||
if (arg0->unk_50 == 0) {
|
||||
arg0->unk_46 -= 4;
|
||||
if (arg0->unk_46 <= 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_8007B670(void* arg0) {
|
||||
void func_8007B670(Object_8C* arg0) {
|
||||
}
|
||||
|
||||
void func_8007B67C(Object_8C* arg0) {
|
||||
@ -1189,7 +1189,7 @@ void func_8007B67C(Object_8C* arg0) {
|
||||
if (arg0->unk_46 >= 9) {
|
||||
arg0->unk_48++;
|
||||
if (arg0->unk_48 >= 10) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
}
|
||||
var_v1 = arg0->unk_4A;
|
||||
@ -1197,9 +1197,9 @@ void func_8007B67C(Object_8C* arg0) {
|
||||
if (var_v1 > 10) {
|
||||
var_v1 -= 10;
|
||||
}
|
||||
arg0->unk_54 = D_80178280[var_v1 - 1].unk_0C0.x;
|
||||
arg0->unk_58 = D_80178280[var_v1 - 1].unk_0C0.y;
|
||||
arg0->unk_5C = D_80178280[var_v1 - 1].unk_0C0.z;
|
||||
arg0->unk_54.x = gPlayer[var_v1 - 1].unk_0C0.x;
|
||||
arg0->unk_54.y = gPlayer[var_v1 - 1].unk_0C0.y;
|
||||
arg0->unk_54.z = gPlayer[var_v1 - 1].unk_0C0.z;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1207,20 +1207,20 @@ void func_8007B758(Object_8C* arg0) {
|
||||
Math_SmoothStepToF(&arg0->unk_70, arg0->unk_6C, 0.1f, 10.0f, 0.1f);
|
||||
arg0->unk_44 -= 2;
|
||||
if (arg0->unk_44 < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
func_8007A774(D_80178280, arg0, arg0->unk_70 * 20.0f);
|
||||
func_8007A774(gPlayer, arg0, arg0->unk_70 * 20.0f);
|
||||
}
|
||||
|
||||
void func_8007B7E8(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4) {
|
||||
func_80061474(arg0);
|
||||
Object_8C_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0x16C;
|
||||
arg0->obj.id = OBJECT_364;
|
||||
arg0->obj.pos.x = posX;
|
||||
arg0->obj.pos.y = posY;
|
||||
arg0->obj.pos.z = posZ;
|
||||
arg0->unk_54 = (Rand_ZeroOne() - 0.5f) * 5.0f;
|
||||
arg0->unk_58 = (Rand_ZeroOne() - 0.5f) * 3.0f;
|
||||
arg0->unk_54.x = (Rand_ZeroOne() - 0.5f) * 5.0f;
|
||||
arg0->unk_54.y = (Rand_ZeroOne() - 0.5f) * 3.0f;
|
||||
arg0->unk_48 = 3;
|
||||
if (Rand_ZeroOne() < 0.5f) {
|
||||
arg0->unk_48 = -arg0->unk_48;
|
||||
@ -1235,9 +1235,9 @@ void func_8007B7E8(Object_8C* arg0, f32 posX, f32 posY, f32 posZ, f32 arg4) {
|
||||
void func_8007B8F8(f32 posX, f32 posY, f32 posZ, f32 arg3) {
|
||||
s32 i, j;
|
||||
|
||||
for (i = ARRAY_COUNT(D_80170130) - 1, j = 0; j < ARRAY_COUNT(D_80170130); i--, j++) {
|
||||
if (D_80170130[i].obj.status == 0) {
|
||||
func_8007B7E8(&D_80170130[i], posX, posY, posZ, arg3);
|
||||
for (i = ARRAY_COUNT(gObjects8C) - 1, j = 0; j < ARRAY_COUNT(gObjects8C); i--, j++) {
|
||||
if (gObjects8C[i].obj.status == 0) {
|
||||
func_8007B7E8(&gObjects8C[i], posX, posY, posZ, arg3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1247,10 +1247,10 @@ void func_8007B960(Object_8C* arg0) {
|
||||
arg0->unk_70 += 0.07f;
|
||||
arg0->unk_4A -= arg0->unk_46;
|
||||
if (arg0->unk_4A < 0) {
|
||||
func_80060FBC(&arg0->obj, &arg0->unk_80);
|
||||
Object_Kill(&arg0->obj, &arg0->unk_80);
|
||||
}
|
||||
arg0->obj.rot.z += arg0->unk_48;
|
||||
arg0->unk_58 += 0.2f;
|
||||
arg0->unk_54.y += 0.2f;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_77E40/func_8007B9DC.s")
|
||||
@ -1444,7 +1444,7 @@ void func_8007B960(Object_8C* arg0) {
|
||||
void func_80084194(Object_8C* arg0) {
|
||||
s32 tmp;
|
||||
|
||||
if (D_80178234 != 0xD) {
|
||||
if (gCurrentLevel != LEVEL_AQUAS) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x31);
|
||||
Matrix_Scale(gGfxMatrix, arg0->unk_70, arg0->unk_70, arg0->unk_70, 1);
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
|
@ -3,15 +3,15 @@
|
||||
extern f32 D_800D2F64;
|
||||
extern Vec3f D_800D2F80;
|
||||
extern Vec3f D_800D2F8C;
|
||||
extern UnkStruct_D_80161A68* D_800D2F98[21];
|
||||
extern EnvSettings* D_800D2F98[21];
|
||||
extern f32 D_800D2FEC[5];
|
||||
extern s32 D_800D3000[4][4];
|
||||
extern Vec3f D_800D3040[6];
|
||||
extern Vec3f D_800D3088[4];
|
||||
extern Vec3f D_800D30B8[4];
|
||||
|
||||
s32 func_800A3F50(u16 arg0) {
|
||||
if ((D_801778B0[2] > 0) && (D_801778B0[3] > 0) && (D_801778B0[1] > 0) && (D_80161A98 >= arg0)) {
|
||||
s32 Play_CheckMedalStatus(u16 arg0) {
|
||||
if ((D_801778B0[2] > 0) && (D_801778B0[3] > 0) && (D_801778B0[1] > 0) && (gHitCount >= arg0)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -21,8 +21,8 @@ void func_800A3FB0(void) {
|
||||
D_800D2F64 = 0.0f;
|
||||
}
|
||||
|
||||
s32 func_800A3FC4(void) {
|
||||
if (D_80161A90[0] >= 3) {
|
||||
s32 Play_GetMaxHealth(void) {
|
||||
if (gGoldRingCount[0] >= 3) {
|
||||
return 0x17F;
|
||||
}
|
||||
return 0xFF;
|
||||
@ -47,9 +47,9 @@ void func_800A3FEC(void) {
|
||||
f32 sp84;
|
||||
|
||||
D_801782FC++;
|
||||
switch (D_80178234) {
|
||||
case 7:
|
||||
spB4 = (D_80177DB0 & 1) ? SEGMENTED_TO_VIRTUAL(D_6001C50) : SEGMENTED_TO_VIRTUAL(D_6004500);
|
||||
switch (gCurrentLevel) {
|
||||
case LEVEL_SOLAR:
|
||||
spB4 = (gFrameCount & 1) ? SEGMENTED_TO_VIRTUAL(D_6001C50) : SEGMENTED_TO_VIRTUAL(D_6004500);
|
||||
spB0 = SEGMENTED_TO_VIRTUAL(D_6022760);
|
||||
spA8 = 15;
|
||||
sp90 = 70.0f;
|
||||
@ -57,8 +57,8 @@ void func_800A3FEC(void) {
|
||||
sp88 = 2.2f;
|
||||
sp84 = 0.5f;
|
||||
break;
|
||||
case 8:
|
||||
spB4 = (D_80177DB0 & 1) ? SEGMENTED_TO_VIRTUAL(D_6009ED0) : SEGMENTED_TO_VIRTUAL(D_600C780);
|
||||
case LEVEL_ZONESS:
|
||||
spB4 = (gFrameCount & 1) ? SEGMENTED_TO_VIRTUAL(D_6009ED0) : SEGMENTED_TO_VIRTUAL(D_600C780);
|
||||
spB0 = SEGMENTED_TO_VIRTUAL(D_602AC50);
|
||||
spA8 = 7;
|
||||
sp90 = 40.0f;
|
||||
@ -124,8 +124,8 @@ void func_800A3FEC(void);
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_A4B50/func_800A3FEC.s")
|
||||
#endif
|
||||
|
||||
void func_800A4460(UnkStruct_D_80178280* arg0) {
|
||||
if ((D_80178234 == 9) && (D_8016F110[0].obj.status == 2) && (D_8016F110[0].unk_04E == 0x11)) {
|
||||
void func_800A4460(Player* arg0) {
|
||||
if ((gCurrentLevel == LEVEL_VENOM_2) && (gObjects408[0].obj.status == 2) && (gObjects408[0].unk_04E == 0x11)) {
|
||||
arg0->unk_060 = __sinf(arg0->unk_0F4 * 0.7f * M_DTOR) * 0.5f;
|
||||
arg0->unk_088 += 13.0f;
|
||||
arg0->unk_0F4 += 20.0f;
|
||||
@ -136,9 +136,9 @@ void func_800A4460(UnkStruct_D_80178280* arg0) {
|
||||
arg0->unk_060 = __sinf(arg0->unk_0F4 * 0.7f * M_DTOR) * 0.5f;
|
||||
arg0->unk_088 += 10.0f;
|
||||
arg0->unk_0F4 += 8.0f;
|
||||
if ((D_80177C98 == 0) || ((arg0->unk_238 == 1) && (D_80177880 == 0))) {
|
||||
if ((gLevelType == 0) || ((arg0->unk_238 == 1) && (D_80177880 == 0))) {
|
||||
arg0->unk_080 = -__sinf(arg0->unk_088 * M_DTOR) * 0.5f;
|
||||
if ((arg0->unk_49C.unk_00 < 2) || (arg0->unk_49C.unk_01 < 2)) {
|
||||
if ((arg0->wings.rightState <= 1) || (arg0->wings.leftState <= 1)) {
|
||||
arg0->unk_0F0 = __sinf(arg0->unk_0F4 * M_DTOR) * 5.0f;
|
||||
} else {
|
||||
arg0->unk_0F0 = __sinf(arg0->unk_0F4 * M_DTOR) * 1.5f;
|
||||
@ -147,28 +147,28 @@ void func_800A4460(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A46A0(UnkStruct_D_80178280* arg0) {
|
||||
void func_800A46A0(Player* arg0) {
|
||||
s32 var_v1;
|
||||
f32 sp40;
|
||||
|
||||
if ((arg0->unk_238 == 0) || (D_80177880 == 1)) {
|
||||
if (arg0->unk_49C.unk_00 < 2) {
|
||||
if (!(D_80177DB0 & 1) && (D_80177D70[arg0->unk_1C4] != 0)) {
|
||||
if (arg0->wings.rightState <= 1) {
|
||||
if (!(gFrameCount & 1) && (D_80177D70[arg0->unk_1C4] != 0)) {
|
||||
func_8007D10C(((Rand_ZeroOne() - 0.5f) * 10.0f) + arg0->unk_2D4.x,
|
||||
(Rand_ZeroOne() * 5.0f) + arg0->unk_2D4.y, arg0->unk_2D4.z, 1.0f);
|
||||
}
|
||||
if (!(D_80177DB0 & 1) && (Rand_ZeroOne() < 0.5f) && (D_801778E8 == 0)) {
|
||||
if (!(gFrameCount & 1) && (Rand_ZeroOne() < 0.5f) && (D_801778E8 == 0)) {
|
||||
func_8007C484(((Rand_ZeroOne() - 0.5f) * 5.0f) + arg0->unk_2D4.x,
|
||||
(Rand_ZeroOne() * 5.0f) + arg0->unk_2D4.y, arg0->unk_2D4.z, arg0->unk_0C0.x,
|
||||
arg0->unk_0C0.y, arg0->unk_0C0.z, (Rand_ZeroOne() * 0.02f) + 0.02f, arg0->unk_1C4 + 1);
|
||||
}
|
||||
}
|
||||
if (arg0->unk_49C.unk_01 < 2) {
|
||||
if (!(D_80177DB0 & 1) && (D_80177D88[arg0->unk_1C4] != 0)) {
|
||||
if (arg0->wings.leftState <= 1) {
|
||||
if (!(gFrameCount & 1) && (D_80177D88[arg0->unk_1C4] != 0)) {
|
||||
func_8007D10C(((Rand_ZeroOne() - 0.5f) * 10.0f) + arg0->unk_2C8.x,
|
||||
(Rand_ZeroOne() * 5.0f) + arg0->unk_2C8.y, arg0->unk_2C8.z, 1.0f);
|
||||
}
|
||||
if (!(D_80177DB0 & 1) && (Rand_ZeroOne() < 0.5f) && (D_801778E8 == 0)) {
|
||||
if (!(gFrameCount & 1) && (Rand_ZeroOne() < 0.5f) && (D_801778E8 == 0)) {
|
||||
func_8007C484(((Rand_ZeroOne() - 0.5f) * 5.0f) + arg0->unk_2C8.x,
|
||||
(Rand_ZeroOne() * 5.0f) + arg0->unk_2C8.y, arg0->unk_2C8.z, arg0->unk_0C0.x,
|
||||
arg0->unk_0C0.y, arg0->unk_0C0.z, (Rand_ZeroOne() * 0.02f) + 0.02f, arg0->unk_1C4 + 1);
|
||||
@ -176,14 +176,14 @@ void func_800A46A0(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
var_v1 = 7;
|
||||
if (arg0->unk_264 < 0x40) {
|
||||
if (arg0->unk_264 >= 0x11) {
|
||||
if (arg0->health < 0x40) {
|
||||
if (arg0->health > 0x10) {
|
||||
var_v1 = 0xF;
|
||||
}
|
||||
if (arg0->unk_264 >= 0x21) {
|
||||
if (arg0->health > 0x20) {
|
||||
var_v1 = 0x1F;
|
||||
}
|
||||
if (arg0->unk_264 >= 0x31) {
|
||||
if (arg0->health > 0x30) {
|
||||
var_v1 = 0x3F;
|
||||
}
|
||||
if ((arg0->unk_238 == 0) || (D_80177880 == 1)) {
|
||||
@ -191,12 +191,12 @@ void func_800A46A0(UnkStruct_D_80178280* arg0) {
|
||||
if (arg0->unk_1CC == 1) {
|
||||
sp40 = 30.0f;
|
||||
}
|
||||
if (!(D_80177DB0 & var_v1)) {
|
||||
if (!(gFrameCount & var_v1)) {
|
||||
func_8007D10C(((Rand_ZeroOne() - 0.5f) * 10.0f) + arg0->unk_074,
|
||||
(Rand_ZeroOne() * 10.0f) + (arg0->unk_078 + sp40),
|
||||
((Rand_ZeroOne() - 0.5f) * 10.0f) + arg0->unk_138, 2.2f);
|
||||
}
|
||||
if (!((var_v1 >> 2) & D_80177DB0) && (Rand_ZeroOne() < 0.5f)) {
|
||||
if (!((var_v1 >> 2) & gFrameCount) && (Rand_ZeroOne() < 0.5f)) {
|
||||
func_8007C484(((Rand_ZeroOne() - 0.5f) * 30.0f) + arg0->unk_074,
|
||||
(Rand_ZeroOne() * 10.0f) + (arg0->unk_078 + sp40),
|
||||
((Rand_ZeroOne() - 0.5f) * 30.0f) + arg0->unk_138, arg0->unk_0C0.x, arg0->unk_0C0.y,
|
||||
@ -205,13 +205,13 @@ void func_800A46A0(UnkStruct_D_80178280* arg0) {
|
||||
arg0->unk_224 = 2;
|
||||
}
|
||||
}
|
||||
} else if (!((var_v1 >> 2) & D_80177DB0) && (Rand_ZeroOne() < 0.5f) && (arg0->unk_224 == 0)) {
|
||||
} else if (!((var_v1 >> 2) & gFrameCount) && (Rand_ZeroOne() < 0.5f) && (arg0->unk_224 == 0)) {
|
||||
arg0->unk_224 = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A4C40(UnkStruct_D_80178280* arg0) {
|
||||
void func_800A4C40(Player* arg0) {
|
||||
Vec3f sp54 = D_800D2F80;
|
||||
Vec3f sp48 = D_800D2F8C;
|
||||
Vec3f sp3C;
|
||||
@ -225,22 +225,22 @@ void func_800A4C40(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_MultVec3f(gCalcMatrix, &sp54, &sp3C);
|
||||
Matrix_MultVec3f(gCalcMatrix, &sp48, &sp30);
|
||||
if (arg0->unk_078 < (D_80177940 + 100.0f)) {
|
||||
if ((sp3C.y < D_80177940 + 80.0f) && !(D_80177DB0 & 1)) {
|
||||
if ((sp3C.y < D_80177940 + 80.0f) && !(gFrameCount & 1)) {
|
||||
if (D_80161A64) {}
|
||||
func_8007ACE0(sp3C.x, D_80177940, sp3C.z, 0.1f, 2.0f, arg0->unk_0E8 + arg0->unk_114 + 20.0f);
|
||||
}
|
||||
if ((sp30.y < D_80177940 + 80.0f) && !(D_80177DB0 & 1)) {
|
||||
if ((sp30.y < D_80177940 + 80.0f) && !(gFrameCount & 1)) {
|
||||
func_8007ACE0(sp30.x, D_80177940, sp30.z, 0.1f, 2.0f, (arg0->unk_0E8 + arg0->unk_114) - 20.0f);
|
||||
}
|
||||
}
|
||||
if ((sp30.y < D_80177940 + 80.0f) || (sp3C.y < D_80177940 + 80.0f)) {
|
||||
if (D_80161A64 == 0) {
|
||||
D_80161A64 = 1;
|
||||
func_80019218(0x1100000B, arg0->unk_460, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x1100000B, &arg0->unk_460, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
}
|
||||
} else {
|
||||
D_80161A64 = 0;
|
||||
func_8001A55C(&arg0->unk_460[0].x, 0x1100000B);
|
||||
func_8001A55C(&arg0->unk_460, 0x1100000B);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -279,31 +279,31 @@ void func_800A4F7C(void) {
|
||||
break;
|
||||
}
|
||||
for (i = 0, j = 0; i < 199; j++) {
|
||||
if (D_80178310[j].unk_10 < 0) {
|
||||
if (D_80178310[j].id <= OBJECT_INVALID) {
|
||||
break;
|
||||
}
|
||||
if (D_80178310[j].unk_10 == 0x93) {
|
||||
if (D_80178310[j].id == OBJECT_147) {
|
||||
func_800A4F4C(&D_801782A8[i]);
|
||||
D_801782A8[i].obj.status = 2;
|
||||
D_801782A8[i].obj.id = D_80178310[j].unk_10;
|
||||
D_801782A8[i].obj.pos.x = D_80178310[j].unk_6;
|
||||
D_801782A8[i].obj.pos.z = D_80178310[j].unk_0;
|
||||
D_801782A8[i].obj.pos.y = D_80178310[j].unk_8;
|
||||
D_801782A8[i].obj.id = D_80178310[j].id;
|
||||
D_801782A8[i].obj.pos.x = D_80178310[j].xPos;
|
||||
D_801782A8[i].obj.pos.z = D_80178310[j].zPos1;
|
||||
D_801782A8[i].obj.pos.y = D_80178310[j].yPos;
|
||||
func_800612B8(&D_801782A8[i].unk_1C, D_801782A8[i].obj.id);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
for (i = 5, j = 0; i < 199; j++) {
|
||||
if (D_80178310[j].unk_10 < 0) {
|
||||
if (D_80178310[j].id <= OBJECT_INVALID) {
|
||||
break;
|
||||
}
|
||||
if (D_80178310[j].unk_10 != 0x93) {
|
||||
if (D_80178310[j].id != OBJECT_147) {
|
||||
func_800A4F4C(&D_801782A8[i]);
|
||||
D_801782A8[i].obj.status = 2;
|
||||
D_801782A8[i].obj.id = D_80178310[j].unk_10;
|
||||
D_801782A8[i].obj.pos.x = D_80178310[j].unk_6;
|
||||
D_801782A8[i].obj.pos.z = D_80178310[j].unk_0;
|
||||
D_801782A8[i].obj.pos.y = D_80178310[j].unk_8;
|
||||
D_801782A8[i].obj.id = D_80178310[j].id;
|
||||
D_801782A8[i].obj.pos.x = D_80178310[j].xPos;
|
||||
D_801782A8[i].obj.pos.z = D_80178310[j].zPos1;
|
||||
D_801782A8[i].obj.pos.y = D_80178310[j].yPos;
|
||||
D_801782A8[i].obj.rot.y = D_80178310[j].unk_C;
|
||||
func_800612B8(&D_801782A8[i].unk_1C, D_801782A8[i].obj.id);
|
||||
i++;
|
||||
@ -323,48 +323,48 @@ void func_800A5338(void) {
|
||||
D_80178310 = SEGMENTED_TO_VIRTUAL(D_603B074);
|
||||
|
||||
for (j = 0, var_s0 = D_801782A8; j < 200; j++) {
|
||||
if (D_80178310[j].unk_10 < 0) {
|
||||
if (D_80178310[j].id <= OBJECT_INVALID) {
|
||||
break;
|
||||
}
|
||||
if (D_80178310[j].unk_10 < 0xA1) {
|
||||
if (D_80178310[j].id < OBJECT_161) {
|
||||
func_800A4F4C(var_s0);
|
||||
var_s0->obj.status = 2;
|
||||
var_s0->obj.id = D_80178310[j].unk_10;
|
||||
var_s0->obj.pos.x = D_80178310[j].unk_6;
|
||||
var_s0->obj.pos.z = D_80178310[j].unk_0;
|
||||
var_s0->obj.pos.y = D_80178310[j].unk_8;
|
||||
var_s0->obj.id = D_80178310[j].id;
|
||||
var_s0->obj.pos.x = D_80178310[j].xPos;
|
||||
var_s0->obj.pos.z = D_80178310[j].zPos1;
|
||||
var_s0->obj.pos.y = D_80178310[j].yPos;
|
||||
var_s0->obj.rot.y = D_80178310[j].unk_C;
|
||||
func_800612B8(&var_s0->unk_1C, var_s0->obj.id);
|
||||
if (var_s0->obj.id == 1) {
|
||||
if (var_s0->obj.id == OBJECT_1) {
|
||||
var_s0->unk_1C.dList = D_6020760;
|
||||
}
|
||||
var_s0++;
|
||||
}
|
||||
}
|
||||
|
||||
for (j = 0, var_s0_2 = D_80163400; j < ARRAY_COUNT(D_80163400); j++) {
|
||||
if (D_80178310[j].unk_10 < 0) {
|
||||
for (j = 0, var_s0_2 = gObjects4C; j < ARRAY_COUNT(gObjects4C); j++) {
|
||||
if (D_80178310[j].id <= OBJECT_INVALID) {
|
||||
break;
|
||||
}
|
||||
if (D_80178310[j].unk_10 == 0xA2) {
|
||||
func_80061394(var_s0_2);
|
||||
if (D_80178310[j].id == OBJECT_162) {
|
||||
Object_4C_Initialize(var_s0_2);
|
||||
var_s0_2->obj.status = 1;
|
||||
var_s0_2->obj.id = D_80178310[j].unk_10;
|
||||
var_s0_2->obj.pos.x = D_80178310[j].unk_6;
|
||||
var_s0_2->obj.pos.z = D_80178310[j].unk_0;
|
||||
var_s0_2->obj.pos.y = D_80178310[j].unk_8;
|
||||
var_s0_2->obj.id = D_80178310[j].id;
|
||||
var_s0_2->obj.pos.x = D_80178310[j].xPos;
|
||||
var_s0_2->obj.pos.z = D_80178310[j].zPos1;
|
||||
var_s0_2->obj.pos.y = D_80178310[j].yPos;
|
||||
func_800612B8(&var_s0_2->unk_1C, var_s0_2->obj.id);
|
||||
var_s0_2++;
|
||||
}
|
||||
}
|
||||
i = 0; // fake?
|
||||
func_80061404(&D_8016F110[i]);
|
||||
D_8016F110[i].obj.status = 1;
|
||||
D_8016F110[i].obj.pos.x = 0.0f;
|
||||
D_8016F110[i].obj.pos.y = 0.0f;
|
||||
D_8016F110[i].obj.pos.z = 0.0f;
|
||||
D_8016F110[i].obj.id = 0x124;
|
||||
func_800612B8(&D_8016F110[i].unk_01C, D_8016F110[i].obj.id);
|
||||
Object_408_Initialize(&gObjects408[i]);
|
||||
gObjects408[i].obj.status = 1;
|
||||
gObjects408[i].obj.pos.x = 0.0f;
|
||||
gObjects408[i].obj.pos.y = 0.0f;
|
||||
gObjects408[i].obj.pos.z = 0.0f;
|
||||
gObjects408[i].obj.id = OBJECT_292;
|
||||
func_800612B8(&gObjects408[i].unk_01C, gObjects408[i].obj.id);
|
||||
}
|
||||
|
||||
void func_800A55B0(void) {
|
||||
@ -375,57 +375,57 @@ void func_800A55B0(void) {
|
||||
D_80178310 = SEGMENTED_TO_VIRTUAL(D_6030B14);
|
||||
|
||||
for (j = 0, var_s0 = D_801782A8; j < 200; j++) {
|
||||
if (D_80178310[j].unk_10 < 0) {
|
||||
if (D_80178310[j].id <= OBJECT_INVALID) {
|
||||
break;
|
||||
}
|
||||
if (D_80178310[j].unk_10 < 0xA1) {
|
||||
if (D_80178310[j].id < OBJECT_161) {
|
||||
func_800A4F4C(var_s0);
|
||||
var_s0->obj.status = 2;
|
||||
var_s0->obj.id = D_80178310[j].unk_10;
|
||||
var_s0->obj.pos.x = D_80178310[j].unk_6;
|
||||
var_s0->obj.pos.z = D_80178310[j].unk_0;
|
||||
var_s0->obj.pos.y = D_80178310[j].unk_8;
|
||||
var_s0->obj.id = D_80178310[j].id;
|
||||
var_s0->obj.pos.x = D_80178310[j].xPos;
|
||||
var_s0->obj.pos.z = D_80178310[j].zPos1;
|
||||
var_s0->obj.pos.y = D_80178310[j].yPos;
|
||||
var_s0->obj.rot.y = D_80178310[j].unk_C;
|
||||
func_800612B8(&var_s0->unk_1C, var_s0->obj.id);
|
||||
var_s0++;
|
||||
}
|
||||
}
|
||||
i = 0; // fake?
|
||||
func_80061404(&D_8016F110[i]);
|
||||
D_8016F110[i].obj.status = 1;
|
||||
D_8016F110[i].obj.pos.x = 0.0f;
|
||||
D_8016F110[i].obj.pos.y = 0.0f;
|
||||
D_8016F110[i].obj.pos.z = 0.0f;
|
||||
D_8016F110[i].obj.id = 0x13A;
|
||||
func_800612B8(&D_8016F110[i].unk_01C, D_8016F110[i].obj.id);
|
||||
Object_408_Initialize(&gObjects408[i]);
|
||||
gObjects408[i].obj.status = 1;
|
||||
gObjects408[i].obj.pos.x = 0.0f;
|
||||
gObjects408[i].obj.pos.y = 0.0f;
|
||||
gObjects408[i].obj.pos.z = 0.0f;
|
||||
gObjects408[i].obj.id = OBJECT_314;
|
||||
func_800612B8(&gObjects408[i].unk_01C, gObjects408[i].obj.id);
|
||||
i = 1;
|
||||
func_80061404(&D_8016F110[i]);
|
||||
D_8016F110[i].obj.status = 1;
|
||||
D_8016F110[i].obj.pos.x = 0.0f;
|
||||
D_8016F110[i].obj.pos.y = 0.0f;
|
||||
D_8016F110[i].obj.pos.z = 0.0f;
|
||||
D_8016F110[i].obj.id = 0x13A;
|
||||
func_800612B8(&D_8016F110[i].unk_01C, D_8016F110[i].obj.id);
|
||||
Object_408_Initialize(&gObjects408[i]);
|
||||
gObjects408[i].obj.status = 1;
|
||||
gObjects408[i].obj.pos.x = 0.0f;
|
||||
gObjects408[i].obj.pos.y = 0.0f;
|
||||
gObjects408[i].obj.pos.z = 0.0f;
|
||||
gObjects408[i].obj.id = OBJECT_314;
|
||||
func_800612B8(&gObjects408[i].unk_01C, gObjects408[i].obj.id);
|
||||
i = 2;
|
||||
func_80061404(&D_8016F110[i]);
|
||||
D_8016F110[i].obj.status = 1;
|
||||
D_8016F110[i].obj.pos.x = 0.0f;
|
||||
D_8016F110[i].obj.pos.y = 0.0f;
|
||||
D_8016F110[i].obj.pos.z = 0.0f;
|
||||
D_8016F110[i].obj.id = 0x13A;
|
||||
func_800612B8(&D_8016F110[i].unk_01C, D_8016F110[i].obj.id);
|
||||
Object_408_Initialize(&gObjects408[i]);
|
||||
gObjects408[i].obj.status = 1;
|
||||
gObjects408[i].obj.pos.x = 0.0f;
|
||||
gObjects408[i].obj.pos.y = 0.0f;
|
||||
gObjects408[i].obj.pos.z = 0.0f;
|
||||
gObjects408[i].obj.id = OBJECT_314;
|
||||
func_800612B8(&gObjects408[i].unk_01C, gObjects408[i].obj.id);
|
||||
}
|
||||
|
||||
void func_800A57E0(void) {
|
||||
s32 i = 0; // fake?
|
||||
|
||||
func_80061404(&D_8016F110[i]);
|
||||
D_8016F110[i].obj.status = 1;
|
||||
D_8016F110[i].obj.pos.x = 0.0f;
|
||||
D_8016F110[i].obj.pos.y = 0.0f;
|
||||
D_8016F110[i].obj.pos.z = 0.0f;
|
||||
D_8016F110[i].obj.id = 0x141;
|
||||
func_800612B8(&D_8016F110[i].unk_01C, D_8016F110[i].obj.id);
|
||||
Object_408_Initialize(&gObjects408[i]);
|
||||
gObjects408[i].obj.status = 1;
|
||||
gObjects408[i].obj.pos.x = 0.0f;
|
||||
gObjects408[i].obj.pos.y = 0.0f;
|
||||
gObjects408[i].obj.pos.z = 0.0f;
|
||||
gObjects408[i].obj.id = OBJECT_321;
|
||||
func_800612B8(&gObjects408[i].unk_01C, gObjects408[i].obj.id);
|
||||
}
|
||||
|
||||
void func_800A5844(void) {
|
||||
@ -435,12 +435,12 @@ void func_800A5844(void) {
|
||||
D_8017827C = 0;
|
||||
D_80161684 = 0;
|
||||
D_80161A50 = 0;
|
||||
D_80177820 = 0;
|
||||
gOverlayStage = 0;
|
||||
D_8015F924 = D_80177CA0 = 0;
|
||||
D_80177CB0 = 0.0f;
|
||||
D_80161A9C = D_80177A80 = D_80177838 = D_80177840 = D_8017829C = 0;
|
||||
D_8017782C = 1;
|
||||
if (((D_80178234 != 0x13) || (D_80161A2E != 2)) && (D_80178234 != 9)) {
|
||||
if (((gCurrentLevel != LEVEL_VENOM_SW) || (D_80161A2E != 2)) && (gCurrentLevel != LEVEL_VENOM_2)) {
|
||||
for (i = 1; i < 4; i++) {
|
||||
if (D_801778D0[i] < 0) {
|
||||
if (D_801778D0[i] == -1) {
|
||||
@ -457,45 +457,45 @@ void func_800A594C(void) {
|
||||
if (D_801778E8 != 0) {
|
||||
switch (D_8017789C) {
|
||||
case 0:
|
||||
D_80161A68 = SEGMENTED_TO_VIRTUAL(D_302DD70);
|
||||
sEnvSettings = SEGMENTED_TO_VIRTUAL(D_302DD70);
|
||||
break;
|
||||
case 1:
|
||||
D_80161A68 = SEGMENTED_TO_VIRTUAL(D_302DDB4);
|
||||
sEnvSettings = SEGMENTED_TO_VIRTUAL(D_302DDB4);
|
||||
break;
|
||||
case 2:
|
||||
D_80161A68 = SEGMENTED_TO_VIRTUAL(D_302DDF8);
|
||||
sEnvSettings = SEGMENTED_TO_VIRTUAL(D_302DDF8);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
D_80161A68 = SEGMENTED_TO_VIRTUAL(D_800D2F98[D_80178234]);
|
||||
sEnvSettings = SEGMENTED_TO_VIRTUAL(D_800D2F98[gCurrentLevel]);
|
||||
}
|
||||
if (D_8017782C == 0) {
|
||||
if (D_80178234 == 7) {
|
||||
if (gCurrentLevel == LEVEL_SOLAR) {
|
||||
func_8001D1C8(0xFF, 1);
|
||||
func_80019218(0x4100C023U, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_8001A55C(&D_80178280->unk_460[0].x, 0x3140807E);
|
||||
func_80019218(0x4100C023, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_8001A55C(&gPlayer[0].unk_460, 0x3140807E);
|
||||
}
|
||||
} else if (D_80178234 == 0xD) {
|
||||
D_80161A68 = SEGMENTED_TO_VIRTUAL(D_602E584);
|
||||
} else if (gCurrentLevel == LEVEL_AQUAS) {
|
||||
sEnvSettings = SEGMENTED_TO_VIRTUAL(D_602E584);
|
||||
}
|
||||
D_80177C90 = D_80161A68->unk_0A;
|
||||
D_80177C98 = D_80161A68->unk_00;
|
||||
D_801784AC = D_80161A68->unk_04;
|
||||
D_80161A36 = D_80161A68->unk_08;
|
||||
D_80178320 = D_80161A68->unk_0C;
|
||||
D_80178328 = D_80161A68->unk_10;
|
||||
D_80178330 = D_80161A68->unk_14;
|
||||
D_801783D8 = D_80161A68->unk_18;
|
||||
D_801783DC = D_80161A68->unk_1C;
|
||||
D_80178548 = D_80178564 = D_80161A70 = D_80161A68->unk_2C;
|
||||
D_8017854C = D_80178568 = D_80161A74 = D_80161A68->unk_30;
|
||||
D_80178550 = D_8017856C = D_80161A78 = D_80161A68->unk_34;
|
||||
D_80178554 = D_80161A68->unk_38;
|
||||
D_80178558 = D_80161A68->unk_3C;
|
||||
D_8017855C = D_80161A68->unk_40;
|
||||
D_801784D0 = D_801784F8 = D_80178520 = D_801784B8 = D_801784C4 = D_80161A68->unk_20;
|
||||
D_801784D4 = D_801784FC = D_80178524 = D_801784BC = D_801784C8 = D_80161A68->unk_24;
|
||||
D_801784D8 = D_80178500 = D_80178528 = D_801784C0 = D_801784CC = D_80161A68->unk_28;
|
||||
D_80177C90 = sEnvSettings->unk_0A;
|
||||
gLevelType = sEnvSettings->type;
|
||||
D_801784AC = sEnvSettings->unk_04;
|
||||
gBgColor = sEnvSettings->bgColor;
|
||||
gFogRed = sEnvSettings->fogR;
|
||||
gFogGreen = sEnvSettings->fogG;
|
||||
gFogBlue = sEnvSettings->fogB;
|
||||
gFogNear = sEnvSettings->fogN;
|
||||
gFogFar = sEnvSettings->fogF;
|
||||
gLight1R = gLight2R = D_80161A70 = sEnvSettings->lightR;
|
||||
gLight1G = gLight2G = D_80161A74 = sEnvSettings->lightG;
|
||||
gLight1B = gLight2B = D_80161A78 = sEnvSettings->lightB;
|
||||
gAmbientR = sEnvSettings->ambR;
|
||||
gAmbientG = sEnvSettings->ambG;
|
||||
gAmbientB = sEnvSettings->ambB;
|
||||
D_801784D0 = D_801784F8 = D_80178520 = D_801784B8 = D_801784C4 = sEnvSettings->unk_20.x;
|
||||
D_801784D4 = D_801784FC = D_80178524 = D_801784BC = D_801784C8 = sEnvSettings->unk_20.y;
|
||||
D_801784D8 = D_80178500 = D_80178528 = D_801784C0 = D_801784CC = sEnvSettings->unk_20.z;
|
||||
D_80161A44 = 12800.0f;
|
||||
D_80178540 = 40;
|
||||
D_80178544 = 40;
|
||||
@ -515,35 +515,35 @@ void func_800A5D6C(void) {
|
||||
for (i = 0; i < 1000; i++) {
|
||||
D_80178288[i] = (Rand_ZeroOneSeeded() * 480.0f) - 80.0f;
|
||||
D_80178290[i] = (Rand_ZeroOneSeeded() * 360.0f) - 60.0f;
|
||||
D_80178298[i] = (D_800C9C3C[i % ARRAY_COUNT(D_800C9C3C)] << 0x10) | D_800C9C3C[i % ARRAY_COUNT(D_800C9C3C)];
|
||||
D_80178298[i] = FILL_COLOR(D_800C9C3C[i % ARRAY_COUNT(D_800C9C3C)]);
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A5EBC(void) {
|
||||
func_800A5D6C();
|
||||
D_80177940 = -25000.0f;
|
||||
D_80178410 = 0x258;
|
||||
if (D_80178234 == 3) {
|
||||
D_80178410 = 0x12C;
|
||||
D_80178410 = 600;
|
||||
if (gCurrentLevel == LEVEL_AREA_6) {
|
||||
D_80178410 = 300;
|
||||
}
|
||||
if (D_80178234 == 0xF) {
|
||||
D_80178410 = 0x190;
|
||||
if (gCurrentLevel == LEVEL_UNK_15) {
|
||||
D_80178410 = 400;
|
||||
}
|
||||
if (D_80177834 != 7) {
|
||||
D_80178410 = 0x320;
|
||||
if (gGameState != GSTATE_PLAY) {
|
||||
D_80178410 = 800;
|
||||
}
|
||||
if (D_80178234 == 0xE) {
|
||||
D_80178410 = 0x1F4;
|
||||
if (gCurrentLevel == LEVEL_FORTUNA) {
|
||||
D_80178410 = 500;
|
||||
}
|
||||
if (D_801778E8 != 0) {
|
||||
D_80178410 = 0;
|
||||
}
|
||||
if (D_80178234 == 0x11) {
|
||||
D_80178410 = 0x12C;
|
||||
if (gCurrentLevel == LEVEL_BOLSE) {
|
||||
D_80178410 = 300;
|
||||
D_80177940 = -0.0f;
|
||||
}
|
||||
if (D_80178234 == 0xA) {
|
||||
D_80178410 = 0x320;
|
||||
if (gCurrentLevel == LEVEL_TRAINING) {
|
||||
D_80178410 = 800;
|
||||
D_80177940 = -0.0f;
|
||||
}
|
||||
}
|
||||
@ -564,29 +564,29 @@ void func_800A6070(Vec3f* arg0, u32 arg1) {
|
||||
func_80019218(arg1, arg0, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
}
|
||||
|
||||
void func_800A60B8(void* arg0) {
|
||||
void func_800A60B8(UnkEntity1C* arg0) {
|
||||
s32 i;
|
||||
u8* var_v0 = (u8*) arg0;
|
||||
|
||||
for (i = 0; i < 0x1C; i++, var_v0++) {
|
||||
for (i = 0; i < sizeof(UnkEntity1C); i++, var_v0++) {
|
||||
*var_v0 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A60E8(UnkStruct_D_80174750* arg0) {
|
||||
void func_800A60E8(UnkEntity30* arg0) {
|
||||
s32 i;
|
||||
u8* var_v0 = (u8*) arg0;
|
||||
|
||||
for (i = 0; i < sizeof(UnkStruct_D_80174750); i++, var_v0++) {
|
||||
for (i = 0; i < sizeof(UnkEntity30); i++, var_v0++) {
|
||||
*var_v0 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A6118(UnkStruct_D_80175A10* arg0) {
|
||||
void func_800A6118(UnkEntity28* arg0) {
|
||||
s32 i;
|
||||
u8* var_v0 = (u8*) arg0;
|
||||
|
||||
for (i = 0; i < sizeof(UnkStruct_D_80175A10); i++, var_v0++) {
|
||||
for (i = 0; i < sizeof(UnkEntity28); i++, var_v0++) {
|
||||
*var_v0 = 0;
|
||||
}
|
||||
}
|
||||
@ -595,41 +595,41 @@ void func_800A6148(void) {
|
||||
s16 i;
|
||||
s16 j;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80176438); i++) {
|
||||
func_800A60B8(&D_80176438[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gUnkEntities1C); i++) {
|
||||
func_800A60B8(&gUnkEntities1C[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80175A10); i++) {
|
||||
func_800A6118(&D_80175A10[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gUnkEntities28); i++) {
|
||||
func_800A6118(&gUnkEntities28[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80174750); i++) {
|
||||
func_800A60E8(&D_80174750[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gUnkEntities30); i++) {
|
||||
func_800A60E8(&gUnkEntities30[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80161B00); i++) {
|
||||
func_80060FBC(&D_80161B00[i].obj, &D_80161B00[i].unk_70);
|
||||
func_80061364(&D_80161B00[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects80); i++) {
|
||||
Object_Kill(&gObjects80[i].obj, &gObjects80[i].unk_70);
|
||||
Object_80_Initialize(&gObjects80[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80163400); i++) {
|
||||
func_80061394(&D_80163400[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects4C); i++) {
|
||||
Object_4C_Initialize(&gObjects4C[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80163FE0); i++) {
|
||||
func_80060FBC(&D_80163FE0[i].obj, &D_80163FE0[i].unk_100);
|
||||
func_800613C4(&D_80163FE0[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects2F4); i++) {
|
||||
Object_Kill(&gObjects2F4[i].obj, &gObjects2F4[i].unk_100);
|
||||
Object_2F4_Initialize(&gObjects2F4[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_8016F110); i++) {
|
||||
func_80060FBC(&D_8016F110[i].obj, &D_8016F110[i].unk_3FC);
|
||||
func_80061404(&D_8016F110[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects408); i++) {
|
||||
Object_Kill(&gObjects408[i].obj, &gObjects408[i].unk_3FC);
|
||||
Object_408_Initialize(&gObjects408[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
|
||||
func_80060FBC(&D_80170130[i].obj, &D_80170130[i].unk_80);
|
||||
func_80061474(&D_80170130[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects8C); i++) {
|
||||
Object_Kill(&gObjects8C[i].obj, &gObjects8C[i].unk_80);
|
||||
Object_8C_Initialize(&gObjects8C[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_801737E0); i++) {
|
||||
func_80060FBC(&D_801737E0[i].obj, &D_801737E0[i].unk_5C);
|
||||
func_80061444(&D_801737E0[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects6C); i++) {
|
||||
Object_Kill(&gObjects6C[i].obj, &gObjects6C[i].unk_5C);
|
||||
Object_6C_Initialize(&gObjects6C[i]);
|
||||
}
|
||||
for (i = 0; i < ARRAY_COUNT(D_80174050); i++) {
|
||||
func_80060FBC(&D_80174050[i].obj, &D_80174050[i].unk_38);
|
||||
func_80035E48(&D_80174050[i]);
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects70); i++) {
|
||||
Object_Kill(&gObjects70[i].obj, &gObjects70[i].unk_38);
|
||||
func_80035E48(&gObjects70[i]);
|
||||
}
|
||||
D_801782B8 = D_801782BC = D_801782C0 = D_801782D0 = D_80178284 = D_8017828C = D_8017812C = D_80177E70 = D_80177E78 =
|
||||
D_80177E80 = 0;
|
||||
@ -664,10 +664,10 @@ void func_800A6590(void) {
|
||||
if (D_80161A60 != 0) {
|
||||
D_80161A60--;
|
||||
if (D_80161A60 & 2) {
|
||||
D_80178348 = 0xFF;
|
||||
D_80178350 = 0xFF;
|
||||
D_80178354 = 0xFF;
|
||||
D_80178340 = 0xFE;
|
||||
D_80178348 = 255;
|
||||
D_80178350 = 255;
|
||||
D_80178354 = 255;
|
||||
D_80178340 = 254;
|
||||
} else {
|
||||
D_80178340 = 0;
|
||||
}
|
||||
@ -677,49 +677,49 @@ void func_800A6590(void) {
|
||||
void func_800A668C(f32 arg0, f32 arg1, f32 arg2) {
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80174050); i++) {
|
||||
if (D_80174050[i].obj.status == 0) {
|
||||
func_80035E48(&D_80174050[i]);
|
||||
D_80174050[i].obj.status = 2;
|
||||
D_80174050[i].unk_60 = 0;
|
||||
D_80174050[i].obj.pos.x = arg0;
|
||||
D_80174050[i].obj.pos.y = arg1;
|
||||
D_80174050[i].obj.pos.z = arg2;
|
||||
for (i = 0; i < ARRAY_COUNT(gObjects70); i++) {
|
||||
if (gObjects70[i].obj.status == 0) {
|
||||
func_80035E48(&gObjects70[i]);
|
||||
gObjects70[i].obj.status = 2;
|
||||
gObjects70[i].unk_60 = 0;
|
||||
gObjects70[i].obj.pos.x = arg0;
|
||||
gObjects70[i].obj.pos.y = arg1;
|
||||
gObjects70[i].obj.pos.z = arg2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A670C(Object_2F4* arg0, s32 arg1, f32 arg2, f32 arg3, f32 arg4) {
|
||||
func_800613C4(arg0);
|
||||
Object_2F4_Initialize(arg0);
|
||||
arg0->obj.status = 1;
|
||||
arg0->obj.id = 0xBD;
|
||||
arg0->obj.id = OBJECT_189;
|
||||
arg0->unk_0B8 = arg1;
|
||||
arg0->obj.pos.x = arg2;
|
||||
arg0->obj.pos.y = arg3;
|
||||
arg0->obj.pos.z = arg4;
|
||||
arg0->unk_10C = 0.5f;
|
||||
if ((arg1 == 0) || (arg1 == 1)) {
|
||||
arg0->unk_0EC = (Rand_ZeroOne() * 5.0f) + 10.0f;
|
||||
arg0->unk_0E8 = 10.0f;
|
||||
arg0->unk_0E8.y = (Rand_ZeroOne() * 5.0f) + 10.0f;
|
||||
arg0->unk_0E8.x = 10.0f;
|
||||
|
||||
if (arg1 == 0) {
|
||||
arg0->unk_0E8 = -10.0f;
|
||||
arg0->unk_0E8.x = -10.0f;
|
||||
}
|
||||
arg0->unk_0BC = 0xF;
|
||||
arg0->unk_0BC = 15;
|
||||
} else {
|
||||
if (D_80177C98 == 0) {
|
||||
arg0->unk_0EC = (Rand_ZeroOne() * 7.0f) + 7.0f;
|
||||
arg0->unk_0E8 = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0F0 = (Rand_ZeroOne() * 5.0f) + 5.0f;
|
||||
if (gLevelType == 0) {
|
||||
arg0->unk_0E8.y = (Rand_ZeroOne() * 7.0f) + 7.0f;
|
||||
arg0->unk_0E8.x = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0E8.z = (Rand_ZeroOne() * 5.0f) + 5.0f;
|
||||
if (D_80177880 == 1) {
|
||||
arg0->unk_0F0 = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0E8.z = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
}
|
||||
arg0->unk_0BC = (s32) (Rand_ZeroOne() * 10.0f) + 0xA;
|
||||
arg0->unk_0BC = (s32) (Rand_ZeroOne() * 10.0f) + 10;
|
||||
} else {
|
||||
arg0->unk_0E8 = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0EC = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0F0 = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0E8.x = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0E8.y = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0E8.z = (Rand_ZeroOne() - 0.5f) * 10.0f;
|
||||
arg0->unk_0BC = (s32) (Rand_ZeroOne() * 25.0f) + 25;
|
||||
arg0->unk_10C = 0.0f;
|
||||
}
|
||||
@ -738,9 +738,9 @@ void func_800A69F8(s32 arg0, f32 arg1, f32 arg2, f32 arg3) {
|
||||
s32 i;
|
||||
|
||||
if (D_801778E8 == 0) {
|
||||
for (i = ARRAY_COUNT(D_80163FE0) - 1; i >= 10; i--) {
|
||||
if (D_80163FE0[i].obj.status == 0) {
|
||||
func_800A670C(&D_80163FE0[i], arg0, arg1, arg2, arg3);
|
||||
for (i = ARRAY_COUNT(gObjects2F4) - 1; i >= 10; i--) {
|
||||
if (gObjects2F4[i].obj.status == 0) {
|
||||
func_800A670C(&gObjects2F4[i], arg0, arg1, arg2, arg3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -749,40 +749,40 @@ void func_800A69F8(s32 arg0, f32 arg1, f32 arg2, f32 arg3) {
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
s32 func_800A6A74(void) {
|
||||
return D_80161A90[0] && D_80161A90[1] && D_80161A90[2] && D_80161A90[3];
|
||||
return gGoldRingCount[0] && gGoldRingCount[1] && gGoldRingCount[2] && gGoldRingCount[3];
|
||||
}
|
||||
#else
|
||||
s32 func_800A6A74(void);
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_A4B50/func_800A6A74.s")
|
||||
#endif
|
||||
|
||||
void func_800A6AC0(UnkStruct_D_80178280* arg0, s32 arg1, s32 arg2) {
|
||||
if ((arg0->unk_1CC == 0) && (D_80177AB8[arg0->unk_1C4] < 1.0f)) {
|
||||
if (arg1 == 1) {
|
||||
D_80177D40[arg0->unk_1C4] = 30;
|
||||
if (arg0->unk_49C.unk_00 == 2) {
|
||||
D_80177D10[arg0->unk_1C4] -= arg2;
|
||||
if (D_80177D10[arg0->unk_1C4] <= 0) {
|
||||
func_800A69F8(1, arg0->unk_2D4.x, arg0->unk_2D4.y, arg0->unk_2D4.z);
|
||||
arg0->unk_49C.unk_00 = 1;
|
||||
func_8007D0E0(arg0->unk_2D4.x, arg0->unk_2D4.y, arg0->unk_2D4.z, 2.0f);
|
||||
D_80177D70[arg0->unk_1C4] = 50;
|
||||
func_800A5FA0(arg0->unk_460, 0x0900A02C, arg0->unk_1C4);
|
||||
void func_800A6AC0(Player* player, s32 side, s32 damage) {
|
||||
if ((player->unk_1CC == 0) && (D_80177AB8[player->unk_1C4] < 1.0f)) {
|
||||
if (side == 1) {
|
||||
D_80177D40[player->unk_1C4] = 30;
|
||||
if (player->wings.rightState == 2) {
|
||||
gRightWingHealth[player->unk_1C4] -= damage;
|
||||
if (gRightWingHealth[player->unk_1C4] <= 0) {
|
||||
func_800A69F8(1, player->unk_2D4.x, player->unk_2D4.y, player->unk_2D4.z);
|
||||
player->wings.rightState = 1;
|
||||
func_8007D0E0(player->unk_2D4.x, player->unk_2D4.y, player->unk_2D4.z, 2.0f);
|
||||
D_80177D70[player->unk_1C4] = 50;
|
||||
func_800A5FA0(&player->unk_460, 0x0900A02C, player->unk_1C4);
|
||||
if (D_8015F90C == 0) {
|
||||
D_8015F90C = 1000;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (arg1 == 2) {
|
||||
D_80177D58[arg0->unk_1C4] = 30;
|
||||
if (arg0->unk_49C.unk_01 == 2) {
|
||||
D_80177D28[arg0->unk_1C4] -= arg2;
|
||||
if (D_80177D28[arg0->unk_1C4] <= 0) {
|
||||
func_800A69F8(0, arg0->unk_2C8.x, arg0->unk_2C8.y, arg0->unk_2C8.z);
|
||||
arg0->unk_49C.unk_01 = 1;
|
||||
func_8007D0E0(arg0->unk_2C8.x, arg0->unk_2C8.y, arg0->unk_2C8.z, 2.0f);
|
||||
D_80177D88[arg0->unk_1C4] = 50;
|
||||
func_800A5FA0(arg0->unk_460, 0x0900A02C, arg0->unk_1C4);
|
||||
} else if (side == 2) {
|
||||
D_80177D58[player->unk_1C4] = 30;
|
||||
if (player->wings.leftState == 2) {
|
||||
gLeftWingHealth[player->unk_1C4] -= damage;
|
||||
if (gLeftWingHealth[player->unk_1C4] <= 0) {
|
||||
func_800A69F8(0, player->unk_2C8.x, player->unk_2C8.y, player->unk_2C8.z);
|
||||
player->wings.leftState = 1;
|
||||
func_8007D0E0(player->unk_2C8.x, player->unk_2C8.y, player->unk_2C8.z, 2.0f);
|
||||
D_80177D88[player->unk_1C4] = 50;
|
||||
func_800A5FA0(&player->unk_460, 0x0900A02C, player->unk_1C4);
|
||||
if (D_8015F90C == 0) {
|
||||
D_8015F90C = 1000;
|
||||
}
|
||||
@ -792,22 +792,22 @@ void func_800A6AC0(UnkStruct_D_80178280* arg0, s32 arg1, s32 arg2) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A6CD0(UnkStruct_D_80178280* arg0, s32 arg1, s32 arg2) {
|
||||
void func_800A6CD0(Player* arg0, s32 arg1, s32 damage) {
|
||||
Vec3f sp44;
|
||||
Vec3f sp38;
|
||||
f32 sp34 = 20.0f;
|
||||
|
||||
arg0->unk_1A4 = arg2;
|
||||
arg0->unk_1A4 = damage;
|
||||
arg0->unk_21C = arg1;
|
||||
if ((arg2 == 39) || (arg2 == 41) || (arg2 == 42) || (arg2 == 43)) {
|
||||
arg2 = 40;
|
||||
if ((damage == 39) || (damage == 41) || (damage == 42) || (damage == 43)) {
|
||||
damage = 40;
|
||||
}
|
||||
if (gExpertMode) {
|
||||
arg0->unk_268 = arg2 * 2;
|
||||
arg0->damage = damage * 2;
|
||||
} else {
|
||||
arg0->unk_268 = arg2;
|
||||
arg0->damage = damage;
|
||||
}
|
||||
if (arg0->unk_268 != 0) {
|
||||
if (arg0->damage != 0) {
|
||||
arg0->unk_220 = 4;
|
||||
}
|
||||
arg0->unk_284 = 0;
|
||||
@ -815,30 +815,30 @@ void func_800A6CD0(UnkStruct_D_80178280* arg0, s32 arg1, s32 arg2) {
|
||||
if (arg0->unk_1A4 > 40) {
|
||||
sp34 = (arg0->unk_110 * 0.3f) + 20.0f;
|
||||
arg0->unk_498 = 5;
|
||||
} else if ((D_80178234 == 9) && (D_80178284 == 0)) {
|
||||
} else if ((gCurrentLevel == LEVEL_VENOM_2) && (D_80178284 == 0)) {
|
||||
arg0->unk_498 = 3;
|
||||
} else if ((D_80178234 == 6) || (D_80178234 == 13)) {
|
||||
} else if ((gCurrentLevel == LEVEL_VENOM_1) || (gCurrentLevel == LEVEL_AQUAS)) {
|
||||
arg0->unk_498 = 5;
|
||||
} else {
|
||||
arg0->unk_498 = 20;
|
||||
}
|
||||
if (D_80177AD0[arg0->unk_1C4] != 0) {
|
||||
func_800A5FA0(arg0->unk_460, 0x0903900E, arg0->unk_1C4);
|
||||
func_800A5FA0(&arg0->unk_460, 0x0903900E, arg0->unk_1C4);
|
||||
D_80177AE8[arg0->unk_1C4] = 5;
|
||||
D_80177AB8[arg0->unk_1C4] = 2.0f;
|
||||
arg0->unk_268 = 0;
|
||||
arg0->damage = 0;
|
||||
} else {
|
||||
if (arg0->unk_264 != 0) {
|
||||
if (arg0->unk_264 < 50) {
|
||||
if (arg0->health != 0) {
|
||||
if (arg0->health < 50) {
|
||||
func_80019218(0x49008011, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
} else if (arg0->unk_264 < 100) {
|
||||
} else if (arg0->health < 100) {
|
||||
func_80019218(0x49008010, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
}
|
||||
}
|
||||
if (arg2 < 25) {
|
||||
func_800A5FA0(arg0->unk_460, 0x0903900E, arg0->unk_1C4);
|
||||
if (damage < 25) {
|
||||
func_800A5FA0(&arg0->unk_460, 0x0903900E, arg0->unk_1C4);
|
||||
} else {
|
||||
func_800A5FA0(arg0->unk_460, 0x0903A00F, arg0->unk_1C4);
|
||||
func_800A5FA0(&arg0->unk_460, 0x0903A00F, arg0->unk_1C4);
|
||||
}
|
||||
}
|
||||
Matrix_RotateY(gCalcMatrix, arg0->unk_114 * M_DTOR, 0);
|
||||
@ -906,7 +906,7 @@ void func_800A6CD0(UnkStruct_D_80178280* arg0, s32 arg1, s32 arg2) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((D_80178234 == 6) && (arg0->unk_1A4 == 42)) {
|
||||
if ((gCurrentLevel == LEVEL_VENOM_1) && (arg0->unk_1A4 == 42)) {
|
||||
if (arg0->unk_074 > 0.0f) {
|
||||
arg0->unk_0D8.x = -30.0f;
|
||||
} else {
|
||||
@ -916,12 +916,12 @@ void func_800A6CD0(UnkStruct_D_80178280* arg0, s32 arg1, s32 arg2) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A729C(UnkStruct_D_80178280* arg0, u32 arg1, f32 arg2, f32 arg3) {
|
||||
void func_800A729C(Player* arg0, u32 arg1, f32 arg2, f32 arg3) {
|
||||
arg0->unk_21C = arg1;
|
||||
switch (arg1) {
|
||||
case 1:
|
||||
case 2:
|
||||
arg0->unk_074 = arg0->unk_090;
|
||||
arg0->unk_074 = arg0->unk_08C.y;
|
||||
arg0->unk_0D8.x = 0.0f;
|
||||
arg0->unk_074 += D_800D2FEC[arg0->unk_21C];
|
||||
if (arg0->unk_1CC == 1) {
|
||||
@ -975,12 +975,12 @@ s32 func_800A73E4(f32* arg0, s32* arg1, f32 posX, f32 posY, f32 posZ) {
|
||||
f32 cry;
|
||||
f32 crx;
|
||||
|
||||
switch (D_80178234) {
|
||||
case 7:
|
||||
switch (gCurrentLevel) {
|
||||
case LEVEL_SOLAR:
|
||||
spA4 = SEGMENTED_TO_VIRTUAL(D_6001C50);
|
||||
spA0 = SEGMENTED_TO_VIRTUAL(D_6022760);
|
||||
break;
|
||||
case 8:
|
||||
case LEVEL_ZONESS:
|
||||
spA4 = SEGMENTED_TO_VIRTUAL(D_6009ED0);
|
||||
spA0 = SEGMENTED_TO_VIRTUAL(D_602AC50);
|
||||
break;
|
||||
@ -1037,9 +1037,9 @@ s32 func_800A73E4(f32* arg0, s32* arg1, f32 posX, f32 posY, f32 posZ) {
|
||||
}
|
||||
|
||||
s32 func_800A78C4(f32* arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6) {
|
||||
if ((fabsf((arg0[0] + arg3) - arg6) < (arg0[1] + D_8017853C)) &&
|
||||
(fabsf((arg0[4] + arg1) - arg4) < (arg0[5] + D_8017853C)) &&
|
||||
(fabsf((arg0[2] + arg2) - arg5) < (arg0[3] + D_8017853C))) {
|
||||
if ((fabsf(arg0[0] + arg3 - arg6) < (arg0[1] + D_8017853C)) &&
|
||||
(fabsf(arg0[4] + arg1 - arg4) < (arg0[5] + D_8017853C)) &&
|
||||
(fabsf(arg0[2] + arg2 - arg5) < (arg0[3] + D_8017853C))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -1047,8 +1047,8 @@ s32 func_800A78C4(f32* arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
// stupid 0.0f stuff
|
||||
s32 func_800A7974(UnkStruct_D_80178280* arg0, f32* arg1, s32* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7,
|
||||
f32 arg8, f32 arg9, f32 argA, f32 argB) {
|
||||
s32 func_800A7974(Player* arg0, f32* arg1, s32* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
||||
f32 arg9, f32 argA, f32 argB) {
|
||||
s32 spB4;
|
||||
s32 i;
|
||||
f32 var_fv0;
|
||||
@ -1165,12 +1165,12 @@ s32 func_800A7974(UnkStruct_D_80178280* arg0, f32* arg1, s32* arg2, f32 arg3, f3
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
s32 func_800A7974(UnkStruct_D_80178280* arg0, f32* arg1, s32* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7,
|
||||
f32 arg8, f32 arg9, f32 argA, f32 argB);
|
||||
s32 func_800A7974(Player* arg0, f32* arg1, s32* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
||||
f32 arg9, f32 argA, f32 argB);
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/sf_A4B50/func_800A7974.s")
|
||||
#endif
|
||||
|
||||
bool func_800A8054(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, Vec3f* arg7, Vec3f* arg8) {
|
||||
bool func_800A8054(s32 objId, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, Vec3f* arg7, Vec3f* arg8) {
|
||||
Vec3f sp54;
|
||||
Vec3f sp48;
|
||||
Vec3f sp3C;
|
||||
@ -1187,7 +1187,7 @@ bool func_800A8054(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f
|
||||
sp48.z = arg3;
|
||||
|
||||
var_v0 = false;
|
||||
switch (arg0) {
|
||||
switch (objId) {
|
||||
case 0xB4:
|
||||
var_s0 = 0;
|
||||
break;
|
||||
@ -1356,7 +1356,7 @@ bool func_800A8054(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f
|
||||
}
|
||||
|
||||
// arg5 could be Vec3f (not Vec3f*)
|
||||
s32 func_800A8304(UnkStruct_D_80178280* arg0, s32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7) {
|
||||
s32 func_800A8304(Player* arg0, s32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7) {
|
||||
Vec3f sp84;
|
||||
Vec3f sp78;
|
||||
Vec3f sp6C;
|
||||
@ -1421,12 +1421,12 @@ s32 func_800A8304(UnkStruct_D_80178280* arg0, s32 arg1, f32 arg2, f32 arg3, f32
|
||||
return 0;
|
||||
}
|
||||
|
||||
void func_800A86E4(UnkStruct_D_80178280* arg0) {
|
||||
void func_800A86E4(Player* arg0) {
|
||||
s32 i;
|
||||
Object_6C* var_s0;
|
||||
s32 sp6C;
|
||||
|
||||
for (i = 0, var_s0 = D_801737E0; i < ARRAY_COUNT(D_801737E0); i++, var_s0++) {
|
||||
for (i = 0, var_s0 = gObjects6C; i < ARRAY_COUNT(gObjects6C); i++, var_s0++) {
|
||||
if ((var_s0->obj.status == 2) && ((arg0->unk_1C8 == 3) || (arg0->unk_1C8 == 5)) && (var_s0->unk_4A == 0) &&
|
||||
func_800A7974(arg0, var_s0->unk_1C.unk_0C, &sp6C, var_s0->obj.pos.x, var_s0->obj.pos.y, var_s0->obj.pos.z,
|
||||
0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f)) {
|
||||
@ -1436,7 +1436,7 @@ void func_800A86E4(UnkStruct_D_80178280* arg0) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A8804(UnkStruct_D_80178280* arg0, UnkStruct_D_80178280* arg1) {
|
||||
void func_800A8804(Player* arg0, Player* arg1) {
|
||||
if (arg0->unk_498 == 0) {
|
||||
func_800A6CD0(arg0, 0, D_800D3000[arg0->unk_1CC][arg1->unk_1CC]);
|
||||
arg0->unk_288 = arg1->unk_1C4 + 1;
|
||||
@ -1444,7 +1444,7 @@ void func_800A8804(UnkStruct_D_80178280* arg0, UnkStruct_D_80178280* arg1) {
|
||||
}
|
||||
}
|
||||
|
||||
void func_800A887C(UnkStruct_D_80178280* arg0) {
|
||||
void func_800A887C(Player* arg0) {
|
||||
Vec3f sp3C;
|
||||
|
||||
Matrix_Translate(gCalcMatrix, arg0->unk_074, arg0->unk_078, arg0->unk_138, 0);
|
||||
@ -1482,7 +1482,7 @@ void func_800A887C(UnkStruct_D_80178280* arg0) {
|
||||
Matrix_RotateZ(gCalcMatrix, -(arg0->unk_0F8 * M_DTOR), 1);
|
||||
sp3C.y = 0.0f;
|
||||
sp3C.z = 0.0f;
|
||||
if (arg0->unk_49C.unk_01 == 2) {
|
||||
if (arg0->wings.leftState == 2) {
|
||||
sp3C.x = 40.0f;
|
||||
} else {
|
||||
sp3C.y = -10.0f;
|
||||
@ -1492,7 +1492,7 @@ void func_800A887C(UnkStruct_D_80178280* arg0) {
|
||||
sp3C.x = 24.0f;
|
||||
}
|
||||
Matrix_MultVec3f(gCalcMatrix, &sp3C, &arg0->unk_2C8);
|
||||
if (arg0->unk_49C.unk_00 == 2) {
|
||||
if (arg0->wings.rightState == 2) {
|
||||
sp3C.x = -40.0f;
|
||||
} else {
|
||||
sp3C.x = -30.0f;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@
|
||||
void func_DF4260_80187520(s32 arg0, s32 arg1) {
|
||||
}
|
||||
|
||||
void func_DF4260_80187530(s32 arg0) {
|
||||
void func_DF4260_80187530(Object_80* arg0) {
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/us/nonmatchings/overlays/ovl_DF4260/DF4260/func_DF4260_8018753C.s")
|
||||
|
@ -14,7 +14,7 @@
|
||||
void func_DF4260_801924A8(UnkStruct_func_DF4260_801924A8* arg0) {
|
||||
switch (arg0->unk48) {
|
||||
case 0:
|
||||
if (D_80178280[0].unk_07C < arg0->unkC) {
|
||||
if (gPlayer[0].unk_07C < arg0->unkC) {
|
||||
D_80177AB0 = 0;
|
||||
D_80177A98 = 0;
|
||||
arg0->unk48++;
|
||||
|
@ -371,12 +371,12 @@ void func_EBFBE0_80191B20(void) {
|
||||
D_80178354 = 0;
|
||||
D_80178340 = 0;
|
||||
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 0xFF;
|
||||
|
||||
D_80161A36 = 0;
|
||||
gBgColor = 0;
|
||||
|
||||
D_EBFBE0_801B91A4 = 0;
|
||||
if ((D_80161A34 == 7) && (D_80178234 == 10)) {
|
||||
if ((D_80161A34 == 7) && (gCurrentLevel == LEVEL_TRAINING)) {
|
||||
D_80161A34 = 0;
|
||||
D_EBFBE0_801B91A4 = 1;
|
||||
}
|
||||
@ -387,7 +387,7 @@ void func_EBFBE0_80191B20(void) {
|
||||
var_v0_2 = gExpertMode;
|
||||
gExpertMode = false;
|
||||
|
||||
D_80177DB0 = 0;
|
||||
gFrameCount = 0;
|
||||
D_EBFBE0_801B8284 = 0;
|
||||
D_EBFBE0_801B9178 = 0;
|
||||
D_EBFBE0_801B917C = 0;
|
||||
@ -504,7 +504,7 @@ void func_EBFBE0_80191B20(void) {
|
||||
D_EBFBE0_801B91EC = 0;
|
||||
D_EBFBE0_801B9244 = 0;
|
||||
D_EBFBE0_801B9248 = 0;
|
||||
func_8001D444(0, 0x24, 0, 0xFF);
|
||||
func_8001D444(0, 36, 0, 255);
|
||||
}
|
||||
|
||||
void func_EBFBE0_801920C4(void) {
|
||||
@ -533,7 +533,7 @@ void func_EBFBE0_801920C4(void) {
|
||||
func_EBFBE0_80192190();
|
||||
break;
|
||||
}
|
||||
D_80177DB0++;
|
||||
gFrameCount++;
|
||||
}
|
||||
|
||||
void func_EBFBE0_80192190(void) {
|
||||
@ -665,7 +665,7 @@ void func_EBFBE0_80192340(void) {
|
||||
}
|
||||
|
||||
void func_EBFBE0_801924C4(void) {
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 0xFF;
|
||||
D_EBFBE0_801B912C = 0;
|
||||
|
||||
switch (D_EBFBE0_801B9124) {
|
||||
@ -752,7 +752,7 @@ void func_EBFBE0_801928BC(void) {
|
||||
if (D_80178340 == 0xFF) {
|
||||
D_80178410 = 0;
|
||||
D_EBFBE0_801B9124 = 100;
|
||||
D_80177834 = 4;
|
||||
gGameState = GSTATE_MAP;
|
||||
D_8017783C = 2;
|
||||
D_80177B40 = 0;
|
||||
D_80177898 = 0;
|
||||
@ -767,8 +767,8 @@ void func_EBFBE0_801928BC(void) {
|
||||
|
||||
void func_EBFBE0_80192938(void) {
|
||||
if (D_80178340 == 0xFF) {
|
||||
D_80178234 = 0xA;
|
||||
D_80177834 = 7;
|
||||
gCurrentLevel = LEVEL_TRAINING;
|
||||
gGameState = GSTATE_PLAY;
|
||||
D_8017783C = 2;
|
||||
D_80177854 = 0;
|
||||
D_80177898 = 0;
|
||||
@ -780,7 +780,7 @@ void func_EBFBE0_80192938(void) {
|
||||
func_8001DC6C(0, 28);
|
||||
} else {
|
||||
D_80178340 += 0x20;
|
||||
if (D_80178340 >= 0x100) {
|
||||
if (D_80178340 > 0xFF) {
|
||||
D_80178340 = 0xFF;
|
||||
}
|
||||
}
|
||||
@ -790,7 +790,7 @@ void func_EBFBE0_801929F0(void) {
|
||||
s32 i;
|
||||
|
||||
D_800D2870 = 0;
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 0xFF;
|
||||
gStopInputTimer = 0;
|
||||
D_80178410 = 800;
|
||||
D_EBFBE0_801B9248 = 0;
|
||||
@ -874,7 +874,7 @@ void func_EBFBE0_80192D58(void) {
|
||||
D_EBFBE0_801AE620[i], 0.1f);
|
||||
}
|
||||
|
||||
D_80161A38 += 4;
|
||||
gBlurAlpha += 4;
|
||||
|
||||
if (D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_04 == D_EBFBE0_801AE570[D_EBFBE0_801B91A4]) {
|
||||
for (i = 0; i < 6; i++) {
|
||||
@ -883,7 +883,7 @@ void func_EBFBE0_80192D58(void) {
|
||||
D_EBFBE0_801AE638[i].unk_00.unk_1C = D_EBFBE0_801AE5D0[i];
|
||||
}
|
||||
D_EBFBE0_801B91BC = 1;
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 0xFF;
|
||||
D_EBFBE0_801B912C = 1;
|
||||
}
|
||||
break;
|
||||
@ -949,7 +949,7 @@ void func_EBFBE0_80192D58(void) {
|
||||
break;
|
||||
|
||||
case 11:
|
||||
D_80161A38 = 0x10;
|
||||
gBlurAlpha = 0x10;
|
||||
D_EBFBE0_801B9178 = 3;
|
||||
D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_0C -= 0.01f;
|
||||
D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_10 -= 0.01f;
|
||||
@ -1000,11 +1000,11 @@ void func_EBFBE0_80192D58(void) {
|
||||
Math_SmoothStepToF(&D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_00.unk_1C, var_fs0, 0.25f, 100.0f, 0.1f);
|
||||
Math_SmoothStepToF(&D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_04, var_fs1, 0.25f, 100.0f, 0.1f);
|
||||
|
||||
D_80161A38 += 4;
|
||||
gBlurAlpha += 4;
|
||||
|
||||
if ((D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_00.unk_1C == var_fs0) &&
|
||||
(D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_04 == var_fs1)) {
|
||||
D_80161A38 += 255;
|
||||
gBlurAlpha += 255;
|
||||
D_EBFBE0_801B9124 = D_EBFBE0_801B91A4;
|
||||
|
||||
if (D_EBFBE0_801B91A4 == 4 && D_EBFBE0_801B91AC) {
|
||||
@ -1020,7 +1020,7 @@ void func_EBFBE0_80192D58(void) {
|
||||
D_EBFBE0_801B8284 += 18;
|
||||
} else {
|
||||
D_80178410 = 0;
|
||||
D_80177834 = 2;
|
||||
gGameState = GSTATE_TITLE;
|
||||
D_8017783C = 2;
|
||||
D_80177AE0 = 0;
|
||||
D_EBFBE0_801B827C = 1;
|
||||
@ -1066,7 +1066,7 @@ void func_EBFBE0_80193864(void) {
|
||||
void func_EBFBE0_80193B04(void) {
|
||||
s32 i;
|
||||
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 0xFF;
|
||||
gStopInputTimer = 0;
|
||||
D_80178410 = 800;
|
||||
|
||||
@ -1141,7 +1141,7 @@ void func_EBFBE0_80193C4C(void) {
|
||||
Math_SmoothStepToF(&D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_00.unk_1C, 25.0f, 0.25f, 100.0f, 0.1f);
|
||||
Math_SmoothStepToF(&D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_04, 90.0f, 0.25f, 100.0f, 0.1f);
|
||||
|
||||
D_80161A38 += 4;
|
||||
gBlurAlpha += 4;
|
||||
|
||||
if (D_EBFBE0_801AE878[D_EBFBE0_801B91A8].unk_38.unk_04 == D_EBFBE0_801AEF84[D_EBFBE0_801B91A8]) {
|
||||
for (i = 0; i < 3; i++) {
|
||||
@ -1153,7 +1153,7 @@ void func_EBFBE0_80193C4C(void) {
|
||||
D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_00.unk_1C = 25.0f;
|
||||
D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_04 = 90.0f;
|
||||
D_EBFBE0_801B91BC = 1;
|
||||
D_80161A38 = 0xFF;
|
||||
gBlurAlpha = 0xFF;
|
||||
D_EBFBE0_801B912C = 1;
|
||||
}
|
||||
break;
|
||||
@ -1180,7 +1180,7 @@ void func_EBFBE0_80193C4C(void) {
|
||||
break;
|
||||
|
||||
case 11:
|
||||
D_80161A38 = 0x10;
|
||||
gBlurAlpha = 0x10;
|
||||
D_EBFBE0_801B9178 = 5;
|
||||
D_EBFBE0_801AE878[D_EBFBE0_801B91A8].unk_38.unk_0C -= 0.01f;
|
||||
D_EBFBE0_801AE878[D_EBFBE0_801B91A8].unk_38.unk_10 -= 0.01f;
|
||||
@ -1229,11 +1229,11 @@ void func_EBFBE0_80193C4C(void) {
|
||||
Math_SmoothStepToF(&D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_00.unk_1C, -10.0f, 0.35f, 100.0f, 0.1f);
|
||||
Math_SmoothStepToF(&D_EBFBE0_801AE638[D_EBFBE0_801B91A4].unk_38.unk_04, 150.0f, 0.35f, 100.0f, 0.1f);
|
||||
|
||||
D_80161A38 += 4;
|
||||
gBlurAlpha += 4;
|
||||
|
||||
if ((var_fs0 == D_EBFBE0_801AE878[D_EBFBE0_801B91A8].unk_00.unk_1C) &&
|
||||
(D_EBFBE0_801AE878[D_EBFBE0_801B91A8].unk_38.unk_04 == -15.5f)) {
|
||||
D_80161A38 += 0xFF;
|
||||
gBlurAlpha += 0xFF;
|
||||
D_EBFBE0_801B9124 = (D_EBFBE0_801B91A8 + 1) * 10;
|
||||
D_801778AC = D_EBFBE0_801B91A8;
|
||||
D_EBFBE0_801B91C4 = 1;
|
||||
@ -1278,30 +1278,30 @@ void func_EBFBE0_80194678(void) {
|
||||
D_EBFBE0_801B91BC = 1;
|
||||
D_EBFBE0_801B91A0 = 0;
|
||||
|
||||
D_80177C74 = gSaveFile.save.data.unk_14;
|
||||
func_800182F4(D_EBFBE0_801AE998[D_80177C74] | 0xE0000000);
|
||||
gSoundMode = gSaveFile.save.data.soundMode;
|
||||
func_800182F4(D_EBFBE0_801AE998[gSoundMode] | 0xE0000000);
|
||||
|
||||
D_80177C80[0] = gSaveFile.save.data.unk_15;
|
||||
D_80177C80[1] = gSaveFile.save.data.unk_16;
|
||||
D_80177C80[2] = gSaveFile.save.data.unk_17;
|
||||
gVolumeSettings[0] = gSaveFile.save.data.musicVolume;
|
||||
gVolumeSettings[1] = gSaveFile.save.data.voiceVolume;
|
||||
gVolumeSettings[2] = gSaveFile.save.data.sfxVolume;
|
||||
|
||||
if (D_80177C80[0] > 99) {
|
||||
D_80177C80[0] = 99;
|
||||
if (gVolumeSettings[0] > 99) {
|
||||
gVolumeSettings[0] = 99;
|
||||
}
|
||||
if (D_80177C80[1] > 99) {
|
||||
D_80177C80[1] = 99;
|
||||
if (gVolumeSettings[1] > 99) {
|
||||
gVolumeSettings[1] = 99;
|
||||
}
|
||||
if (D_80177C80[2] > 99) {
|
||||
D_80177C80[2] = 99;
|
||||
if (gVolumeSettings[2] > 99) {
|
||||
gVolumeSettings[2] = 99;
|
||||
}
|
||||
|
||||
func_8001D8A8(0, D_80177C80[0]);
|
||||
func_8001D8A8(1, D_80177C80[1]);
|
||||
func_8001D8A8(2, D_80177C80[2]);
|
||||
func_8001D8A8(0, gVolumeSettings[0]);
|
||||
func_8001D8A8(1, gVolumeSettings[1]);
|
||||
func_8001D8A8(2, gVolumeSettings[2]);
|
||||
|
||||
D_EBFBE0_801AEB48[0].unk_18 = D_80177C80[0] + 146.0f;
|
||||
D_EBFBE0_801AEB48[1].unk_18 = D_80177C80[1] + 146.0f;
|
||||
D_EBFBE0_801AEB48[2].unk_18 = D_80177C80[2] + 146.0f;
|
||||
D_EBFBE0_801AEB48[0].unk_18 = gVolumeSettings[0] + 146.0f;
|
||||
D_EBFBE0_801AEB48[1].unk_18 = gVolumeSettings[1] + 146.0f;
|
||||
D_EBFBE0_801AEB48[2].unk_18 = gVolumeSettings[2] + 146.0f;
|
||||
|
||||
D_EBFBE0_801B9288 = 0;
|
||||
D_EBFBE0_801B9284 = 0;
|
||||
@ -1340,7 +1340,7 @@ void func_EBFBE0_801948A8(void) {
|
||||
temp = func_EBFBE0_8019C418(&D_EBFBE0_801B9288, 3, 1, 0, 20, 5, 4, D_80177AF8, &D_EBFBE0_801B9250);
|
||||
if (temp != 0) {
|
||||
D_EBFBE0_801B9270[sp34] = 255.0f;
|
||||
func_80019218(0x49000002U, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x49000002, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
}
|
||||
|
||||
if (D_EBFBE0_801B9288 == 0) {
|
||||
@ -1375,17 +1375,17 @@ void func_EBFBE0_801948A8(void) {
|
||||
}
|
||||
|
||||
void func_EBFBE0_80194AEC(void) {
|
||||
s32 sp3C = D_80177C74;
|
||||
s32 sp3C = gSoundMode;
|
||||
s32 pad;
|
||||
|
||||
if (func_EBFBE0_8019C418(&sp3C, 2, 0, 0, 20, 5, 4, D_80177AF8, &D_EBFBE0_801B9260) != 0) {
|
||||
func_80019218(0x49000002, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
D_80177C74 = sp3C;
|
||||
if (D_80177C74 >= 3) {
|
||||
D_80177C74 = 0;
|
||||
gSoundMode = sp3C;
|
||||
if (gSoundMode >= 3) {
|
||||
gSoundMode = 0;
|
||||
}
|
||||
gSaveFile.save.data.unk_14 = D_80177C74;
|
||||
func_800182F4(D_EBFBE0_801AE998[D_80177C74] | 0xE0000000);
|
||||
gSaveFile.save.data.soundMode = gSoundMode;
|
||||
func_800182F4(D_EBFBE0_801AE998[gSoundMode] | 0xE0000000);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1397,7 +1397,7 @@ void func_EBFBE0_80194BD0(void) {
|
||||
if (func_EBFBE0_8019C66C(&(D_EBFBE0_801AEB48[D_EBFBE0_801B9288 - 1].unk_18), 146.0f, 245.0f, &D_EBFBE0_801B9268)) {
|
||||
var_v1 = D_EBFBE0_801AEB48[D_EBFBE0_801B9288 - 1].unk_18 - 146.0f;
|
||||
|
||||
D_80177C80[D_EBFBE0_801B9288 - 1] = var_v1;
|
||||
gVolumeSettings[D_EBFBE0_801B9288 - 1] = var_v1;
|
||||
|
||||
if (var_v1 > 99) {
|
||||
var_v1 = 99;
|
||||
@ -1405,15 +1405,15 @@ void func_EBFBE0_80194BD0(void) {
|
||||
|
||||
switch (D_EBFBE0_801B9288 - 1) {
|
||||
case 0:
|
||||
gSaveFile.save.data.unk_15 = var_v1;
|
||||
gSaveFile.save.data.musicVolume = var_v1;
|
||||
break;
|
||||
|
||||
case 1:
|
||||
gSaveFile.save.data.unk_16 = var_v1;
|
||||
gSaveFile.save.data.voiceVolume = var_v1;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
gSaveFile.save.data.unk_17 = var_v1;
|
||||
gSaveFile.save.data.sfxVolume = var_v1;
|
||||
break;
|
||||
}
|
||||
func_8001D8A8(D_EBFBE0_801B924C, var_v1);
|
||||
@ -1475,7 +1475,7 @@ void func_EBFBE0_80194CE4(void) {
|
||||
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
|
||||
|
||||
switch (D_80177C74) {
|
||||
switch (gSoundMode) {
|
||||
case 0:
|
||||
TextureRect_8bIA(&gMasterDisp, D_800CD90, 56, 13, D_EBFBE0_801AEFA8[8], D_EBFBE0_801AEFD4[8], 1.0f, 1.0f);
|
||||
break;
|
||||
@ -1639,7 +1639,7 @@ void func_EBFBE0_80195944(void) {
|
||||
if (gChangedInput[D_80177AF8].button & B_BUTTON) {
|
||||
if (!D_EBFBE0_801B9320) {
|
||||
func_80019218(0x49000021, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_8001D444(0, 0x24, 0, 0xFF);
|
||||
func_8001D444(0, 36, 0, 255);
|
||||
D_80177898 = 0;
|
||||
D_EBFBE0_801B9124 = 1000;
|
||||
D_EBFBE0_801B912C = 0;
|
||||
@ -1796,7 +1796,7 @@ void func_EBFBE0_801962A4(void) {
|
||||
break;
|
||||
}
|
||||
D_80177898 = 0;
|
||||
D_EBFBE0_801B9124 = 0x3E8;
|
||||
D_EBFBE0_801B9124 = 1000;
|
||||
D_EBFBE0_801B912C = 0;
|
||||
D_EBFBE0_801B9244 = 1;
|
||||
break;
|
||||
@ -1943,13 +1943,13 @@ void func_EBFBE0_80196894(void) {
|
||||
}
|
||||
}
|
||||
|
||||
if (D_80177DB0 & sp74[1]) {
|
||||
if (gFrameCount & sp74[1]) {
|
||||
sp7C[1] = D_EBFBE0_801AED20[1];
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, sp7C[1], sp7C[1], 255);
|
||||
TextureRect_8bIA(&gMasterDisp, D_8009980, 32, 12, D_EBFBE0_801AF094[1], D_EBFBE0_801AF0AC[1], 1.0f, 1.0f);
|
||||
}
|
||||
|
||||
if (D_80177DB0 & sp74[0]) {
|
||||
if (gFrameCount & sp74[0]) {
|
||||
sp7C[0] = D_EBFBE0_801AED20[0];
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, sp7C[0], sp7C[0], 255);
|
||||
TextureRect_8bIA(&gMasterDisp, D_8009B00, 40, 12, D_EBFBE0_801AF094[2], D_EBFBE0_801AF0AC[2], 1.0f, 1.0f);
|
||||
@ -2779,7 +2779,7 @@ void func_EBFBE0_80199820(s32 arg0) {
|
||||
D_EBFBE0_801B9348[arg0]--;
|
||||
}
|
||||
|
||||
if (D_80177DB0 & var_v0) {
|
||||
if (gFrameCount & var_v0) {
|
||||
colorGB = D_EBFBE0_801B9358[arg0];
|
||||
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
|
||||
@ -2958,7 +2958,7 @@ void func_EBFBE0_8019A214(void) {
|
||||
|
||||
void func_EBFBE0_8019A298(void) {
|
||||
if (D_EBFBE0_801B91EC == 0.0f) {
|
||||
D_80177834 = 6;
|
||||
gGameState = GSTATE_VS_INIT;
|
||||
D_8017783C = 2;
|
||||
D_8017784C = 0;
|
||||
D_80177898 = 0;
|
||||
@ -2984,7 +2984,7 @@ void func_EBFBE0_8019A2E0(void) {
|
||||
}
|
||||
|
||||
if (func_EBFBE0_8019C418(&D_EBFBE0_801B93D4, 4, 0, 0, 20, 2, 4, i, &D_EBFBE0_801B9380[i])) {
|
||||
func_80019218(0x49000002U, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x49000002, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
D_801778A4 = D_EBFBE0_801B93D4 + 1;
|
||||
}
|
||||
|
||||
@ -3190,7 +3190,7 @@ void func_EBFBE0_8019AB30(void) {
|
||||
}
|
||||
}
|
||||
|
||||
if (D_80177DB0 & var_v0) {
|
||||
if (gFrameCount & var_v0) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x53);
|
||||
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
|
||||
@ -3250,7 +3250,7 @@ void func_EBFBE0_8019AD84(void) {
|
||||
}
|
||||
}
|
||||
|
||||
if (D_80177DB0 & var_v0) {
|
||||
if (gFrameCount & var_v0) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x53);
|
||||
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
|
||||
@ -3308,7 +3308,7 @@ void func_EBFBE0_8019AFFC(void) {
|
||||
D_EBFBE0_801B91F0 = 1;
|
||||
}
|
||||
|
||||
if (D_80177DB0 & var_v0) {
|
||||
if (gFrameCount & var_v0) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x53);
|
||||
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
|
||||
@ -3429,7 +3429,7 @@ void func_EBFBE0_8019B5AC(void) {
|
||||
}
|
||||
}
|
||||
|
||||
if (D_80177DB0 & var_v0) {
|
||||
if (gFrameCount & var_v0) {
|
||||
RCP_SetupDL(&gMasterDisp, 0x53);
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, colorGB, colorGB, 255);
|
||||
TextureRect_8bIA(&gMasterDisp, D_7003650, 40, 12, 143.0f, 210.0f, 1.0f, 1.0f);
|
||||
@ -3852,10 +3852,10 @@ s32 func_EBFBE0_8019C8C4(void) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (temp[j] <= D_80161AA0[D_801778A0]) {
|
||||
if (temp[j] == D_80161AA0[D_801778A0]) {
|
||||
if (temp[j] <= gLifeCount[D_801778A0]) {
|
||||
if (temp[j] == gLifeCount[D_801778A0]) {
|
||||
for (k = j; k < 10; k++) {
|
||||
if ((temp[k] != D_80161AA0[D_801778A0]) || (D_EBFBE0_801B8220[k] != D_80161714)) {
|
||||
if ((temp[k] != gLifeCount[D_801778A0]) || (D_EBFBE0_801B8220[k] != D_80161714)) {
|
||||
ret = k;
|
||||
break;
|
||||
}
|
||||
@ -3905,7 +3905,7 @@ void func_EBFBE0_8019CAE0(void) {
|
||||
|
||||
case 3:
|
||||
if (D_EBFBE0_801B917C == 0) {
|
||||
D_80161A38 = 255;
|
||||
gBlurAlpha = 255;
|
||||
D_80177898 = 0;
|
||||
D_EBFBE0_801B912C = 0;
|
||||
D_EBFBE0_801B9124 = 300;
|
||||
@ -3920,7 +3920,7 @@ void func_EBFBE0_8019CBC0(void) {
|
||||
|
||||
func_8001D444(0, 36, 0, 255);
|
||||
|
||||
D_80161A38 = 0xD0;
|
||||
gBlurAlpha = 0xD0;
|
||||
D_80178410 = 800;
|
||||
|
||||
D_EBFBE0_801B9130 = 1;
|
||||
@ -3963,7 +3963,7 @@ void func_EBFBE0_8019CD54(void) {
|
||||
if (D_EBFBE0_801B9138 == 0) {
|
||||
if (func_EBFBE0_8019C418(&D_EBFBE0_801B90A0[D_EBFBE0_801B9098], 36, 0, 0, 50, 5, 10, D_80177AF8,
|
||||
&D_EBFBE0_801B9160[D_EBFBE0_801B9098]) != 0) {
|
||||
func_80019218(0x49000002U, &D_800C5D28, 4U, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x49000002, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
D_EBFBE0_801B9150[D_EBFBE0_801B9098][0] = D_EBFBE0_801AEF5C[D_EBFBE0_801B90A0[D_EBFBE0_801B9098]];
|
||||
D_EBFBE0_801B90D0[D_EBFBE0_801B9098] = 0.0f;
|
||||
D_EBFBE0_801B9100[D_EBFBE0_801B9098] = 0.0f;
|
||||
@ -3973,7 +3973,7 @@ void func_EBFBE0_8019CD54(void) {
|
||||
if (gChangedInput[D_80177AF8].button & A_BUTTON) {
|
||||
D_EBFBE0_801B90D0[D_EBFBE0_801B9098] = 0.0f;
|
||||
if (D_EBFBE0_801B9138 != 0) {
|
||||
func_80019218(0x49000003U, &D_800C5D28, 4U, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x49000003, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
D_EBFBE0_801B9140[0] = 10;
|
||||
D_EBFBE0_801B9140[1] = 10;
|
||||
D_EBFBE0_801B9140[2] = 10;
|
||||
@ -3983,7 +3983,7 @@ void func_EBFBE0_8019CD54(void) {
|
||||
|
||||
} else {
|
||||
if (D_EBFBE0_801B9098 < 3) {
|
||||
func_80019218(0x49000003U, &D_800C5D28, 4U, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x49000003, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
D_EBFBE0_801B90D0[D_EBFBE0_801B9098] = 0.0f;
|
||||
D_EBFBE0_801B9140[D_EBFBE0_801B9098] = 15;
|
||||
D_EBFBE0_801B9128 = 1;
|
||||
@ -3993,7 +3993,7 @@ void func_EBFBE0_8019CD54(void) {
|
||||
}
|
||||
|
||||
if ((gChangedInput[D_80177AF8].button & B_BUTTON) && (D_EBFBE0_801B9098 != 0)) {
|
||||
func_80019218(0x4900101DU, &D_800C5D28, 4U, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x4900101D, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
if (D_EBFBE0_801B9138 != 0) {
|
||||
D_EBFBE0_801B9138 = 0;
|
||||
}
|
||||
@ -4073,7 +4073,7 @@ void func_EBFBE0_8019D118(void) {
|
||||
Graphics_DisplaySmallText(D_EBFBE0_801AF30C[2], D_EBFBE0_801AF324[2], 1.0f, 1.0f, "TOTAL HITS");
|
||||
(void) "p:%d x:%f y:%f\n";
|
||||
if (D_EBFBE0_801B9138 == 1) {
|
||||
if (D_80177DB0 & 0x10) {
|
||||
if (gFrameCount & 0x10) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
|
||||
TextureRect_8bIA(&gMasterDisp, D_50021F0, 32, 8, D_EBFBE0_801AF30C[5], D_EBFBE0_801AF324[5], 1.0f, 1.0f);
|
||||
}
|
||||
@ -4118,7 +4118,7 @@ void func_EBFBE0_8019D118(void) {
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
if (D_80177DB0 & mask[i]) {
|
||||
if (gFrameCount & mask[i]) {
|
||||
func_EBFBE0_8019DB20(D_EBFBE0_801B9150[i][0], D_EBFBE0_801AF300[i], 18.0f, -455.0f, 1.0f,
|
||||
D_EBFBE0_801B90C0[i] + D_EBFBE0_801B90F0[i],
|
||||
D_EBFBE0_801B90D0[i] + D_EBFBE0_801B9100[i],
|
||||
@ -4147,7 +4147,7 @@ void func_EBFBE0_8019D624(void) {
|
||||
|
||||
sp122[10] = D_80177B48 + 1;
|
||||
|
||||
sp116[10] = D_80161AA0[0];
|
||||
sp116[10] = gLifeCount[0];
|
||||
|
||||
sp10A[10] = 0;
|
||||
|
||||
@ -4343,8 +4343,8 @@ void func_EBFBE0_8019DE74(void) {
|
||||
|
||||
if (D_80161A34 == 5) {
|
||||
D_80178410 = 0;
|
||||
D_80177834 = 1;
|
||||
D_80161AA0[0] = 2;
|
||||
gGameState = GSTATE_INIT;
|
||||
gLifeCount[0] = 2;
|
||||
D_80161714 = 0;
|
||||
} else if (D_80161A34 == 8) {
|
||||
func_800182F4(0x100100FF);
|
||||
@ -4366,7 +4366,7 @@ void func_EBFBE0_8019E030(void) {
|
||||
switch (D_EBFBE0_801B912C) {
|
||||
case 0:
|
||||
D_80178410 = 0;
|
||||
D_80161A36 = 0;
|
||||
gBgColor = 0;
|
||||
D_80178348 = 0;
|
||||
D_80178350 = 0;
|
||||
D_80178354 = 0;
|
||||
@ -4401,9 +4401,9 @@ void func_EBFBE0_8019E030(void) {
|
||||
case 3:
|
||||
if (D_EBFBE0_801B9178 == 0) {
|
||||
D_80178410 = 0;
|
||||
D_80177834 = 1;
|
||||
gGameState = GSTATE_INIT;
|
||||
D_80177898 = 0;
|
||||
*D_80161AA0 = 2;
|
||||
*gLifeCount = 2;
|
||||
D_80161714 = 0;
|
||||
}
|
||||
break;
|
||||
|
@ -32,7 +32,7 @@ u16* D_EBFBE0_801ADA30[5] = {
|
||||
void func_EBFBE0_801875E0(void) {
|
||||
D_80137E78 = 2;
|
||||
|
||||
D_80177DB0 = 0;
|
||||
gFrameCount = 0;
|
||||
|
||||
D_80177AE0 = 2;
|
||||
|
||||
@ -46,11 +46,11 @@ void func_EBFBE0_801875E0(void) {
|
||||
D_80178354 = 0;
|
||||
D_80178340 = 0;
|
||||
|
||||
D_80178320 = 0;
|
||||
D_80178328 = 0;
|
||||
D_80178330 = 0;
|
||||
gFogRed = 0;
|
||||
gFogGreen = 0;
|
||||
gFogBlue = 0;
|
||||
|
||||
D_80161A36 = 0;
|
||||
gBgColor = 0;
|
||||
|
||||
D_EBFBE0_801B8284 = 0;
|
||||
D_EBFBE0_801B82A8 = 0;
|
||||
@ -102,7 +102,7 @@ void func_EBFBE0_80187754(void) {
|
||||
func_EBFBE0_801877F0();
|
||||
break;
|
||||
}
|
||||
D_80177DB0++;
|
||||
gFrameCount++;
|
||||
}
|
||||
|
||||
void func_EBFBE0_801877F0(void) {
|
||||
@ -257,7 +257,7 @@ void func_EBFBE0_80187B00(void) {
|
||||
break;
|
||||
}
|
||||
|
||||
if ((D_EBFBE0_801B82A8 == 0) && ((D_80177DB0 & 7) == 7) && (D_EBFBE0_801B8288 < 10)) {
|
||||
if ((D_EBFBE0_801B82A8 == 0) && ((gFrameCount & 7) == 7) && (D_EBFBE0_801B8288 < 10)) {
|
||||
D_EBFBE0_801B8288++;
|
||||
}
|
||||
}
|
||||
@ -662,7 +662,7 @@ void func_EBFBE0_801888E8(void) {
|
||||
}
|
||||
|
||||
if (D_EBFBE0_801B82B0 == 0) {
|
||||
if (D_80177DB0 & 0x80) {
|
||||
if (gFrameCount & 0x80) {
|
||||
if (D_EBFBE0_801B8350[1].unk_20 + D_EBFBE0_801B8350[1].unk_24 < -20.0f) {
|
||||
D_EBFBE0_801B8350[1].unk_24 = 4.0f;
|
||||
}
|
||||
@ -739,12 +739,12 @@ void func_EBFBE0_80189208(void) {
|
||||
s32 i;
|
||||
static s32 D_EBFBE0_801ADA84[4] = { 0, 1, 3, 2 };
|
||||
|
||||
D_80178548 = D_EBFBE0_801B82F8;
|
||||
D_8017854C = D_EBFBE0_801B82FC;
|
||||
D_80178550 = D_EBFBE0_801B8300;
|
||||
D_80178554 = D_EBFBE0_801B8304;
|
||||
D_80178558 = D_EBFBE0_801B8308;
|
||||
D_8017855C = D_EBFBE0_801B830C;
|
||||
gLight1R = D_EBFBE0_801B82F8;
|
||||
gLight1G = D_EBFBE0_801B82FC;
|
||||
gLight1B = D_EBFBE0_801B8300;
|
||||
gAmbientR = D_EBFBE0_801B8304;
|
||||
gAmbientG = D_EBFBE0_801B8308;
|
||||
gAmbientB = D_EBFBE0_801B830C;
|
||||
|
||||
if ((D_EBFBE0_801B86A4 < 2) && (D_EBFBE0_801B9040 != 0)) {
|
||||
D_EBFBE0_801B86D8 = Math_Atan2F(-D_EBFBE0_801B9060, sqrtf((-D_EBFBE0_801B905C * -D_EBFBE0_801B905C) +
|
||||
@ -764,13 +764,13 @@ void func_EBFBE0_80189208(void) {
|
||||
D_EBFBE0_801B8350[D_EBFBE0_801ADA84[i]].unk_58 += D_EBFBE0_801B8350[D_EBFBE0_801ADA84[i]].unk_5C;
|
||||
}
|
||||
|
||||
D_80178548 = D_EBFBE0_801B8310;
|
||||
D_8017854C = D_EBFBE0_801B8314;
|
||||
D_80178550 = D_EBFBE0_801B8318;
|
||||
gLight1R = D_EBFBE0_801B8310;
|
||||
gLight1G = D_EBFBE0_801B8314;
|
||||
gLight1B = D_EBFBE0_801B8318;
|
||||
|
||||
D_80178554 = D_EBFBE0_801B831C;
|
||||
D_80178558 = D_EBFBE0_801B8320;
|
||||
D_8017855C = D_EBFBE0_801B8324;
|
||||
gAmbientR = D_EBFBE0_801B831C;
|
||||
gAmbientG = D_EBFBE0_801B8320;
|
||||
gAmbientB = D_EBFBE0_801B8324;
|
||||
|
||||
func_EBFBE0_80191674(D_EBFBE0_801B86D0, D_EBFBE0_801B86D4, 100.0f, &D_EBFBE0_801B82E0, &D_EBFBE0_801B82E4,
|
||||
&D_EBFBE0_801B82E8);
|
||||
@ -821,12 +821,12 @@ void func_EBFBE0_801894E8(void) {
|
||||
D_EBFBE0_801B86C8 = 0.0f;
|
||||
D_EBFBE0_801B86CC = 162.0f;
|
||||
|
||||
D_80178548 = 101;
|
||||
D_8017854C = 106;
|
||||
D_80178550 = 92;
|
||||
D_80178554 = 3;
|
||||
D_80178558 = 4;
|
||||
D_8017855C = 10;
|
||||
gLight1R = 101;
|
||||
gLight1G = 106;
|
||||
gLight1B = 92;
|
||||
gAmbientR = 3;
|
||||
gAmbientG = 4;
|
||||
gAmbientB = 10;
|
||||
|
||||
D_EBFBE0_801B8688.pos.y = 0.0f;
|
||||
D_EBFBE0_801B8688.unk_0C = 0;
|
||||
@ -880,7 +880,7 @@ void func_EBFBE0_8018994C(void) {
|
||||
|
||||
D_8017829C = 0;
|
||||
D_80178300 = 0;
|
||||
D_800D4A70 = 0;
|
||||
sCurrentMsgPri = 0;
|
||||
break;
|
||||
|
||||
case 100:
|
||||
@ -978,11 +978,11 @@ void func_EBFBE0_8018994C(void) {
|
||||
if (D_EBFBE0_801B82B8 == 638) {
|
||||
func_80019218(0x11030010, &D_EBFBE0_801B867C, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_80019218(0x31024059, &D_EBFBE0_801B867C, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
func_800BA808(gMsg_ID_60, 300);
|
||||
func_800BA808(gMsg_ID_60, RCID_ROB64_TITLE);
|
||||
}
|
||||
|
||||
if (D_EBFBE0_801B82B8 == 838) {
|
||||
func_EBFBE0_801919C4(D_EBFBE0_801ADA30, 310);
|
||||
func_EBFBE0_801919C4(D_EBFBE0_801ADA30, RCID_PEPPER_TITLE);
|
||||
}
|
||||
|
||||
if (D_EBFBE0_801B82A8 == 1) {
|
||||
@ -1048,8 +1048,8 @@ void func_EBFBE0_8018994C(void) {
|
||||
}
|
||||
|
||||
if (D_80178340 == 255) {
|
||||
func_8001A55C((f32*) &D_EBFBE0_801B867C, 0x11030010);
|
||||
func_8001A55C((f32*) &D_EBFBE0_801B867C, 0x31024059);
|
||||
func_8001A55C(&D_EBFBE0_801B867C, 0x11030010);
|
||||
func_8001A55C(&D_EBFBE0_801B867C, 0x31024059);
|
||||
|
||||
D_EBFBE0_801B82C0 = 0;
|
||||
|
||||
@ -1249,7 +1249,7 @@ void func_EBFBE0_8018A644(void) {
|
||||
|
||||
if (D_EBFBE0_801B7BEC == 795) {
|
||||
func_8001A838(0x49000014);
|
||||
func_8001A55C(&D_EBFBE0_801B84D8.x, 0x0140001C);
|
||||
func_8001A55C(&D_EBFBE0_801B84D8, 0x0140001C);
|
||||
|
||||
D_EBFBE0_801B82C0 = 0;
|
||||
|
||||
@ -1285,7 +1285,7 @@ void func_EBFBE0_8018A990(void) {
|
||||
{ 255.0f, 255.0f, 155.0f },
|
||||
};
|
||||
|
||||
if ((D_80177DB0 & 7) == 7) {
|
||||
if ((gFrameCount & 7) == 7) {
|
||||
if (D_EBFBE0_801B8338 != 0) {
|
||||
D_EBFBE0_801B8334 = (D_EBFBE0_801B8334 + 1) & 3;
|
||||
D_EBFBE0_801B8328 = D_EBFBE0_801ADF54[D_EBFBE0_801B8334].unk_0;
|
||||
@ -1299,25 +1299,25 @@ void func_EBFBE0_8018A990(void) {
|
||||
D_EBFBE0_801B8338 ^= 1;
|
||||
}
|
||||
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
D_EBFBE0_801B86CC += 30.0f;
|
||||
if (D_EBFBE0_801B86CC > 90.0f) {
|
||||
D_EBFBE0_801B86CC = -90.0f;
|
||||
}
|
||||
}
|
||||
|
||||
D_80178554 = D_EBFBE0_801B8328;
|
||||
D_80178558 = D_EBFBE0_801B832C;
|
||||
D_8017855C = D_EBFBE0_801B8330;
|
||||
gAmbientR = D_EBFBE0_801B8328;
|
||||
gAmbientG = D_EBFBE0_801B832C;
|
||||
gAmbientB = D_EBFBE0_801B8330;
|
||||
|
||||
func_EBFBE0_8018F438();
|
||||
|
||||
D_80178548 = D_EBFBE0_801B82F8;
|
||||
D_8017854C = D_EBFBE0_801B82FC;
|
||||
D_80178550 = D_EBFBE0_801B8300;
|
||||
D_80178554 = D_EBFBE0_801B8304;
|
||||
D_80178558 = D_EBFBE0_801B8308;
|
||||
D_8017855C = D_EBFBE0_801B830C;
|
||||
gLight1R = D_EBFBE0_801B82F8;
|
||||
gLight1G = D_EBFBE0_801B82FC;
|
||||
gLight1B = D_EBFBE0_801B8300;
|
||||
gAmbientR = D_EBFBE0_801B8304;
|
||||
gAmbientG = D_EBFBE0_801B8308;
|
||||
gAmbientB = D_EBFBE0_801B830C;
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
func_EBFBE0_8018E67C(i);
|
||||
@ -1334,12 +1334,12 @@ void func_EBFBE0_8018ABC0(void) {
|
||||
D_80178348 = 0;
|
||||
D_80178350 = 0;
|
||||
D_80178354 = 0;
|
||||
D_80178548 = 101;
|
||||
D_8017854C = 106;
|
||||
D_80178550 = 92;
|
||||
D_80178554 = 3;
|
||||
D_80178558 = 4;
|
||||
D_8017855C = 10;
|
||||
gLight1R = 101;
|
||||
gLight1G = 106;
|
||||
gLight1B = 92;
|
||||
gAmbientR = 3;
|
||||
gAmbientG = 4;
|
||||
gAmbientB = 10;
|
||||
|
||||
D_EBFBE0_801B86A8 = 10.0f;
|
||||
D_EBFBE0_801B86AC = -30.0f;
|
||||
@ -1388,8 +1388,8 @@ void func_EBFBE0_8018ACEC(void) {
|
||||
}
|
||||
|
||||
if (D_80178340 == 255) {
|
||||
func_8001A55C(&D_EBFBE0_801B867C.x, 0x11030010);
|
||||
func_8001A55C(&D_EBFBE0_801B867C.x, 0x31024059);
|
||||
func_8001A55C(&D_EBFBE0_801B867C, 0x11030010);
|
||||
func_8001A55C(&D_EBFBE0_801B867C, 0x31024059);
|
||||
|
||||
D_80177898 = 0;
|
||||
|
||||
@ -1457,12 +1457,12 @@ void func_EBFBE0_8018B058(void) {
|
||||
D_EBFBE0_801B86C8 = -360.0f;
|
||||
D_EBFBE0_801B86CC = 131.0f;
|
||||
|
||||
D_80178548 = 90;
|
||||
D_8017854C = 75;
|
||||
D_80178550 = 90;
|
||||
D_80178554 = 45;
|
||||
D_80178558 = 34;
|
||||
D_8017855C = 56;
|
||||
gLight1R = 90;
|
||||
gLight1G = 75;
|
||||
gLight1B = 90;
|
||||
gAmbientR = 45;
|
||||
gAmbientG = 34;
|
||||
gAmbientB = 56;
|
||||
|
||||
D_EBFBE0_801B8688.pos.x = 0.0f;
|
||||
D_EBFBE0_801B8688.pos.y = 0.0f;
|
||||
@ -1583,7 +1583,7 @@ void func_EBFBE0_8018B5C4(void) {
|
||||
100.0f, 0.01f);
|
||||
D_EBFBE0_801B84E8[i].unk_10 *= 1.04f;
|
||||
if (temp[i] == 0.0f) {
|
||||
func_8001A55C((f32*) &D_EBFBE0_801B84E8[i].unk_50, 0x1950107A);
|
||||
func_8001A55C(&D_EBFBE0_801B84E8[i].unk_50, 0x1950107A);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1633,13 +1633,13 @@ void func_EBFBE0_8018B5C4(void) {
|
||||
D_EBFBE0_801B82F0 = 45.0f;
|
||||
D_EBFBE0_801B82F4 = 60.0f;
|
||||
|
||||
D_80178548 = D_EBFBE0_801B82EC;
|
||||
D_8017854C = D_EBFBE0_801B82F0;
|
||||
D_80178550 = D_EBFBE0_801B82F4;
|
||||
gLight1R = D_EBFBE0_801B82EC;
|
||||
gLight1G = D_EBFBE0_801B82F0;
|
||||
gLight1B = D_EBFBE0_801B82F4;
|
||||
|
||||
D_80178554 = 35;
|
||||
D_80178558 = 24;
|
||||
D_8017855C = 46;
|
||||
gAmbientR = 35;
|
||||
gAmbientG = 24;
|
||||
gAmbientB = 46;
|
||||
|
||||
D_EBFBE0_801B82C0++;
|
||||
}
|
||||
@ -1666,9 +1666,9 @@ void func_EBFBE0_8018B5C4(void) {
|
||||
Math_SmoothStepToF(&D_EBFBE0_801B82F0, 240.0f, 0.06f, 2.0f, 0.01f);
|
||||
Math_SmoothStepToF(&D_EBFBE0_801B82F4, 255.0f, 0.06f, 2.0f, 0.01f);
|
||||
|
||||
D_80178548 = D_EBFBE0_801B82EC;
|
||||
D_8017854C = D_EBFBE0_801B82F0;
|
||||
D_80178550 = D_EBFBE0_801B82F4;
|
||||
gLight1R = D_EBFBE0_801B82EC;
|
||||
gLight1G = D_EBFBE0_801B82F0;
|
||||
gLight1B = D_EBFBE0_801B82F4;
|
||||
}
|
||||
|
||||
if ((D_EBFBE0_801B82B4 > 60) && (D_80178340 < 255)) {
|
||||
@ -1702,7 +1702,7 @@ void func_EBFBE0_8018B5C4(void) {
|
||||
|
||||
case 3:
|
||||
if (D_EBFBE0_801B82A8 == 0) {
|
||||
func_8001A55C((f32*) &D_EBFBE0_801B84E8[3].unk_50, 0x0100001E);
|
||||
func_8001A55C(&D_EBFBE0_801B84E8[3].unk_50, 0x0100001E);
|
||||
func_80019218(0x09000002, &D_EBFBE0_801B84E8[3].unk_50, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
|
||||
|
||||
D_EBFBE0_801B82A8 = 4;
|
||||
@ -1823,12 +1823,12 @@ void func_EBFBE0_8018C1C0(void) {
|
||||
D_EBFBE0_801B86C8 = 0.0f;
|
||||
D_EBFBE0_801B86CC = 0.0f;
|
||||
|
||||
D_80178548 = 101;
|
||||
D_8017854C = 106;
|
||||
D_80178550 = 92;
|
||||
D_80178554 = 3;
|
||||
D_80178558 = 4;
|
||||
D_8017855C = 10;
|
||||
gLight1R = 101;
|
||||
gLight1G = 106;
|
||||
gLight1B = 92;
|
||||
gAmbientR = 3;
|
||||
gAmbientG = 4;
|
||||
gAmbientB = 10;
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
D_EBFBE0_801B84E8[i].unk_00.x = 0.0f;
|
||||
@ -1958,8 +1958,8 @@ void func_EBFBE0_8018C644(void) {
|
||||
}
|
||||
|
||||
if (D_80178340 == 0xFF) {
|
||||
func_8001A55C(&D_EBFBE0_801B867C.x, 0x11030010);
|
||||
func_8001A55C(&D_EBFBE0_801B867C.x, 0x31024059);
|
||||
func_8001A55C(&D_EBFBE0_801B867C, 0x11030010);
|
||||
func_8001A55C(&D_EBFBE0_801B867C, 0x31024059);
|
||||
D_EBFBE0_801B82C0++;
|
||||
}
|
||||
func_EBFBE0_801912A0();
|
||||
@ -2116,10 +2116,10 @@ void func_EBFBE0_8018CD9C(Vec3f* pos, UnkStruct_D_EBFBE0_801B8294* arg1, f32 arg
|
||||
}
|
||||
|
||||
void func_EBFBE0_8018D2B8(s32 arg0) {
|
||||
UnkStruct_D_80161630 temp;
|
||||
WingInfo temp;
|
||||
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, D_80178548, D_8017854C,
|
||||
D_80178550, D_80178554, D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, gLight1R, gLight1G,
|
||||
gLight1B, gAmbientR, gAmbientG, gAmbientB);
|
||||
|
||||
RCP_SetupDL(&gMasterDisp, 0x17);
|
||||
|
||||
@ -2137,7 +2137,7 @@ void func_EBFBE0_8018D2B8(s32 arg0) {
|
||||
|
||||
Matrix_SetGfxMtx(&gMasterDisp);
|
||||
|
||||
temp.unk_00 = temp.unk_01 = 2;
|
||||
temp.rightState = temp.leftState = 2;
|
||||
temp.unk_18 = temp.unk_1C = temp.unk_20 = temp.unk_24 = temp.unk_04 = temp.unk_08 = temp.unk_0C = temp.unk_10 =
|
||||
temp.unk_28 = 0.0f;
|
||||
|
||||
@ -2189,7 +2189,7 @@ void func_EBFBE0_8018D510(s32 arg0) {
|
||||
|
||||
var_fv0 = D_EBFBE0_801B84E8[arg0].unk_44;
|
||||
|
||||
if (D_80177DB0 & 1) {
|
||||
if (gFrameCount & 1) {
|
||||
var_fv0 += var_fv1;
|
||||
}
|
||||
|
||||
@ -2332,8 +2332,8 @@ void func_EBFBE0_8018DF0C(f32 arg0) {
|
||||
}
|
||||
|
||||
void func_EBFBE0_8018E058(void) {
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, D_80178548, D_8017854C,
|
||||
D_80178550, D_80178554, D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, gLight1R, gLight1G,
|
||||
gLight1B, gAmbientR, gAmbientG, gAmbientB);
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
|
||||
@ -2432,12 +2432,12 @@ void func_EBFBE0_8018E67C(s32 arg0) {
|
||||
s32 sp5C;
|
||||
f32 temp_fv1;
|
||||
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, D_80178548, D_8017854C,
|
||||
D_80178550, D_80178554, D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, gLight1R, gLight1G,
|
||||
gLight1B, gAmbientR, gAmbientG, gAmbientB);
|
||||
|
||||
sp5C = D_EBFBE0_801B8350[arg0].unk_58 % Animation_GetFrameCount(D_EBFBE0_801ADA00[arg0].unk_0);
|
||||
|
||||
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, 255, 995, 1000);
|
||||
RCP_SetupDL_29(gFogRed, gFogGreen, gFogBlue, 255, 995, 1000);
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
|
||||
@ -2499,8 +2499,8 @@ void func_EBFBE0_8018EA78(s32 arg0) {
|
||||
|
||||
RCP_SetupDL(&gMasterDisp, 0x17);
|
||||
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, D_80178548, D_8017854C,
|
||||
D_80178550, D_80178554, D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, gLight1R, gLight1G,
|
||||
gLight1B, gAmbientR, gAmbientG, gAmbientB);
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
|
||||
@ -2662,7 +2662,7 @@ s32 func_EBFBE0_8018EDC8(s32 arg0, Gfx** arg1, Vec3f* arg2, Vec3f* arg3, void* a
|
||||
void func_EBFBE0_8018F438(void) {
|
||||
f32 sp54;
|
||||
|
||||
Lights_SetOneLight(&gMasterDisp, 0, 0, 0, 0, 0, 0, D_80178554, D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, 0, 0, 0, 0, 0, 0, gAmbientR, gAmbientG, gAmbientB);
|
||||
|
||||
if (D_801779C0 < D_80177988) {
|
||||
sp54 = 1.0f;
|
||||
@ -2673,7 +2673,7 @@ void func_EBFBE0_8018F438(void) {
|
||||
D_EBFBE0_801B82C8 += 70.0f;
|
||||
D_EBFBE0_801B82C8 = Math_ModF(D_EBFBE0_801B82C8, 4101.6f);
|
||||
|
||||
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, 255, 995, 1000);
|
||||
RCP_SetupDL_29(gFogRed, gFogGreen, gFogBlue, 255, 995, 1000);
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
|
||||
@ -3000,8 +3000,8 @@ void func_EBFBE0_801906A0(void) {
|
||||
}
|
||||
|
||||
void func_EBFBE0_80190950(void) {
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, 0, 0, 0, D_80178554,
|
||||
D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, 0, 0, 0, gAmbientR,
|
||||
gAmbientG, gAmbientB);
|
||||
RCP_SetupDL(&gMasterDisp, 0x17);
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
@ -3026,8 +3026,8 @@ void func_EBFBE0_80190A98(void) {
|
||||
}
|
||||
|
||||
void func_EBFBE0_80190B30(s32 arg0) {
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, D_80178548, D_8017854C,
|
||||
D_80178550, D_80178554, D_80178558, D_8017855C);
|
||||
Lights_SetOneLight(&gMasterDisp, D_EBFBE0_801B82E0, D_EBFBE0_801B82E4, D_EBFBE0_801B82E8, gLight1R, gLight1G,
|
||||
gLight1B, gAmbientR, gAmbientG, gAmbientB);
|
||||
RCP_SetupDL(&gMasterDisp, 0x17);
|
||||
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
@ -3126,7 +3126,7 @@ void func_EBFBE0_80190FD0(void) {
|
||||
if (D_EBFBE0_801B8284 < 120) {
|
||||
D_EBFBE0_801B8284 += 18;
|
||||
} else {
|
||||
D_80177834 = 3;
|
||||
gGameState = GSTATE_MENU;
|
||||
D_8017783C = 2;
|
||||
D_8017784C = 0;
|
||||
D_80177898 = 0;
|
||||
@ -3356,8 +3356,8 @@ void func_EBFBE0_801919C4(u16** arg0, s32 arg1) {
|
||||
D_80177D68 = arg1;
|
||||
D_8017829C = 100;
|
||||
|
||||
switch (D_80177834) {
|
||||
case 2:
|
||||
switch (gGameState) {
|
||||
case GSTATE_TITLE:
|
||||
D_8017872C = 176;
|
||||
D_80178728 = 85;
|
||||
D_80178730 = 80.0f;
|
||||
@ -3367,7 +3367,7 @@ void func_EBFBE0_801919C4(u16** arg0, s32 arg1) {
|
||||
D_80178740 = 174.0f;
|
||||
break;
|
||||
|
||||
case 7:
|
||||
case GSTATE_PLAY:
|
||||
D_8017872C = 179;
|
||||
D_80178728 = 79;
|
||||
D_80178730 = 74.0f;
|
||||
|
@ -32,7 +32,7 @@
|
||||
# Audio block
|
||||
- [0x08CC0, c, 8CC0]
|
||||
- [0x0C870, c, C870]
|
||||
- [0x0F0A0, c, F0A0]
|
||||
- [0x0F0A0, c, F0A0] # audio_load
|
||||
- [0x12490, c, 12490]
|
||||
- [0x14AA0, c, 14AA0]
|
||||
- [0x17650, c, 17650] # Sound related
|
||||
@ -172,7 +172,7 @@
|
||||
# Game engine
|
||||
- [0x2EFE0, c, sf_2EFE0]
|
||||
- [0x36930, c, sf_36930]
|
||||
- [0x43AC0, c, sf_43AC0]
|
||||
- [0x43AC0, c, fox_43AC0]
|
||||
- [0x43E80, c, sf_43E80]
|
||||
- [0x496C0, c, sf_496C0]
|
||||
- [0x52730, c, fox_52730]
|
||||
@ -180,7 +180,7 @@
|
||||
- [0x5A0F0, c, fox_edata]
|
||||
- [0x5A2C0, c, fox_edisplay]
|
||||
- [0x61B30, c, fox_enmy1]
|
||||
- [0x6B3B0, c, sf_6B3B0]
|
||||
- [0x6B3B0, c, fox_6B3B0]
|
||||
- [0x77E40, c, sf_77E40]
|
||||
- [0x84F70, c, fox_84F70]
|
||||
- [0x85530, c, sf_hud]
|
||||
@ -264,7 +264,7 @@
|
||||
|
||||
- [0xCA690, data, sf_2EFE0]
|
||||
- [0xCA7C0, data, sf_36930]
|
||||
- [0xCAA90, data, sf_43AC0]
|
||||
- [0xCAA90, .data, fox_43AC0]
|
||||
- [0xCAB00, data, sf_43E80]
|
||||
- [0xCAB60, data, sf_496C0]
|
||||
- [0xCAE20, .data, fox_52730]
|
||||
@ -272,7 +272,7 @@
|
||||
- [0xCCA70, .data, fox_edata]
|
||||
- [0xD0570, .data, fox_edisplay]
|
||||
- [0xD09A0, .data, fox_enmy1]
|
||||
- [0xD0B80, data, sf_6B3B0]
|
||||
- [0xD0B80, .data, fox_6B3B0]
|
||||
- [0xD20E0, data, sf_77E40]
|
||||
- [0xD2570, data, sf_hud]
|
||||
- [0xD31D0, .data, fox_display]
|
||||
@ -288,14 +288,14 @@
|
||||
# RODATA - game engine
|
||||
- [0xD5A10, .rodata, sf_2EFE0]
|
||||
- [0xD5CF0, .rodata, sf_36930]
|
||||
- [0xD61D0, .rodata, sf_43AC0]
|
||||
- [0xD61D0, .rodata, fox_43AC0]
|
||||
- [0xD61F0, .rodata, sf_43E80]
|
||||
- [0xD6350, .rodata, sf_496C0]
|
||||
- [0xD69A0, .rodata, fox_52730]
|
||||
- [0xD6BA0, .rodata, fox_load]
|
||||
- [0xD6C20, .rodata, fox_edisplay]
|
||||
- [0xD6FD0, .rodata, fox_enmy1]
|
||||
- [0xD7650, .rodata, sf_6B3B0]
|
||||
- [0xD7650, .rodata, fox_6B3B0]
|
||||
- [0xD7E30, .rodata, sf_77E40]
|
||||
- [0xD82F0, .rodata, fox_84F70]
|
||||
- [0xD8320, .rodata, sf_hud]
|
||||
@ -356,11 +356,11 @@
|
||||
# Game engine bss
|
||||
- { start: 0xDE480, type: bss, vram: 0x8015F900, name: sf_2EFE0 }
|
||||
- { start: 0xDE480, type: bss, vram: 0x8015F950, name: sf_36930 }
|
||||
- { start: 0xDE480, type: bss, vram: 0x801613A0, name: sf_43AC0 }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x801613A0, name: fox_43AC0 }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x801613B0, name: fox_52730 }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x801615D0, name: fox_edisplay }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x80161680, name: fox_enmy1 }
|
||||
- { start: 0xDE480, type: bss, vram: 0x80161690, name: sf_6B3B0 }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x80161670, name: fox_enmy1 }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x80161690, name: fox_6B3B0 }
|
||||
- { start: 0xDE480, type: bss, vram: 0x801616A0, name: sf_hud }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x80161950, name: fox_97F80 }
|
||||
- { start: 0xDE480, type: .bss, vram: 0x801619A0, name: fox_display }
|
||||
|
Loading…
Reference in New Issue
Block a user