mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-19 13:35:18 +00:00
Introducing Macros for BGM (Background Music) (#979)
* Import bgm Ids * Small correction * Fix kaleido * Add defines for 0, 1, 0xFFFF. Fill in missing macros * Improve names, move to bgm.h, add in macros to kankyo.c * format * Swap order of bgm macros and flags
This commit is contained in:
parent
fa7007d73b
commit
970513253b
59 changed files with 369 additions and 171 deletions
|
@ -379,7 +379,7 @@ void EnMa2_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
camera = GET_ACTIVE_CAM(globalCtx);
|
||||
someFloat = Math_Vec3f_DistXZ(&this->actor.world.pos, &camera->eye);
|
||||
func_800F6268(someFloat, 0x2F);
|
||||
func_800F6268(someFloat, NA_BGM_LONLON);
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(D_80AA28B4[this->unk_210]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue