link ef_lamp_light

This commit is contained in:
Prakxo
2023-10-06 21:54:52 +02:00
parent a19e919b2b
commit a4ab44bd66
6 changed files with 150 additions and 5 deletions
+7
View File
@@ -10,6 +10,13 @@ extern "C" {
extern ACTOR_PROFILE Lamp_Light_Profile;
typedef struct ef_lamp_light_s{
ACTOR actor_class;
int switch_type;
Lights lights;
LightNode* node_p;
}LAMPLIGHT_ACTOR;
#ifdef __cplusplus
}
#endif
+4 -1
View File
@@ -38,9 +38,12 @@ typedef struct nature_s {
void* arg;
} Nature;
typedef struct kankyo_s {
/* 0x00 */ Lights sun_light;
/* 0x0E */ u8 pad[0x9A - 0x0E];
/* 0x0E */ u8 pad[0x1C - 0x0E];
/* 0x1C */ Lights* lights_p;
/* 0x20 */ u8 pad3[0x9A - 0x20];
/* 0x9A */ u8 ambientColor[3];
/* 0x9E */ u8 pad2[0xC0 - 0x9E];
/* 0xC0 */ f32 unkC0;
+2 -2
View File
@@ -74,8 +74,8 @@ extern void LightsN_disp(LightsN* lights, GRAPH* graph);
extern void LightsN_list_check(LightsN* lights, LightNode* node, xyz_t* pos);
extern void Global_light_ct(Global_light* glight);
extern LightsN* Global_light_read(Global_light* glight, GRAPH* graph);
extern void Global_light_list_new(GAME_PLAY*, Global_light* glight, Lights* light);
extern void Global_light_list_delete(Global_light* glight, LightNode* light);
extern void* Global_light_list_new(GAME_PLAY*, Global_light* glight, Lights* light);
extern void* Global_light_list_delete(Global_light* glight, LightNode* light);
extern void Light_list_point_draw(GAME_PLAY* play);
#ifdef __cplusplus