| | 1 | #ifndef _bh_ltfx_h |
| | 2 | #define _bh_ltfx_h 1 |
| | 3 | |
| | 4 | #include "ltfx_exp.h" |
| | 5 | |
| | 6 | typedef struct light_fx_behav_block |
| | 7 | { |
| | 8 | AVP_BEHAVIOUR_TYPE bhvr_type; |
| | 9 | |
| | 10 | LIGHT_FX_TYPE type; |
| | 11 | LIGHT_FX_STATE current_state; |
| | 12 | |
| | 13 | uint32_t fade_up_speed; |
| | 14 | uint32_t fade_down_speed; |
| | 15 | |
| | 16 | uint32_t post_fade_up_delay; |
| | 17 | uint32_t post_fade_down_delay; |
| | 18 | |
| | 19 | uint32_t fade_up_speed_multiplier; |
| | 20 | uint32_t fade_down_speed_multiplier; |
| | 21 | |
| | 22 | uint32_t post_fade_up_delay_multiplier; |
| | 23 | uint32_t post_fade_down_delay_multiplier; |
| | 24 | |
| | 25 | int32_t multiplier; |
| | 26 | uint32_t timer; |
| | 27 | uint32_t timer2; |
| | 28 | |
| | 29 | int32_t time_to_next_flicker_state; |
| | 30 | |
| | 31 | TXACTRLBLK *anim_control; |
| | 32 | |
| | 33 | } LIGHT_FX_BEHAV_BLOCK; |
| | 34 | |
| | 35 | typedef struct light_fx_tools_template |
| | 36 | { |
| | 37 | LightFXData light_data; |
| | 38 | char nameID[SB_NAME_LENGTH]; |
| | 39 | MREF my_module; |
| | 40 | |
| | 41 | } LIGHT_FX_TOOLS_TEMPLATE; |
| | 42 | |
| | 43 | void LightFXBehaveInit (void * bhdata, STRATEGYBLOCK* sbptr); |
| | 44 | void LightFXBehaveFun (STRATEGYBLOCK* sbptr); |
| | 45 | |
| | 46 | #endif |