mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30:15 +00:00
OnePointDemo OK (#719)
* matches * more matches * progress? * it's time * so close * organize declarations * docs * more fixes * more fixes * fix stage 1 * more fixes * first try * demo ids in decimal * final cleanup * one more thing * fixes * more cleanup * onepointcs * OnePointCutscene Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
parent
28cfd82a4f
commit
9b4482314a
233 changed files with 3949 additions and 7571 deletions
|
@ -431,7 +431,7 @@ void func_80A3F0E4(EnGo* this) {
|
|||
s32 EnGo_IsCameraModified(EnGo* this, GlobalContext* globalCtx) {
|
||||
f32 xyzDist;
|
||||
s16 yawDiff = this->actor.yawTowardsPlayer - this->actor.shape.rot.y;
|
||||
Camera* camera = globalCtx->cameraPtrs[0];
|
||||
Camera* camera = globalCtx->cameraPtrs[MAIN_CAM];
|
||||
|
||||
if (fabsf(yawDiff) > 10920.0f) {
|
||||
return 0;
|
||||
|
@ -444,7 +444,7 @@ s32 EnGo_IsCameraModified(EnGo* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
if (fabsf(this->actor.xyzDistToPlayerSq) > xyzDist) {
|
||||
if (camera->setting == 0x3F) {
|
||||
if (camera->setting == CAM_SET_TEPPEN) {
|
||||
Camera_ChangeSetting(camera, CAM_SET_NORMAL0);
|
||||
}
|
||||
return 0;
|
||||
|
@ -785,7 +785,7 @@ void EnGo_CurledUp(EnGo* this, GlobalContext* globalCtx) {
|
|||
|
||||
EnGo_SetupAction(this, EnGo_WakeUp);
|
||||
if ((this->actor.params & 0xF0) == 0x90) {
|
||||
func_800800F8(globalCtx, 0x1068, -0x63, &this->actor, 0);
|
||||
OnePointCutscene_Init(globalCtx, 4200, -99, &this->actor, MAIN_CAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -877,7 +877,7 @@ void EnGo_BiggoronActionFunc(EnGo* this, GlobalContext* globalCtx) {
|
|||
EnGo_SetupAction(this, EnGo_Eyedrops);
|
||||
globalCtx->msgCtx.msgMode = 0x37;
|
||||
gSaveContext.timer2State = 0;
|
||||
func_800800F8(globalCtx, 0x105E, -0x63, &this->actor, 0);
|
||||
OnePointCutscene_Init(globalCtx, 4190, -99, &this->actor, MAIN_CAM);
|
||||
} else {
|
||||
this->unk_1E0.unk_00 = 0;
|
||||
EnGo_SetupAction(this, EnGo_GetItem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue