mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
En_Elf Decompiled (#432)
* init matched * everything but navi OK * progress * 4 left * remove asm * progress * progress * asm and spec * remove comment * suggestion * review1 * use type enum * name func * overridelimbdraw * review 2 * forgot one * merge master * format
This commit is contained in:
parent
3ba022128c
commit
6e000fcc54
77 changed files with 1637 additions and 4303 deletions
|
@ -179,8 +179,8 @@ void ElfMsg_CallNaviCuboid(ElfMsg* this, GlobalContext* globalCtx) {
|
|||
(this->actor.posRot.pos.y <= player->actor.posRot.pos.y) &&
|
||||
((player->actor.posRot.pos.y - this->actor.posRot.pos.y) < (100.0f * this->actor.scale.y)) &&
|
||||
(fabsf(player->actor.posRot.pos.z - this->actor.posRot.pos.z) < (100.0f * this->actor.scale.z))) {
|
||||
player->naviMessageId = ElfMsg_GetMessageId(this);
|
||||
navi->unk_298 = &this->actor;
|
||||
player->naviTextId = ElfMsg_GetMessageId(this);
|
||||
navi->elfMsg = this;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -195,8 +195,8 @@ void ElfMsg_CallNaviCylinder(ElfMsg* this, GlobalContext* globalCtx) {
|
|||
if (ElfMsg_WithinXZDistance(&player->actor.posRot.pos, &this->actor.posRot.pos, this->actor.scale.x * 100.0f) &&
|
||||
(this->actor.posRot.pos.y <= player->actor.posRot.pos.y) &&
|
||||
((player->actor.posRot.pos.y - this->actor.posRot.pos.y) < (100.0f * this->actor.scale.y))) {
|
||||
player->naviMessageId = ElfMsg_GetMessageId(this);
|
||||
navi->unk_298 = &this->actor;
|
||||
player->naviTextId = ElfMsg_GetMessageId(this);
|
||||
navi->elfMsg = this;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue