diff options
| author | mzxrules <mzxrules@gmail.com> | 2024-12-17 10:51:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 10:51:56 -0500 |
| commit | 1adf696588d41d2c3fee4cb4f25cfa4c7d27be19 (patch) | |
| tree | a43f05e2785d2e745c7510a238520fd753c0ef36 /src/code/z_actor.c | |
| parent | 524597dc145ef1b685d490fea6fd59eb3fff62fc (diff) | |
Document z_horse.c and related actors (#2278)
* document z_horse.h
* .bss
* suggestions and more comments
* bss
* INGORACE -> INGO_RACE
* format header macros
* FIx incorrect type comparision
* EnInMode -> EnInStartMode
* R_EXITED_SCENE_RIDING_HORSE
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index e58729629..66b9601e5 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -4,6 +4,7 @@ #include "rand.h" #include "terminal.h" #include "versions.h" +#include "z64horse.h" #include "overlays/actors/ovl_Arms_Hook/z_arms_hook.h" #include "overlays/actors/ovl_En_Part/z_en_part.h" @@ -1139,7 +1140,7 @@ void Actor_SwapHookshotAttachment(PlayState* play, Actor* srcActor, Actor* destA srcActor->flags &= ~ACTOR_FLAG_HOOKSHOT_ATTACHED; } -void func_8002DE74(PlayState* play, Player* player) { +void Actor_RequestHorseCameraSetting(PlayState* play, Player* player) { if ((play->roomCtx.curRoom.type != ROOM_TYPE_4) && Play_CamIsNotFixed(play)) { Camera_RequestSetting(Play_GetCamera(play, CAM_ID_MAIN), CAM_SET_HORSE); } @@ -1156,8 +1157,8 @@ int func_8002DEEC(Player* player) { (player->csAction != PLAYER_CSACTION_NONE); } -void func_8002DF18(PlayState* play, Player* player) { - func_8006DC68(play, player); +void Actor_InitPlayerHorse(PlayState* play, Player* player) { + Horse_InitPlayerHorse(play, player); } /** |
