Decompile lightsCalculateGlareBrightness

This commit is contained in:
Ryan Dwyer
2022-08-04 22:28:34 +10:00
parent e6cf6899dd
commit 044537c4e8
4 changed files with 249 additions and 872 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ void func0f13c510(void);
void func0f13c54c(void);
u16 func0f13c574(f32 arg0);
s32 func0f13c710(f32 arg0);
void func0f13c780(s32 arg0);
void lightsCalculateGlareBrightness(s32 roomnum);
u8 func0f13d3c4(u8 arg0, u8 arg1);
Gfx *func0f13d40c(Gfx *gdl);
Gfx *func0f13d54c(Gfx *gdl);
+4 -3
View File
@@ -3470,7 +3470,7 @@ struct bootbufferthingdeep {
u16 u16_2;
};
} unk0c;
u32 unk10;
struct light *light;
};
struct bootbufferthing2 {
@@ -3556,7 +3556,8 @@ struct roomgfxdata {
/*0x04*/ u32 *colours;
/*0x08*/ struct roomgfxdata18 *unk08; // opa
/*0x0c*/ struct roomgfxdata18 *unk0c; // xlu
/*0x10*/ s32 unk10;
/*0x10*/ s16 lightsindex;
/*0x12*/ s16 numlights;
/*0x14*/ s16 numvertices;
/*0x16*/ s16 numcolours;
/*0x18*/ struct roomgfxdata18 unk18[1];
@@ -4638,7 +4639,7 @@ struct smoke {
union {
// The thing generating smoke
struct prop *sourceprop;
struct padeffect *padeffect;
struct padeffectobj *padeffect;
void *source;
};
};