Decompile z_play.c and Match/Document some of z_view.c (#74)

* Decompile z_play.c and Match/Document some of z_view.c

Also fix the last non matching in z_sample.c and update some game state functions.

* Suggestions from PR #74

* Fix undefined reference to Gameplay_DrawOverlay

* Suggestion from PR #74 (2)

* Fix a fake argument in func_800BC450
This commit is contained in:
Roman971
2020-04-16 23:36:12 +02:00
committed by GitHub
parent 9ac1f8130d
commit 262f6c507c
278 changed files with 5139 additions and 5939 deletions
+5 -8
View File
@@ -3,10 +3,7 @@
typedef struct {
/* 0x00 */ u32 type;
/* 0x04 */ u32 setScissor;
/* 0x08 */ union {
Color_RGBA8 c;
u32 rgba;
} color;
/* 0x08 */ Color_RGBA8 color;
/* 0x0C */ u32 unk_0C;
} struct_801664F0;
@@ -60,10 +57,10 @@ Gfx D_8012AC58[] = {
void func_800ACE70(struct_801664F0* this) {
this->type = 0;
this->setScissor = false;
this->color.c.r = 0xFF;
this->color.c.g = 0xFF;
this->color.c.b = 0xFF;
this->color.c.a = 0xFF;
this->color.r = 0xFF;
this->color.g = 0xFF;
this->color.b = 0xFF;
this->color.a = 0xFF;
}
// Destroy func