mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +00:00
Merge branch 'master' into doc_room_draw
This commit is contained in:
commit
700de56fdc
48 changed files with 252 additions and 234 deletions
|
@ -522,7 +522,7 @@ void Actor_SetDropFlag(Actor* actor, ColliderInfo* colInfo, s32 freezeFlag);
|
|||
void Actor_SetDropFlagJntSph(Actor* actor, ColliderJntSph* jntSph, s32 freezeFlag);
|
||||
void func_80035844(Vec3f* arg0, Vec3f* arg1, Vec3s* arg2, s32 arg3);
|
||||
Actor* func_800358DC(Actor* actor, Vec3f* spawnPos, Vec3s* spawnRot, f32* arg3, s32 timer, s16* unused,
|
||||
PlayState* play, s16 params, s32 arg8);
|
||||
PlayState* play, s16 params, Gfx* dList);
|
||||
void func_800359B8(Actor* actor, s16 arg1, Vec3s* arg2);
|
||||
s32 Flags_GetEventChkInf(s32 flag);
|
||||
void Flags_SetEventChkInf(s32 flag);
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
* - Argument 3: Spawn number for this entrance
|
||||
* - Argument 4: Toggle if bgm should continue during the transition using this entrance (true or false)
|
||||
* - Argument 5: Toggle if a title card should display when using this entrance (true or false)
|
||||
* - Argument 6: Transition type when entering using this entrance
|
||||
* - Argument 7: Transition type when exiting using this entrance
|
||||
*
|
||||
* - Argument 6: Transition type when entering using this entrance (second half of a scene transition)
|
||||
* - Argument 7: Transition type when exiting using this entrance (first half of a scene transition)
|
||||
*
|
||||
* WARNING: Due to how the entrance system is implemented, entries within the same group of scene setups are NOT shiftable.
|
||||
* Groups of scene setups are indicated by line breaks.
|
||||
*
|
||||
*
|
||||
* Only the first entrance within a group of setups is expected to be referenced in code.
|
||||
* The entrance system will apply the offset on its own to access the correct entrance for a given setup.
|
||||
*/
|
||||
|
|
|
@ -1344,6 +1344,20 @@ typedef struct {
|
|||
/* 0x24 */ s16 unk_24;
|
||||
} struct_80034A14_arg1; // size = 0x28
|
||||
|
||||
// Macros for `EntranceInfo.field`
|
||||
#define ENTRANCE_INFO_CONTINUE_BGM_FLAG (1 << 15)
|
||||
#define ENTRANCE_INFO_DISPLAY_TITLE_CARD_FLAG (1 << 14)
|
||||
#define ENTRANCE_INFO_END_TRANS_TYPE_MASK 0x3F80
|
||||
#define ENTRANCE_INFO_END_TRANS_TYPE_SHIFT 7
|
||||
#define ENTRANCE_INFO_END_TRANS_TYPE(field) \
|
||||
(((field) >> ENTRANCE_INFO_END_TRANS_TYPE_SHIFT) \
|
||||
& (ENTRANCE_INFO_END_TRANS_TYPE_MASK >> ENTRANCE_INFO_END_TRANS_TYPE_SHIFT))
|
||||
#define ENTRANCE_INFO_START_TRANS_TYPE_MASK 0x7F
|
||||
#define ENTRANCE_INFO_START_TRANS_TYPE_SHIFT 0
|
||||
#define ENTRANCE_INFO_START_TRANS_TYPE(field) \
|
||||
(((field) >> ENTRANCE_INFO_START_TRANS_TYPE_SHIFT) \
|
||||
& (ENTRANCE_INFO_START_TRANS_TYPE_MASK >> ENTRANCE_INFO_START_TRANS_TYPE_SHIFT))
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ s8 scene;
|
||||
/* 0x01 */ s8 spawn;
|
||||
|
|
|
@ -742,7 +742,7 @@ typedef struct {
|
|||
/* 0x01 */ u8 seqOrFontId;
|
||||
/* 0x02 */ u16 instId;
|
||||
/* 0x04 */ s32 unkMediumParam;
|
||||
/* 0x08 */ s32 curDevAddr;
|
||||
/* 0x08 */ u32 curDevAddr;
|
||||
/* 0x0C */ u8* curRamAddr;
|
||||
/* 0x10 */ u8* ramAddr;
|
||||
/* 0x14 */ s32 state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue