diff options
| author | tehzz <tehzz@users.noreply.github.com> | 2022-07-05 22:01:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-05 19:01:42 -0700 |
| commit | 40bb0154a8556350bb101bde7246f6a547067dc0 (patch) | |
| tree | 6a28fc2bb6b05c706d7c2b67e00d81e2f3232873 /src/code_800AF9B0.c | |
| parent | a8e5c0f21211aa0159949bfe354eb1d61dc13156 (diff) | |
Decomp menus.c (#229)
* update m2ctx to make N64 sgi context
* finish decomping menus.c
Diffstat (limited to 'src/code_800AF9B0.c')
| -rw-r--r-- | src/code_800AF9B0.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/code_800AF9B0.c b/src/code_800AF9B0.c index 308bfb751..f185e6564 100644 --- a/src/code_800AF9B0.c +++ b/src/code_800AF9B0.c @@ -10,17 +10,26 @@ #include "main.h" #include "math_util.h" -extern Light D_800E8680; -extern Light D_800E8688; - -/* BSS */ +/*** Data ***/ +Ambient D_800E8680 = {{ + {31, 31, 31}, 0, + {31, 31, 31}, 0, +}}; + +Light D_800E8688 = {{ + {255, 255, 255}, 0, + {255, 255, 255}, 0, + { 40, 40, 20}, 0, +}}; + +/*** BSS ****/ s16 D_8018EDB0; s16 D_8018EDB2; s16 D_8018EDB4; Vtx *D_8018EDB8; Vtx *D_8018EDBC; -/* utils */ +/*** utils **/ #define SQ(x) ((x) * (x)) void func_800AF9B0(void) { |
