mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 12:59:44 +00:00
997c45c2d2
* z64pause_menu.h * move functions and variables * Move PauseMenuPage * move stuff that seems public to the new header * KALEIDO_OVL_MAX * bss * review * IS_PAUSED * format * add argument to pause macros * Update include/z64pause_menu.h Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * bss * More IS_PAUSED I missed * early returns * bss * empty commit to trigger GHA * bss * bss * bss * includes * bss --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
104 lines
2.7 KiB
C
104 lines
2.7 KiB
C
#ifndef VARIABLES_H
|
|
#define VARIABLES_H
|
|
|
|
#include "z64.h"
|
|
#include "segment_symbols.h"
|
|
#include "macros.h"
|
|
|
|
// data
|
|
extern ActorOverlay gActorOverlayTable[ACTOR_ID_MAX];
|
|
extern ActorId gMaxActorId;
|
|
|
|
extern FlexSkeletonHeader* gPlayerSkeletons[PLAYER_FORM_MAX];
|
|
extern PlayerModelIndices gPlayerModelTypes[];
|
|
extern struct_80124618 D_801C03A0[];
|
|
extern struct_80124618 D_801C0490[];
|
|
extern Gfx gCullBackDList[];
|
|
extern Gfx gCullFrontDList[];
|
|
|
|
extern u32 gBitFlags[32];
|
|
extern u16 gEquipMasks[];
|
|
extern u16 gEquipNegMasks[];
|
|
extern u32 gUpgradeMasks[8];
|
|
extern u32 gUpgradeNegMasks[];
|
|
extern u8 gEquipShifts[];
|
|
extern u8 gUpgradeShifts[8];
|
|
extern u16 gUpgradeCapacities[][4];
|
|
extern u32 gGsFlagsMask[];
|
|
extern u32 gGsFlagsShift[];
|
|
extern TexturePtr gItemIcons[];
|
|
extern u8 gItemSlots[];
|
|
extern s16 gItemPrices[];
|
|
extern u16 gSceneIdsPerRegion[11][27];
|
|
extern u8 gPlayerFormItemRestrictions[PLAYER_FORM_MAX][114];
|
|
|
|
extern s16 gPlayerFormObjectIds[PLAYER_FORM_MAX];
|
|
extern ObjectId gObjectTableSize;
|
|
extern RomFile gObjectTable[OBJECT_ID_MAX];
|
|
|
|
extern SceneTableEntry gSceneTable[SCENE_MAX];
|
|
|
|
extern s32 gDbgCamEnabled;
|
|
|
|
extern Vec3f gZeroVec3f;
|
|
extern Vec3s gZeroVec3s;
|
|
|
|
extern s16 gLowPassFilterData[];
|
|
extern s16 gHighPassFilterData[];
|
|
extern s16 gBandStopFilterData[];
|
|
extern s16 gBandPassFilterData[];
|
|
extern s16* gWaveSamples[9];
|
|
extern f32 gBendPitchOneOctaveFrequencies[];
|
|
extern f32 gBendPitchTwoSemitonesFrequencies[];
|
|
extern f32 gPitchFrequencies[];
|
|
extern u8 gDefaultShortNoteVelocityTable[];
|
|
extern u8 gDefaultShortNoteGateTimeTable[];
|
|
extern EnvelopePoint gDefaultEnvelope[];
|
|
extern NoteSampleState gZeroedSampleState;
|
|
extern NoteSampleState gDefaultSampleState;
|
|
extern u16 gHaasEffectDelaySize[];
|
|
extern u16 gHaasEffectDelaySize[];
|
|
extern s16 gInvalidAdpcmCodeBook[];
|
|
extern f32 gHeadsetPanVolume[];
|
|
extern f32 gStereoPanVolume[];
|
|
extern f32 gDefaultPanVolume[];
|
|
extern s32 gAudioCtxInitalized;
|
|
extern u8 D_801D6200[0x400];
|
|
|
|
extern u8 gAudioSpecId;
|
|
extern u8 gAudioHeapResetState;
|
|
extern AudioSpec gAudioSpecs[21];
|
|
|
|
// rodata
|
|
extern const u16 gAudioEnvironmentalSfx[];
|
|
extern const s16 gAudioTatumInit[];
|
|
extern const AudioHeapInitSizes gAudioHeapInitSizes;
|
|
extern u8 gSoundFontTable[];
|
|
extern u8 gSequenceFontTable[];
|
|
extern u8 gSequenceTable[];
|
|
extern u8 gSampleBankTable[];
|
|
|
|
// bss
|
|
|
|
extern s32 gTransitionTileState;
|
|
extern Color_RGBA8_u32 gPlayVisMonoColor;
|
|
|
|
extern GfxMasterList* gGfxMasterDL;
|
|
|
|
extern u64* gAudioSPDataPtr;
|
|
extern u32 gAudioSPDataSize;
|
|
|
|
extern s32 D_801FD120;
|
|
|
|
extern u8 sResetAudioHeapTimer;
|
|
extern u16 sResetAudioHeapFadeReverbVolume;
|
|
extern u16 sResetAudioHeapFadeReverbVolumeStep;
|
|
extern AudioContext gAudioCtx; // at 0x80200C70
|
|
|
|
// other segments
|
|
extern Mtx D_01000000;
|
|
extern u16 D_0F000000[];
|
|
|
|
|
|
#endif
|