mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-12 19:04:38 +00:00
Merge branch 'main' into doc_pause_menu
This commit is contained in:
commit
ae8034422e
603 changed files with 11123 additions and 8708 deletions
|
@ -400,7 +400,8 @@ void Play_Init(GameState* thisx) {
|
|||
zAllocAligned = (zAlloc + 8) & ~0xF;
|
||||
ZeldaArena_Init((void*)zAllocAligned, zAllocSize - (zAllocAligned - zAlloc));
|
||||
// "Zelda Heap"
|
||||
osSyncPrintf("ゼルダヒープ %08x-%08x\n", zAllocAligned, zAllocAligned + zAllocSize - (s32)(zAllocAligned - zAlloc));
|
||||
osSyncPrintf("ゼルダヒープ %08x-%08x\n", zAllocAligned,
|
||||
(u8*)zAllocAligned + zAllocSize - (s32)(zAllocAligned - zAlloc));
|
||||
|
||||
Fault_AddClient(&D_801614B8, ZeldaArena_Display, NULL, NULL);
|
||||
Actor_InitContext(this, &this->actorCtx, this->playerEntry);
|
||||
|
@ -1336,7 +1337,7 @@ void Play_Main(GameState* thisx) {
|
|||
}
|
||||
|
||||
// original name: "Game_play_demo_mode_check"
|
||||
s32 Play_InCsMode(PlayState* this) {
|
||||
int Play_InCsMode(PlayState* this) {
|
||||
return (this->csCtx.state != CS_STATE_IDLE) || Player_InCsMode(this);
|
||||
}
|
||||
|
||||
|
@ -1773,7 +1774,7 @@ void Play_TriggerRespawn(PlayState* this) {
|
|||
Play_LoadToLastEntrance(this);
|
||||
}
|
||||
|
||||
s32 Play_CamIsNotFixed(PlayState* this) {
|
||||
int Play_CamIsNotFixed(PlayState* this) {
|
||||
// SCENE_CAM_TYPE_FIXED_SHOP_VIEWPOINT was probably intended to be in this condition,
|
||||
// but the room shape type check handles all shop cases regardless
|
||||
return (this->roomCtx.curRoom.roomShape->base.type != ROOM_SHAPE_TYPE_IMAGE) &&
|
||||
|
@ -1781,7 +1782,7 @@ s32 Play_CamIsNotFixed(PlayState* this) {
|
|||
(R_SCENE_CAM_TYPE != SCENE_CAM_TYPE_FIXED_MARKET) && (this->sceneId != SCENE_CASTLE_COURTYARD_GUARDS_DAY);
|
||||
}
|
||||
|
||||
s32 FrameAdvance_IsEnabled(PlayState* this) {
|
||||
int FrameAdvance_IsEnabled(PlayState* this) {
|
||||
return !!this->frameAdvCtx.enabled;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue