mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-29 18:42:14 -04:00
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:
+12
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user