1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-10 01:44:36 +00:00

Match more ntsc-1.2 overlay draw functions (#2061)

* Match more overlay draw functions

* Review
This commit is contained in:
cadmic 2024-08-20 13:22:05 -07:00 committed by GitHub
parent ec70295357
commit 3e516f48f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 73 additions and 85 deletions

View file

@ -3832,24 +3832,24 @@ void Actor_SetColorFilter(Actor* actor, s16 colorFlag, s16 colorIntensityMax, s1
actor->colorFilterTimer = duration;
}
Hilite* func_800342EC(Vec3f* object, PlayState* play) {
void func_800342EC(Vec3f* object, PlayState* play) {
Vec3f lightDir;
lightDir.x = play->envCtx.dirLight1.params.dir.x;
lightDir.y = play->envCtx.dirLight1.params.dir.y;
lightDir.z = play->envCtx.dirLight1.params.dir.z;
return func_8002EABC(object, &play->view.eye, &lightDir, play->state.gfxCtx);
func_8002EABC(object, &play->view.eye, &lightDir, play->state.gfxCtx);
}
Hilite* func_8003435C(Vec3f* object, PlayState* play) {
void func_8003435C(Vec3f* object, PlayState* play) {
Vec3f lightDir;
lightDir.x = play->envCtx.dirLight1.params.dir.x;
lightDir.y = play->envCtx.dirLight1.params.dir.y;
lightDir.z = play->envCtx.dirLight1.params.dir.z;
return func_8002EB44(object, &play->view.eye, &lightDir, play->state.gfxCtx);
func_8002EB44(object, &play->view.eye, &lightDir, play->state.gfxCtx);
}
/**