mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30:15 +00:00
Actor Struct Changes (and a few related things) (#617)
* reformat header * type -> category * done for now i think * some more stuff * first -> head * focus * flag comment * ground -> floor * remove asm, name wrapper funcs * name func, format * review * targetPriority, format * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "0305ec2c2" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "0305ec2c2" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * comment * review * feet flags * horse shadow
This commit is contained in:
parent
20206fba0d
commit
00a5edea71
697 changed files with 8157 additions and 7942 deletions
|
@ -20,7 +20,7 @@ void BgIngate_DoNothing(BgIngate* this, GlobalContext* globalCtx);
|
|||
|
||||
const ActorInit Bg_Ingate_InitVars = {
|
||||
ACTOR_BG_INGATE,
|
||||
ACTORTYPE_PROP,
|
||||
ACTORCAT_PROP,
|
||||
FLAGS,
|
||||
OBJECT_INGATE,
|
||||
sizeof(BgIngate),
|
||||
|
@ -79,7 +79,7 @@ void func_80892890(BgIngate* this, GlobalContext* globalCtx) {
|
|||
if ((this->dyna.actor.params & 2) == 0) {
|
||||
phi0 = -0x4000;
|
||||
}
|
||||
this->dyna.actor.shape.rot.y = this->dyna.actor.posRot.rot.y + phi0;
|
||||
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y + phi0;
|
||||
BgIngate_SetupAction(this, &BgIngate_DoNothing);
|
||||
} else if (globalCtx->csCtx.frames >= 10) {
|
||||
csFrames = globalCtx->csCtx.frames - 10;
|
||||
|
@ -93,7 +93,7 @@ void func_80892890(BgIngate* this, GlobalContext* globalCtx) {
|
|||
if ((this->dyna.actor.params & 2) == 0) {
|
||||
phi1 = -phi1;
|
||||
}
|
||||
this->dyna.actor.shape.rot.y = this->dyna.actor.posRot.rot.y + phi1;
|
||||
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y + phi1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue