Files
tww/include/d/actor/d_a_obj_light.h
T
LagoLunatic 025b7e459a Switch return type of _execute/_draw/_delete to be bool by default instead of BOOL
It's not completely consistent, but it seems like the majority used `bool`, and only a handful used `BOOL`. So I switched all of them to `bool` except for 13 TUs that stopped matching when changed like this.
2025-02-01 16:17:46 -05:00

46 lines
1.1 KiB
C++

#ifndef D_A_OBJ_LIGHT_H
#define D_A_OBJ_LIGHT_H
#include "f_op/f_op_actor.h"
namespace daObjLight {
class Act_c : public fopAc_ac_c {
public:
void solidHeapCB(fopAc_ac_c*);
void create_heap();
void init_collision();
void set_collision();
s32 _create();
bool _delete();
void set_fire(int);
void draw_fire();
void exe_fire();
void delete_fire();
void now_event(s16);
void set_event(s16);
void exe_event();
void set_mtx();
void renew_angle();
void control_light();
void control_treasure();
bool _execute();
bool _draw();
static bool renew_light_angle();
static s16 get_light_angle();
static s16 get_light_dif_angle();
static BOOL set_light_dif_angle_LOD(s16);
static BOOL set_light_dif_angle_FRRS(s16);
static s16 M_S_light_angle;
static u32 M_S_pre_set_frame_LOD;
static u32 M_S_pre_set_frame_FRRS;
static u8 M_S_lod_access;
public:
/* Place member variables here */
};
};
#endif /* D_A_OBJ_LIGHT_H */