2023-10-13 10:50:53 +03:00
|
|
|
#ifndef VARIABLES_H
|
|
|
|
#define VARIABLES_H
|
|
|
|
|
2024-02-17 01:04:22 +03:00
|
|
|
#include "sys.h"
|
2023-10-23 19:01:29 +03:00
|
|
|
#include "structs.h"
|
2023-12-14 17:41:43 +03:00
|
|
|
#include "sf64level.h"
|
|
|
|
#include "sf64object.h"
|
2023-12-20 22:32:50 +03:00
|
|
|
#include "sf64player.h"
|
2023-10-13 10:50:53 +03:00
|
|
|
|
2023-12-27 23:14:13 +03:00
|
|
|
// fox_360
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_360_800C9B4C;
|
2023-12-27 23:14:13 +03:00
|
|
|
|
2024-01-03 00:33:26 +03:00
|
|
|
// fox_bg
|
2024-04-03 02:20:08 +03:00
|
|
|
extern u16 D_bg_800C9C3C[16];
|
|
|
|
|
|
|
|
// fox_boss
|
|
|
|
extern s32 D_boss_800C9E90[];
|
2023-12-27 23:14:13 +03:00
|
|
|
|
2024-01-17 18:36:58 +03:00
|
|
|
// fox_tank
|
2024-04-03 02:20:08 +03:00
|
|
|
extern Vec3f D_tank_800C9F2C;
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_display
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_display_800CA220;
|
|
|
|
extern f32 D_display_800CA230;
|
|
|
|
extern Actor* D_display_800CA234;
|
|
|
|
extern s32 D_display_Timer_800CA238;
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_edata
|
2024-04-09 01:25:56 +03:00
|
|
|
extern f32 gActor241Hitbox[];
|
|
|
|
extern f32 gDefaultCubeHitbox100[];
|
|
|
|
extern f32 gDefaultCubeHitbox150[];
|
|
|
|
extern f32 gDefaultCubeHitbox200[];
|
|
|
|
extern f32 gDefaultCubeHitbox300[];
|
|
|
|
extern f32 gDefaultCubeHitbox400[];
|
|
|
|
extern f32 gItemRingCheckHitbox[];
|
|
|
|
extern f32 gHitboxNone[];
|
|
|
|
extern f32 gItemCheckpointHitbox[];
|
|
|
|
extern f32 gItemSupplyRingHitbox[];
|
|
|
|
extern f32 gMeteoWarpHitbox[];
|
2024-04-03 02:20:08 +03:00
|
|
|
extern f32 D_edata_800CBF8C[];
|
2024-04-09 01:25:56 +03:00
|
|
|
extern f32 gItemLasersHitbox[];
|
|
|
|
extern f32 gItemBombHitbox[];
|
|
|
|
extern f32 gActor190_191Hitbox[];
|
|
|
|
extern f32 gActor194HItbox[];
|
|
|
|
extern f32 gTeamHitbox[];
|
|
|
|
extern f32 gActorAllRangeHItbox[];
|
|
|
|
extern f32 gWarpZoneEvent94Hitbox[];
|
|
|
|
extern f32 gWarpZoneEvent96Hitbox[];
|
|
|
|
extern f32 gWarpZoneEvent92Hitbox[];
|
|
|
|
extern f32 gWarpZoneEvent93Hitbox[];
|
2024-04-03 02:20:08 +03:00
|
|
|
extern ObjectInfo D_edata_800CC124[];
|
|
|
|
extern f32* D_edata_800CF964[];
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_edisplay
|
2024-04-03 02:20:08 +03:00
|
|
|
extern f32 D_edisplay_800CF9B0[];
|
|
|
|
extern Gfx* D_edisplay_800CFA54[];
|
|
|
|
extern Gfx* D_edisplay_800CFAC4[];
|
|
|
|
extern Gfx* D_edisplay_800CFADC[];
|
|
|
|
extern Gfx* D_edisplay_800CFB08[];
|
|
|
|
extern Gfx* D_edisplay_800CFB14[];
|
|
|
|
extern Gfx* D_edisplay_800CFB28[];
|
|
|
|
extern Gfx* D_edisplay_800CFB40[];
|
|
|
|
extern Gfx* D_edisplay_800CFB64[];
|
|
|
|
extern Gfx* D_edisplay_800CFB88[];
|
|
|
|
extern Gfx* D_edisplay_800CFBA8[];
|
|
|
|
extern Gfx* D_edisplay_800CFBE4[];
|
|
|
|
extern Gfx* D_edisplay_800CFC0C[];
|
|
|
|
extern Gfx* D_edisplay_800CFC40[];
|
|
|
|
extern Gfx* D_edisplay_800CFC50[];
|
|
|
|
extern Gfx* D_edisplay_800CFC64[];
|
|
|
|
extern Gfx* D_edisplay_800CFC7C[];
|
|
|
|
extern f32 D_edisplay_800CFCA0[];
|
|
|
|
extern f32 D_edisplay_800CFCCC[];
|
|
|
|
extern Gfx D_edisplay_800CFD80[];
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_enmy
|
2024-04-09 01:25:56 +03:00
|
|
|
extern ObjectInit* gLevelObjectInits[];
|
2024-04-03 02:20:08 +03:00
|
|
|
extern u32 D_enmy_800CFF54[9];
|
|
|
|
|
|
|
|
// fox_enmy2
|
|
|
|
extern s32 D_enmy2_800CFF80[4];
|
2024-04-09 01:25:56 +03:00
|
|
|
extern s32 gCallVoiceParam;
|
2023-12-27 23:14:13 +03:00
|
|
|
|
2024-01-21 19:27:47 +03:00
|
|
|
// fox_hud
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s16 D_hud_800D1970;
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_A4290
|
2023-12-09 21:53:24 +03:00
|
|
|
extern CollisionHeader D_800D2B38[];
|
|
|
|
extern CollisionHeader2 D_800D2CA0[];
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_play
|
2024-04-03 02:20:08 +03:00
|
|
|
extern u8 D_play_800D2F68;
|
|
|
|
extern u8 D_play_800D3180[30];
|
2023-12-27 23:14:13 +03:00
|
|
|
|
|
|
|
// fox_radio
|
|
|
|
extern s32 gCurrentMsgPri;
|
|
|
|
|
|
|
|
// fox_360
|
2024-04-09 01:25:56 +03:00
|
|
|
extern s32 gAllRangeSupplyTimer;
|
|
|
|
extern s32 sStarWolfKillTimer;
|
|
|
|
extern s16 gStarWolfMsgTimer;
|
|
|
|
extern s32 gAllRangeWingRepairTimer;
|
|
|
|
extern s32 gAllRangeWingRepairSent;
|
|
|
|
extern f32 gSzMissileR;
|
|
|
|
extern f32 gSzMissileG;
|
|
|
|
extern f32 gSzMissileB;
|
|
|
|
extern u8 gKaKilledAlly;
|
|
|
|
extern u8 gKaAllyKillCount;
|
|
|
|
extern s32 gAllRangeCheckpoint;
|
|
|
|
extern s32 gAllRangeEventTimer;
|
|
|
|
extern s32 gAllRangeCountdown[3];
|
|
|
|
extern s32 gShowAllRangeCountdown;
|
|
|
|
extern s32 gAllRangeFrameCount;
|
|
|
|
extern f32 gAllRangeCountdownScale;
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2023-12-27 23:14:13 +03:00
|
|
|
// fox_bg
|
2024-04-03 02:20:08 +03:00
|
|
|
extern f32 D_bg_800C9C30;
|
|
|
|
extern u16 D_bg_800C9C34;
|
|
|
|
extern f32 D_bg_8015F960;
|
|
|
|
extern u8 D_bg_8015F964;
|
|
|
|
extern f32 D_bg_8015F968;
|
|
|
|
extern f32 D_bg_8015F96C;
|
|
|
|
extern f32 D_bg_8015F970;
|
|
|
|
extern s32 D_bg_8015F974;
|
|
|
|
extern s32 D_bg_8015F978;
|
|
|
|
extern s32 D_bg_8015F97C;
|
|
|
|
extern s32 D_bg_8015F980;
|
|
|
|
extern f32 D_bg_8015F984;
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2024-01-17 18:36:58 +03:00
|
|
|
// fox_boss
|
2024-01-14 04:09:13 +03:00
|
|
|
extern s32 gBossFrameCount;
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2023-12-19 17:54:50 +03:00
|
|
|
// fox_display
|
2024-04-03 02:20:08 +03:00
|
|
|
extern Vec3f D_display_801613B0[]; // static, here for reordering
|
|
|
|
extern Vec3f D_display_801613E0[]; // static, here for reordering
|
2024-04-09 01:25:56 +03:00
|
|
|
extern s16 gReflectY;
|
2024-04-03 02:20:08 +03:00
|
|
|
extern Matrix D_display_80161418[]; // static, here for reordering
|
|
|
|
extern Vec3f D_display_80161518[]; // static, here for reordering
|
|
|
|
extern Vec3f D_display_80161548[]; // static, here for reordering
|
|
|
|
extern Vec3f D_display_80161578[];
|
|
|
|
extern f32 D_display_801615A8[];
|
|
|
|
extern f32 D_display_801615B8[];
|
2023-12-07 03:16:49 +03:00
|
|
|
|
|
|
|
// fox_edisplay
|
2024-04-03 02:20:08 +03:00
|
|
|
extern Vec3f D_edisplay_801615D0;
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2023-12-15 23:09:49 +03:00
|
|
|
// fox_enmy
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_enmy_Timer_80161670[4];
|
2024-04-09 01:25:56 +03:00
|
|
|
extern s32 gLastPathChange;
|
|
|
|
extern u8 gMissedZoSearchlight;
|
2023-12-14 17:41:43 +03:00
|
|
|
|
2024-02-17 01:04:22 +03:00
|
|
|
// fox_enmy2
|
2024-04-09 01:25:56 +03:00
|
|
|
extern s32 gCallTimer;
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2024-01-21 19:27:47 +03:00
|
|
|
// fox_hud
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_hud_80161704;
|
|
|
|
extern s32 D_hud_80161708;
|
|
|
|
extern s32 D_hud_8016170C;
|
|
|
|
extern s32 D_hud_80161710;
|
2024-01-21 19:27:47 +03:00
|
|
|
extern s32 gTotalHits; // 0x80161714 gTotalGameScore
|
2024-04-03 02:20:08 +03:00
|
|
|
extern f32 D_hud_80161720[3];
|
2024-04-05 23:11:36 +03:00
|
|
|
extern s32 gDisplayedHitCount;
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_hud_80161730;
|
2024-01-21 19:27:47 +03:00
|
|
|
extern s32 gShowBossHealth; // 0x80161734
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2023-12-19 17:54:50 +03:00
|
|
|
// fox_play
|
2024-04-09 01:25:56 +03:00
|
|
|
extern u8 gSavedZoSearchlightStatus;
|
2024-04-03 02:20:08 +03:00
|
|
|
extern f32 D_play_80161A54;
|
|
|
|
extern s32 D_play_80161A58;
|
|
|
|
extern s32 D_play_80161A5C;
|
2024-04-05 23:11:36 +03:00
|
|
|
extern u16 gScreenFlashTimer;
|
|
|
|
extern u16 gDropHitCountItem;
|
2024-02-12 21:53:43 +03:00
|
|
|
|
2023-12-07 03:16:49 +03:00
|
|
|
//fox_radio
|
2024-04-03 02:20:08 +03:00
|
|
|
extern u16** D_radio_80178720;
|
|
|
|
extern s32 D_radio_80178724;
|
|
|
|
extern s32 D_radio_80178728;
|
|
|
|
extern s32 D_radio_8017872C;
|
|
|
|
extern f32 D_radio_80178730;
|
|
|
|
extern f32 D_radio_80178734;
|
|
|
|
extern f32 D_radio_80178738;
|
|
|
|
extern f32 D_radio_8017873C;
|
|
|
|
extern f32 D_radio_80178740;
|
2023-12-07 03:16:49 +03:00
|
|
|
|
2024-01-29 00:27:23 +03:00
|
|
|
// fox_versus
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_versus_80178750;
|
|
|
|
extern s32 D_versus_80178754;
|
|
|
|
extern s32 D_versus_80178758;
|
2024-01-10 20:55:08 +03:00
|
|
|
extern s32 sUnlockLandmaster; // sUnlockLandmaster
|
|
|
|
extern s32 sUnlockOnFoot; // sUnlockOnFoot
|
2024-04-03 02:20:08 +03:00
|
|
|
extern s32 D_versus_80178768[];
|
2023-12-07 03:16:49 +03:00
|
|
|
|
|
|
|
// gfx_data
|
2024-04-03 17:30:50 +03:00
|
|
|
extern u16 D_Tex_800DACB8[][32];
|
2023-11-15 06:34:10 +03:00
|
|
|
extern u16 D_Tex_800D99F8[];
|
2024-04-03 17:30:50 +03:00
|
|
|
extern u16 gTextCharPalettes[];
|
|
|
|
extern Gfx gRcpInitDL[];
|
2023-11-22 17:56:29 +03:00
|
|
|
extern Gfx D_Gfx_800DAC20[];
|
2023-11-27 00:27:05 +03:00
|
|
|
extern Gfx D_Gfx_800D9688[];
|
2024-04-03 17:30:50 +03:00
|
|
|
extern u8 D_Tex_800DB4B8[];
|
2024-04-03 02:20:08 +03:00
|
|
|
extern Gfx D_Gfx_800D94D0[];
|
2023-12-07 03:16:49 +03:00
|
|
|
|
|
|
|
|
2024-01-10 20:55:08 +03:00
|
|
|
#endif // VARIABLES_H
|