diff options
| author | Rozelette <Rozelette@users.noreply.github.com> | 2021-03-27 14:29:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-27 14:29:30 -0500 |
| commit | fee7a49abc84fbe91116f969a90570cff15decde (patch) | |
| tree | 972de249287b0f1d11f04aeb33d28d4e7140f75e /include/PR | |
| parent | 012e3c21aeb43437d53a90c2fbd8dfe525d95915 (diff) | |
z_lights fully matched (#80)
* z_lights OK
* Documentation
* Fixup for z_collision_check
* Improve function types of bind functions
* Fixup for types
Diffstat (limited to 'include/PR')
| -rw-r--r-- | include/PR/gbi.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/PR/gbi.h b/include/PR/gbi.h index 5f5890400..2c04e570f 100644 --- a/include/PR/gbi.h +++ b/include/PR/gbi.h @@ -1261,6 +1261,16 @@ typedef struct { char pad3; } Light_t; +// Added in MM +typedef struct { + unsigned char col[3]; + unsigned char unk3; + unsigned char colc[3]; + unsigned char unk7; + short pos[3]; + unsigned char unkE; +} PointLight_t; + typedef struct { unsigned char col[3]; /* ambient light value (rgba) */ char pad1; @@ -1273,7 +1283,8 @@ typedef struct { } Hilite_t; typedef union { - Light_t l; + Light_t l; + PointLight_t p; long long int force_structure_alignment[2]; } Light; |
