summaryrefslogtreecommitdiff
path: root/src/code/code_800ACE70.c
diff options
context:
space:
mode:
authorRoman971 <32455037+Roman971@users.noreply.github.com>2020-04-16 23:36:12 +0200
committerGitHub <noreply@github.com>2020-04-16 17:36:12 -0400
commit262f6c507ca59c75df52e23f93c701705ee22798 (patch)
tree179e55b3d59e02d624615b0d4d88867600cca9ed /src/code/code_800ACE70.c
parent9ac1f8130ddbfdf394e11710021150f6c192fdcd (diff)
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
Diffstat (limited to 'src/code/code_800ACE70.c')
-rw-r--r--src/code/code_800ACE70.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/code/code_800ACE70.c b/src/code/code_800ACE70.c
index 31e93ad63..f62d54335 100644
--- a/src/code/code_800ACE70.c
+++ b/src/code/code_800ACE70.c
@@ -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