mirror of
https://github.com/zeldaret/oot
synced 2026-07-07 22:11:24 -04:00
Rename scene lists (#1344)
* first pass * revert unwanted zap change * review * name Actor_InitContext, change arg name * change bzero to use type
This commit is contained in:
+1
-1
@@ -452,7 +452,7 @@ void func_8002F974(Actor* actor, u16 sfxId);
|
||||
void func_8002F994(Actor* actor, s32 arg1);
|
||||
s32 func_8002F9EC(PlayState* play, Actor* actor, CollisionPoly* poly, s32 bgId, Vec3f* pos);
|
||||
void Actor_DisableLens(PlayState* play);
|
||||
void func_800304DC(PlayState* play, ActorContext* actorCtx, ActorEntry* actorEntry);
|
||||
void Actor_InitContext(PlayState* play, ActorContext* actorCtx, ActorEntry* playerEntry);
|
||||
void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx);
|
||||
s32 func_800314D4(PlayState* play, Actor* actor, Vec3f* arg2, f32 arg3);
|
||||
void func_800315AC(PlayState* play, ActorContext* actorCtx);
|
||||
|
||||
+7
-7
@@ -1183,16 +1183,16 @@ typedef struct PlayState {
|
||||
/* 0x11DE4 */ u32 gameplayFrames;
|
||||
/* 0x11DE8 */ u8 linkAgeOnLoad;
|
||||
/* 0x11DE9 */ u8 unk_11DE9;
|
||||
/* 0x11DEA */ u8 curSpawn;
|
||||
/* 0x11DEB */ u8 numSetupActors;
|
||||
/* 0x11DEA */ u8 spawn;
|
||||
/* 0x11DEB */ u8 numActorEntries;
|
||||
/* 0x11DEC */ u8 numRooms;
|
||||
/* 0x11DF0 */ RomFile* roomList;
|
||||
/* 0x11DF4 */ ActorEntry* linkActorEntry;
|
||||
/* 0x11DF8 */ ActorEntry* setupActorList;
|
||||
/* 0x11DF4 */ ActorEntry* playerEntry;
|
||||
/* 0x11DF8 */ ActorEntry* actorEntryList;
|
||||
/* 0x11DFC */ void* unk_11DFC;
|
||||
/* 0x11E00 */ EntranceEntry* setupEntranceList;
|
||||
/* 0x11E04 */ s16* setupExitList;
|
||||
/* 0x11E08 */ Path* setupPathList;
|
||||
/* 0x11E00 */ Spawn* spawnList;
|
||||
/* 0x11E04 */ s16* exitList;
|
||||
/* 0x11E08 */ Path* pathList;
|
||||
/* 0x11E0C */ QuestHintCmd* naviQuestHints;
|
||||
/* 0x11E10 */ void* specialEffects;
|
||||
/* 0x11E14 */ u8 skyboxId;
|
||||
|
||||
+12
-9
@@ -38,9 +38,12 @@ typedef struct {
|
||||
} TransitionActorEntry; // size = 0x10
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 spawn;
|
||||
/* 0x00 */ u8 playerEntryIndex;
|
||||
/* 0x01 */ u8 room;
|
||||
} EntranceEntry;
|
||||
} Spawn;
|
||||
|
||||
// TODO: ZAPD Compatibility
|
||||
typedef Spawn EntranceEntry;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 ambientColor[3];
|
||||
@@ -179,13 +182,13 @@ typedef struct {
|
||||
/* 0x00 */ u8 code;
|
||||
/* 0x01 */ u8 length;
|
||||
/* 0x04 */ ActorEntry* data;
|
||||
} SCmdSpawnList;
|
||||
} SCmdPlayerEntryList;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 code;
|
||||
/* 0x01 */ u8 length;
|
||||
/* 0x04 */ ActorEntry* data;
|
||||
} SCmdActorList;
|
||||
} SCmdActorEntryList;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 code;
|
||||
@@ -218,8 +221,8 @@ typedef struct {
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 code;
|
||||
/* 0x01 */ u8 data1;
|
||||
/* 0x04 */ EntranceEntry* data;
|
||||
} SCmdEntranceList;
|
||||
/* 0x04 */ Spawn* data;
|
||||
} SCmdSpawnList;
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u8 code;
|
||||
@@ -342,11 +345,11 @@ typedef struct {
|
||||
|
||||
typedef union {
|
||||
SCmdBase base;
|
||||
SCmdSpawnList spawnList;
|
||||
SCmdActorList actorList;
|
||||
SCmdPlayerEntryList playerEntryList;
|
||||
SCmdActorEntryList actorEntryList;
|
||||
SCmdUnused02 unused02;
|
||||
SCmdRoomList roomList;
|
||||
SCmdEntranceList entranceList;
|
||||
SCmdSpawnList spawnList;
|
||||
SCmdObjectList objectList;
|
||||
SCmdLightList lightList;
|
||||
SCmdPathList pathList;
|
||||
|
||||
Reference in New Issue
Block a user