z_lights fully matched (#80)

* z_lights OK

* Documentation

* Fixup for z_collision_check

* Improve function types of bind functions

* Fixup for types
This commit is contained in:
Rozelette
2021-03-27 14:29:30 -05:00
committed by GitHub
parent 012e3c21ae
commit fee7a49abc
20 changed files with 557 additions and 530 deletions
+12 -1
View File
@@ -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;