2020-07-18 02:47:33 +02:00
|
|
|
#ifndef _VARIABLES_H_
|
|
|
|
#define _VARIABLES_H_
|
|
|
|
|
|
|
|
#include "ultra64.h"
|
|
|
|
#include "common_structs.h"
|
2020-08-10 23:35:37 +02:00
|
|
|
#include "types.h"
|
2020-10-13 03:28:01 +02:00
|
|
|
#include "macros.h"
|
2020-08-23 01:39:45 +02:00
|
|
|
#include "enums.h"
|
2020-07-18 02:47:33 +02:00
|
|
|
|
2020-08-16 05:19:00 +02:00
|
|
|
extern UiStatus gUIStatus;
|
|
|
|
extern PlayerData gPlayerData;
|
2021-10-03 19:42:38 +02:00
|
|
|
extern s8 gPlayerActionState;
|
|
|
|
extern s32 gPlayerAnimation;
|
2020-08-16 05:19:00 +02:00
|
|
|
extern PlayerStatus gPlayerStatus;
|
2020-09-22 05:10:53 +02:00
|
|
|
extern PlayerStatus* gPlayerStatusPtr;
|
2020-10-03 22:04:49 +02:00
|
|
|
extern CollisionStatus gCollisionStatus;
|
2021-03-23 03:25:48 +01:00
|
|
|
extern GameStatus gGameStatus;
|
|
|
|
extern GameStatus* gGameStatusPtr;
|
2020-09-14 01:03:22 +02:00
|
|
|
extern s32 gRandSeed;
|
2020-08-16 16:19:33 +02:00
|
|
|
extern StaticItem gItemTable[364];
|
2020-08-17 14:40:21 +02:00
|
|
|
extern UNK_FUN_PTR(gCurrentUpdateFunction);
|
2021-09-28 09:47:55 +02:00
|
|
|
extern StaticMove gMoveTable[185];
|
2020-08-14 16:25:33 +02:00
|
|
|
|
2020-10-16 22:29:55 +02:00
|
|
|
extern s32 gBattleState;
|
2020-09-22 02:56:17 +02:00
|
|
|
extern BattleStatus gBattleStatus;
|
2021-07-19 13:49:30 +02:00
|
|
|
extern s32 D_800DC4D0;
|
|
|
|
extern s32 D_800DC4D4;
|
2021-07-21 04:58:08 +02:00
|
|
|
extern s32 D_800DC4D8;
|
2021-07-19 13:49:30 +02:00
|
|
|
extern s32 gBattleState2;
|
2021-07-21 04:58:08 +02:00
|
|
|
extern s32 D_800DC4E4;
|
2021-07-19 13:49:30 +02:00
|
|
|
extern s32 D_800DC4E8;
|
|
|
|
extern u8 gCurrentBattleSection; // in the middle of the previous var
|
|
|
|
extern u8 D_800DC4EB; // in the middle of the previous var
|
|
|
|
extern s32 D_800DC4E0;
|
|
|
|
extern s32 D_800DC4EC;
|
|
|
|
extern s32 D_800DC4F0;
|
|
|
|
extern s32 D_800DC4F4;
|
|
|
|
extern s32 D_800DC4F8;
|
2020-10-17 05:47:10 +02:00
|
|
|
extern s32 gBattleDmaDest;
|
2020-09-22 02:56:17 +02:00
|
|
|
|
2021-08-06 13:00:15 +02:00
|
|
|
extern ActionCommandStatus gActionCommandStatus;
|
|
|
|
|
2020-10-13 03:28:01 +02:00
|
|
|
extern ScriptList gWorldScriptList;
|
|
|
|
extern ScriptList gBattleScriptList;
|
|
|
|
extern ScriptList* gCurrentScriptListPtr;
|
2020-08-14 16:25:33 +02:00
|
|
|
|
2020-09-18 22:57:52 +02:00
|
|
|
extern s32 gNumScripts;
|
|
|
|
extern s32 D_802DAC98;
|
2020-08-14 16:25:33 +02:00
|
|
|
|
2020-09-08 15:06:17 +02:00
|
|
|
extern s32 gScriptListCount;
|
2020-09-06 17:53:48 +02:00
|
|
|
|
2020-10-13 03:28:01 +02:00
|
|
|
extern s32 gScriptIdList[MAX_SCRIPTS];
|
|
|
|
extern s32 gScriptIndexList[MAX_SCRIPTS];
|
2020-08-17 14:40:21 +02:00
|
|
|
|
2020-10-17 23:48:43 +02:00
|
|
|
extern s32 gMoveScriptTable[][4];
|
2020-10-16 08:09:20 +02:00
|
|
|
|
2020-10-22 02:07:00 +02:00
|
|
|
extern EntityList gWorldEntityList;
|
|
|
|
extern EntityList gBattleEntityList;
|
|
|
|
extern EntityList* gCurrentEntityListPtr;
|
2020-08-17 14:40:21 +02:00
|
|
|
|
2020-10-22 02:07:00 +02:00
|
|
|
extern DynamicEntityList gWorldDynamicEntityList;
|
|
|
|
extern DynamicEntityList gBattleDynamicEntityList;
|
|
|
|
extern DynamicEntityList* gCurrentDynamicEntityListPtr;
|
2020-09-25 23:18:09 +02:00
|
|
|
|
2020-10-22 02:07:00 +02:00
|
|
|
extern NpcList gWorldNpcList;
|
|
|
|
extern NpcList gBattleNpcList;
|
|
|
|
extern NpcList* gCurrentNpcListPtr;
|
2020-08-17 14:40:21 +02:00
|
|
|
|
2020-10-22 02:07:00 +02:00
|
|
|
extern ShadowList gWorldShadowList;
|
|
|
|
extern ShadowList gBattleShadowList;
|
|
|
|
extern ShadowList* gCurrentShadowListPtr;
|
2020-08-17 14:40:21 +02:00
|
|
|
|
2020-08-20 00:48:15 +02:00
|
|
|
extern Camera gCameras[4];
|
2020-09-06 17:53:48 +02:00
|
|
|
extern s32 gCurrentCameraID;
|
2020-08-20 00:48:15 +02:00
|
|
|
|
2021-02-16 11:32:34 +01:00
|
|
|
extern CollisionData gCollisionData;
|
|
|
|
|
2020-08-12 20:48:51 +02:00
|
|
|
extern s8 D_800A0900;
|
2021-02-18 12:54:07 +01:00
|
|
|
extern f32 D_800F7B60[];
|
|
|
|
extern s16 D_800F7B80;
|
2020-09-06 17:53:48 +02:00
|
|
|
extern EncounterStatus gCurrentEncounter;
|
2021-12-30 06:14:55 +01:00
|
|
|
extern u8* D_801512F0;
|
2020-09-27 03:02:29 +02:00
|
|
|
extern s16 D_80151308;
|
|
|
|
extern s32 D_80151310;
|
2020-12-03 09:07:39 +01:00
|
|
|
|
2021-02-18 12:54:07 +01:00
|
|
|
extern s32 D_8010C92C;
|
2021-02-20 15:41:30 +01:00
|
|
|
extern s16 D_8010CD00;
|
2020-08-09 06:20:53 +02:00
|
|
|
extern s16 D_8010CD10;
|
|
|
|
extern s16 D_8010CD12;
|
2020-09-25 23:18:09 +02:00
|
|
|
extern s32 D_8010CD20;
|
2020-08-12 20:48:51 +02:00
|
|
|
extern s32 D_801595A0;
|
2020-08-16 05:19:00 +02:00
|
|
|
extern BackgroundHeader gBackgroundImage;
|
2020-07-18 02:47:33 +02:00
|
|
|
|
2021-07-13 15:43:14 +02:00
|
|
|
extern MessagePrintState* gCurrentPrintContext;
|
2020-09-26 03:51:54 +02:00
|
|
|
extern s32 D_802DB264;
|
2021-07-13 15:43:14 +02:00
|
|
|
extern MessagePrintState* D_802DB268;
|
2020-08-15 23:51:44 +02:00
|
|
|
|
2022-01-14 19:54:45 +01:00
|
|
|
extern StaticShadowData CircularShadowA;
|
|
|
|
extern StaticShadowData CircularShadowB;
|
|
|
|
extern StaticShadowData SquareShadow;
|
2020-11-02 05:31:33 +01:00
|
|
|
extern s32 D_802EB390;
|
|
|
|
extern s32 D_802EB394;
|
2021-07-13 15:43:14 +02:00
|
|
|
extern MessagePrintState* D_802EB398;
|
|
|
|
extern MessagePrintState* D_802EB39C;
|
2020-11-02 05:31:33 +01:00
|
|
|
extern s32 D_802E99DC;
|
|
|
|
|
2020-11-18 06:32:18 +01:00
|
|
|
extern Entity* D_802EB3A0;
|
2021-03-19 11:25:14 +01:00
|
|
|
extern s32 D_8015C7D0[3]; // not size 3
|
2020-11-18 06:32:18 +01:00
|
|
|
|
2021-04-23 13:55:30 +02:00
|
|
|
extern f32 D_800F7B70[4];
|
2021-04-17 13:46:17 +02:00
|
|
|
|
2021-06-30 04:27:12 +02:00
|
|
|
extern TempSetZoneEnabled* D_800D91D4;
|
|
|
|
|
2020-11-08 05:33:15 +01:00
|
|
|
// Animation related
|
2020-11-08 21:40:26 +01:00
|
|
|
extern AnimatedMeshList* gCurrentAnimMeshListPtr;
|
|
|
|
|
2020-11-08 05:33:15 +01:00
|
|
|
extern PartnerAnimations gPartnerAnimations[12];
|
2020-11-08 21:40:26 +01:00
|
|
|
|
|
|
|
extern AnimatedModelList gBattleMeshAnimationList;
|
|
|
|
extern AnimatedModelList gWorldMeshAnimationList;
|
|
|
|
extern AnimatedModelList* gCurrentMeshAnimationListPtr;
|
2020-11-08 05:33:15 +01:00
|
|
|
|
2020-08-13 07:03:47 +02:00
|
|
|
// Triggers
|
2020-08-19 02:23:52 +02:00
|
|
|
extern s16 gTriggerCount;
|
2021-08-29 15:44:17 +02:00
|
|
|
extern TriggerList wTriggerList;
|
|
|
|
extern TriggerList bTriggerList;
|
2020-10-22 02:07:00 +02:00
|
|
|
extern TriggerList* gCurrentTriggerListPtr;
|
2020-08-13 07:03:47 +02:00
|
|
|
|
2020-10-15 00:22:43 +02:00
|
|
|
// Map transition data. Should probably be a struct
|
2021-08-16 20:14:58 +02:00
|
|
|
extern s16 gMapTransitionAlpha;
|
2021-03-21 13:16:00 +01:00
|
|
|
extern s8 D_800A0930;
|
|
|
|
extern s8 D_800A0931;
|
|
|
|
extern s16 D_800A0932[1];
|
2020-10-15 00:22:43 +02:00
|
|
|
extern s16 D_800A0942;
|
2020-08-11 01:20:30 +02:00
|
|
|
extern s16 D_800A0944;
|
2020-11-06 01:30:17 +01:00
|
|
|
extern s16 D_800A0946;
|
|
|
|
extern s16 D_800A0948;
|
2020-10-15 00:22:43 +02:00
|
|
|
extern s16 D_800A0954;
|
|
|
|
extern s16 D_800A0956;
|
|
|
|
extern s16 D_800A0958;
|
|
|
|
extern s16 D_800A095A;
|
|
|
|
extern u8 D_800A095B;
|
|
|
|
extern s16 D_800A095C;
|
|
|
|
extern u8 D_800A095D;
|
|
|
|
extern s16 D_800A095E;
|
|
|
|
extern u8 D_800A095F;
|
|
|
|
extern s32 D_800A0960;
|
|
|
|
extern s32 D_800A0964;
|
2021-03-21 13:16:00 +01:00
|
|
|
extern s8 D_800A0B94;
|
2020-12-03 15:11:20 +01:00
|
|
|
extern s16 D_800A0BB8;
|
2020-08-11 23:38:21 +02:00
|
|
|
|
2021-12-13 10:27:28 +01:00
|
|
|
extern SpriteShadingProfile* D_80151328;
|
|
|
|
|
2021-03-21 13:16:00 +01:00
|
|
|
|
2021-09-02 13:17:40 +02:00
|
|
|
extern Window gWindows[64];
|
2020-11-12 19:38:17 +01:00
|
|
|
|
2021-03-12 16:53:11 +01:00
|
|
|
extern s32 D_802A3838;
|
|
|
|
|
2020-10-16 00:11:56 +02:00
|
|
|
// Pause
|
2020-11-10 17:27:02 +01:00
|
|
|
extern s32 gPauseMenuHeldButtons;
|
|
|
|
extern s32 gPauseMenuPressedButtons;
|
2021-09-02 17:46:27 +02:00
|
|
|
extern s32 gPauseMenuCurrentDescMsg;
|
2021-04-24 20:56:22 +02:00
|
|
|
extern s32* gPauseMenuCurrentDescIconScript;
|
2021-08-16 17:00:00 +02:00
|
|
|
extern s32 D_802700D0;
|
2021-09-02 13:17:40 +02:00
|
|
|
|
2020-11-10 17:27:02 +01:00
|
|
|
extern s8 gPauseMenuCurrentTab;
|
2021-08-16 17:00:00 +02:00
|
|
|
extern char D_802700D[8];
|
|
|
|
extern s32 D_802700E0;
|
2020-11-10 17:27:02 +01:00
|
|
|
extern s32 gPauseMenuCommonIconIDs[8];
|
2020-11-10 16:11:43 +01:00
|
|
|
extern s32 gPauseMenuTabIconIDs[6];
|
2021-09-02 17:46:27 +02:00
|
|
|
extern s32 gPauseMenuMsgs[348];
|
2020-11-10 16:11:43 +01:00
|
|
|
extern s32 gPauseMenuIconScripts[8];
|
2021-09-02 13:17:40 +02:00
|
|
|
extern MenuPanel gPauseMenuPanels[7];
|
2020-11-10 20:43:24 +01:00
|
|
|
extern s32 gPauseMenuCursorPosX;
|
|
|
|
extern s32 gPauseMenuCursorPosY;
|
2020-11-10 16:11:43 +01:00
|
|
|
extern s32 gPauseMenuCursorOpacity;
|
2020-11-10 20:43:24 +01:00
|
|
|
extern s32 gPauseMenuTargetPosX;
|
|
|
|
extern s32 gPauseMenuTargetPosY;
|
2020-11-10 04:48:47 +01:00
|
|
|
extern s32 gPauseMenuCursorTargetOpacity;
|
2020-11-10 17:27:02 +01:00
|
|
|
extern u8 gPauseMenuTextScrollInterpEasingLUT[16];
|
|
|
|
extern u8 gPauseMenuPageScrollInterpEasingLUT[16];
|
2021-09-02 13:17:40 +02:00
|
|
|
extern s32 D_80270700[1];
|
|
|
|
extern f32 pause_map_cameraX;
|
|
|
|
extern f32 pause_map_cameraY;
|
|
|
|
extern s32 pause_map_marioX;
|
|
|
|
extern s32 pause_map_marioY;
|
|
|
|
extern f32 pause_map_targetX;
|
|
|
|
extern f32 pause_map_targetY;
|
|
|
|
extern s32 pause_map_cursorCurrentOption;
|
|
|
|
extern s32 pause_map_cursorCurrentOptionCopy;
|
|
|
|
extern s32 pause_map_spacesInSnapRange;
|
|
|
|
|
|
|
|
|
|
|
|
extern PauseMapSpace pause_map_spaces[34];
|
|
|
|
extern MenuWindowBP pause_map_windowBlueprints[7];
|
2020-11-10 05:23:01 +01:00
|
|
|
// Badges
|
|
|
|
extern s32 gBadgeMenuCurrentScrollPos;
|
|
|
|
extern s32 gBadgeMenuTargetScrollPos;
|
2021-10-03 19:42:38 +02:00
|
|
|
extern s16 gBadgeMenuItemIDs[128];
|
2020-11-10 06:08:44 +01:00
|
|
|
extern s32 gBadgeMenuCurrentPage;
|
2020-11-12 06:18:35 +01:00
|
|
|
extern PauseItemPage gBadgeMenuPages[20];
|
|
|
|
extern s32 gBadgeMenuSelectedIndex;
|
2021-09-28 09:47:55 +02:00
|
|
|
extern s32 D_8027037C;
|
2020-11-12 06:18:35 +01:00
|
|
|
extern s32 gBadgeMenuSelectedItemID;
|
|
|
|
extern s16 gBadgeMenuNumItems;
|
|
|
|
extern s32 D_80270388;
|
|
|
|
extern s32 D_80270394;
|
|
|
|
extern s32 gBadgeMenuLevel;
|
|
|
|
extern s32 gBadgeMenuCurrentTab;
|
|
|
|
extern s32 gBadgeMenuBShowNotEnoughBP;
|
|
|
|
extern s32 D_802703A4;
|
2021-09-28 09:47:55 +02:00
|
|
|
extern s32 gBadgeMenuIconIDs[22];
|
|
|
|
extern MenuWindowBP gBadgeMenuWindowBPs[1];
|
2020-11-10 06:08:44 +01:00
|
|
|
|
2020-11-12 06:32:25 +01:00
|
|
|
// Items
|
|
|
|
extern s16 gItemMenuItemIDs[100];
|
|
|
|
extern s32 gItemMenuCurrentPage;
|
|
|
|
extern PauseItemPage gItemMenuPages[20];
|
|
|
|
extern s32 gItemMenuSelectedIndex;
|
|
|
|
extern s32 gItemMenuSelectedItemID;
|
|
|
|
extern s16 gItemMenuNumItems;
|
|
|
|
extern s32 D_802705D0;
|
|
|
|
extern s32 gItemMenuCurrentScrollPos;
|
|
|
|
extern s32 gItemMenuTargetScrollPos;
|
2021-04-29 19:38:02 +02:00
|
|
|
extern s32 D_802705DC;
|
2020-11-12 06:32:25 +01:00
|
|
|
extern s32 gItemMenuLevel;
|
|
|
|
extern s32 gItemMenuCurrentTab;
|
|
|
|
extern s32 gItemMenuScrollUpIcon;
|
|
|
|
|
2020-11-10 06:08:44 +01:00
|
|
|
// Stats
|
|
|
|
extern s32 gStatsMenuIconIDs[12];
|
2020-09-06 17:53:48 +02:00
|
|
|
extern s32 gGameState;
|
2021-06-15 10:05:16 +02:00
|
|
|
extern s16 gNpcCount;
|
2021-03-19 11:25:14 +01:00
|
|
|
extern s32 gOverrideFlags;
|
2020-10-14 18:11:59 +02:00
|
|
|
extern u16 D_8009A6A0;
|
|
|
|
extern u16 D_8009A6A2;
|
|
|
|
extern u16 D_8009A6A4;
|
|
|
|
extern u16 D_8009A6A6;
|
2020-08-12 22:53:01 +02:00
|
|
|
|
2021-04-01 20:00:29 +02:00
|
|
|
extern s32* D_800A0914;
|
|
|
|
extern s32* D_800A0918;
|
|
|
|
extern s32* D_800A091C;
|
|
|
|
extern s8 D_800A0920;
|
|
|
|
extern s32 D_800A0924;
|
|
|
|
extern s8 D_800A0921;
|
|
|
|
extern s16 D_800A0922;
|
2021-08-16 20:14:58 +02:00
|
|
|
extern s32 wMapTexName;
|
|
|
|
extern char* wMapHitName;
|
|
|
|
extern s32 wMapShapeName;
|
2021-04-01 20:00:29 +02:00
|
|
|
extern s32* D_80210000;
|
2021-04-22 05:19:31 +02:00
|
|
|
extern u8 D_802D9D70; // player alpha1 copy?
|
|
|
|
extern u8 D_802D9D71; // player alpha2 copy?
|
|
|
|
|
2021-04-26 19:47:38 +02:00
|
|
|
extern DisplayContext D_80164000[];
|
2021-04-22 05:19:31 +02:00
|
|
|
|
2021-07-13 15:43:14 +02:00
|
|
|
extern MessagePrintState gMessagePrinters[3];
|
|
|
|
|
2021-04-22 05:19:31 +02:00
|
|
|
extern f32 gCurtainScale;
|
|
|
|
extern f32 gCurtainScaleGoal;
|
|
|
|
extern f32 gCurtainFade;
|
|
|
|
extern f32 gCurtainFadeGoal;
|
|
|
|
extern UNK_FUN_PTR(gCurtainDrawCallback);
|
2021-04-01 20:00:29 +02:00
|
|
|
|
2020-08-11 23:38:21 +02:00
|
|
|
extern s16 gCurrentDoorSoundsSet;
|
|
|
|
|
2020-10-02 08:07:54 +02:00
|
|
|
extern s32 D_800D9620;
|
2020-08-10 23:35:37 +02:00
|
|
|
extern UNK_TYPE D_800E92D8;
|
2020-08-12 03:01:33 +02:00
|
|
|
extern UNK_TYPE D_80147574;
|
2021-06-16 11:52:15 +02:00
|
|
|
|
2021-12-04 15:23:12 +01:00
|
|
|
extern UNK_FUN_PTR(D_8010C920);
|
2021-06-16 11:52:15 +02:00
|
|
|
extern s32 D_8010C940;
|
2021-11-01 09:06:45 +01:00
|
|
|
extern Entity* D_8010C954;
|
2021-12-18 05:04:54 +01:00
|
|
|
extern UNK_FUN_PTR(D_8010C958);
|
2021-06-16 11:52:15 +02:00
|
|
|
extern s32 D_8010C95C;
|
|
|
|
extern s32 D_8010C96C;
|
|
|
|
extern s32 D_8010C980;
|
|
|
|
extern s32 D_8010C9A0;
|
2021-08-15 11:28:16 +02:00
|
|
|
extern s32 D_800F7B40;
|
2021-06-16 11:52:15 +02:00
|
|
|
extern s32 D_800F7B44;
|
|
|
|
extern f32 D_8010C938;
|
|
|
|
extern f32 D_8010C990;
|
2021-08-13 19:27:57 +02:00
|
|
|
extern s32 D_8010C978;
|
2021-12-28 12:43:24 +01:00
|
|
|
extern Vec3s btl_actorHomePositions[];
|
2021-06-16 11:52:15 +02:00
|
|
|
|
2021-08-13 19:27:57 +02:00
|
|
|
extern PartnerActionStatus gPartnerActionStatus; // something with partners
|
2022-01-05 12:05:49 +01:00
|
|
|
extern PlayerSpinState gPlayerSpinState; // sfx_play_sound state struct?
|
2020-08-10 23:35:37 +02:00
|
|
|
|
2020-09-19 17:16:02 +02:00
|
|
|
extern SaveData gCurrentSaveFile;
|
|
|
|
|
|
|
|
extern u32* gMapFlags;
|
2021-08-29 15:44:17 +02:00
|
|
|
extern s32* gMapVars;
|
2020-09-27 03:02:29 +02:00
|
|
|
|
|
|
|
extern f32 D_80286540;
|
2020-09-19 17:16:02 +02:00
|
|
|
|
2020-10-14 03:55:04 +02:00
|
|
|
extern u32 gWorldMapVars[MAX_MAPVARS];
|
|
|
|
extern u32 gBattleMapVars[MAX_MAPVARS];
|
|
|
|
|
|
|
|
extern u32 gWorldMapFlags[MAX_MAPFLAGS];
|
|
|
|
extern u32 gBattleMapFlags[MAX_MAPFLAGS];
|
|
|
|
|
2021-03-30 19:39:44 +02:00
|
|
|
extern s32 D_8009A5D0;
|
2021-04-22 05:19:31 +02:00
|
|
|
extern s32 timeFreezeMode;
|
2021-03-30 19:39:44 +02:00
|
|
|
extern s32 D_8009A678;
|
2020-10-14 03:55:04 +02:00
|
|
|
|
2020-10-15 00:22:43 +02:00
|
|
|
extern u8 D_800779B0;
|
2020-12-08 11:50:14 +01:00
|
|
|
extern u32 D_80078174;
|
2020-10-15 00:22:43 +02:00
|
|
|
extern u8 D_800A0963;
|
|
|
|
|
2020-11-19 09:31:22 +01:00
|
|
|
extern UNK_TYPE D_802EB3B0;
|
|
|
|
extern UNK_TYPE D_00000094;
|
|
|
|
extern UNK_TYPE D_00000094_2; // two symbols resolve to the same addr. Required for matching
|
|
|
|
extern UNK_TYPE D_802EA0A0;
|
2020-11-21 10:28:02 +01:00
|
|
|
extern StaticEntityData D_802EA07C;
|
2020-11-19 09:31:22 +01:00
|
|
|
extern UNK_TYPE D_802EA310;
|
2022-01-14 19:54:45 +01:00
|
|
|
extern StaticEntityData Entity_HitGroundedYellowBlock;
|
|
|
|
extern StaticEntityData Entity_HitFloatingYellowBlock;
|
|
|
|
extern StaticEntityData Entity_HitRedBlock;
|
2020-11-19 09:31:22 +01:00
|
|
|
extern s16 D_8015C7D2;
|
|
|
|
|
2020-11-21 10:28:02 +01:00
|
|
|
extern UNK_TYPE D_0A000328;
|
|
|
|
extern UNK_TYPE D_0A000380;
|
|
|
|
extern UNK_TYPE D_0A000750;
|
|
|
|
extern UNK_TYPE D_0A000800;
|
2020-11-21 08:40:54 +01:00
|
|
|
extern UNK_TYPE D_0A000808;
|
|
|
|
|
2020-10-08 21:03:58 +02:00
|
|
|
// Scripts
|
2021-12-28 12:43:24 +01:00
|
|
|
extern EvtSource SCRIPT_NpcDefeat;
|
2021-08-22 23:50:10 +02:00
|
|
|
extern EvtSource ShakeCam1;
|
|
|
|
extern EvtSource ShakeCamX;
|
2020-10-08 21:03:58 +02:00
|
|
|
|
2020-10-29 03:54:01 +01:00
|
|
|
extern s16 gMusicUnkVolume;
|
2020-10-29 04:43:58 +01:00
|
|
|
extern s16 gMusicUnkVolume2;
|
2020-10-29 03:54:01 +01:00
|
|
|
extern s16 gMusicCurrentVolume;
|
|
|
|
extern s16 gMusicTargetVolume;
|
2021-04-01 20:00:29 +02:00
|
|
|
extern MusicSettings gMusicSettings[4];
|
|
|
|
extern MusicSettings D_8014F6F0;
|
2020-10-08 21:03:58 +02:00
|
|
|
|
2020-12-25 00:39:47 +01:00
|
|
|
// OS
|
|
|
|
extern OSThread D_800A4270; // idle thread, id 1
|
|
|
|
extern OSThread D_800A4420; // id 3
|
2021-03-11 09:08:22 +01:00
|
|
|
extern OSDevMgr __osPiDevMgr;
|
2020-12-25 00:39:47 +01:00
|
|
|
|
2021-01-11 04:52:08 +01:00
|
|
|
// gfx
|
|
|
|
extern DisplayContext* gDisplayContext;
|
|
|
|
extern Gfx* gMasterGfxPos;
|
|
|
|
extern u16 gMatrixListPos;
|
2021-03-19 11:25:14 +01:00
|
|
|
extern s32 gCurrentDisplayContextIndex;
|
2021-01-11 04:52:08 +01:00
|
|
|
|
2021-01-15 18:34:27 +01:00
|
|
|
extern UNK_TYPE D_0A004350;
|
|
|
|
extern UNK_TYPE D_0A0026F0;
|
2021-06-16 11:52:15 +02:00
|
|
|
extern u32* D_802EAE7C;
|
2021-01-15 18:34:27 +01:00
|
|
|
|
2021-02-10 15:42:36 +01:00
|
|
|
extern s32 D_80291FA8[];
|
|
|
|
extern s32 D_80291FD0[];
|
|
|
|
extern s32 D_80291FF8[];
|
|
|
|
extern s32 D_80292020[];
|
|
|
|
extern s32 D_80292048[];
|
|
|
|
extern s32 D_80292070[];
|
|
|
|
extern s32 D_80292098[];
|
|
|
|
extern s32 D_802920C0[];
|
|
|
|
extern s32 D_802920E8[];
|
|
|
|
extern s32 D_80292110[];
|
|
|
|
|
2021-10-19 17:15:38 +02:00
|
|
|
extern s32 D_8029FBD0;
|
|
|
|
|
2021-04-26 19:47:38 +02:00
|
|
|
extern s32 D_800F7BE8[];
|
|
|
|
extern s32 D_800F7BBC[];
|
2021-02-10 16:26:26 +01:00
|
|
|
|
2021-12-06 13:25:43 +01:00
|
|
|
//various
|
2021-02-10 16:30:33 +01:00
|
|
|
extern s32 D_802C05CC;
|
|
|
|
|
2021-04-22 05:19:31 +02:00
|
|
|
extern s16 gCurrentCamID;
|
|
|
|
|
2021-11-07 17:58:57 +01:00
|
|
|
extern HeapNode gSpriteHeapPtr;
|
2021-07-08 17:53:00 +02:00
|
|
|
|
2022-01-08 06:47:52 +01:00
|
|
|
extern s32 D_8029C890[10][5];
|
2021-07-19 20:27:56 +02:00
|
|
|
|
2021-04-01 20:00:29 +02:00
|
|
|
// Heap?
|
2021-07-08 17:53:00 +02:00
|
|
|
extern s32 D_8038F800;
|
|
|
|
extern s32 D_803B5000;
|
2021-12-30 06:14:55 +01:00
|
|
|
|
|
|
|
extern HeapNode heap_collisionHead;
|
|
|
|
extern HeapNode heap_generalHead;
|
2021-11-07 17:58:57 +01:00
|
|
|
extern HeapNode heap_battleHead;
|
2021-04-01 20:00:29 +02:00
|
|
|
|
2021-06-16 11:52:15 +02:00
|
|
|
extern s32 bMarioIdleAnims[];
|
|
|
|
extern s32 bMarioDefendAnims[];
|
|
|
|
extern s32 bPeachIdleAnims[];
|
|
|
|
|
2021-10-25 13:44:55 +02:00
|
|
|
// TODO: name these entity symbols
|
2022-01-14 19:54:45 +01:00
|
|
|
extern StaticEntityData Entity_SavePoint; // entitySaveBlock
|
|
|
|
extern StaticEntityData Entity_RedSwitch;
|
|
|
|
extern StaticEntityData Entity_BlueSwitch; // entityBlueSwitch
|
|
|
|
extern StaticEntityData Entity_HugeBlueSwitch; // entityHugeBlueSwitch
|
|
|
|
extern StaticEntityData Entity_GreenStompSwitch;
|
|
|
|
extern StaticEntityData Entity_ShatteringHammer1Block;
|
|
|
|
extern StaticEntityData Entity_ShatteringHammer2Block;
|
|
|
|
extern StaticEntityData Entity_ShatteringHammer3Block;
|
|
|
|
extern StaticEntityData Entity_ShatteringHammer1BlockTiny;
|
|
|
|
extern StaticEntityData Entity_ShatteringHammer2BlockTiny;
|
|
|
|
extern StaticEntityData Entity_ShatteringHammer3BlockTiny;
|
|
|
|
extern StaticEntityData Entity_ShatteringBrickBlock;
|
2021-08-02 20:03:51 +02:00
|
|
|
|
2021-10-25 16:32:44 +02:00
|
|
|
// Temporary dead stuff
|
|
|
|
extern PartnerActionStatus dead_gPartnerActionStatus2;
|
|
|
|
|
2020-07-18 02:47:33 +02:00
|
|
|
#endif
|