Identify some stuff in the Camera struct (#238)

Make a header file for all the camera stuff, refresh a lot of
mips_to_c output

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
Tyler McGavran
2022-07-06 20:36:27 -04:00
committed by GitHub
parent bf106ede73
commit f2eef3b82e
27 changed files with 2541 additions and 3181 deletions
+3 -3
View File
@@ -34,13 +34,13 @@ extern s32 D_802B87CC;
void func_802A7658(s32, s32, s32, s32, u16*, u16*);
s32 func_80290C20(Camera *camera) {
if (camera->unk14 == 0) {
if (camera->unk_54.unk34 == 0) {
return 1;
}
if ((camera->unk13 == 1) && (camera->collisionY < 3.0f)) {
if ((camera->unk_54.unk30 == 1) && (camera->unk_54.unk3C < 3.0f)) {
return 1;
}
if ((camera->unk13_and_a_half == 1) && (camera->collisionZ < 3.0f)) {
if ((camera->unk_54.unk32 == 1) && (camera->unk_54.unk40 < 3.0f)) {
return 1;
}
return 0;