fix quality profile water/shadows
[carveJwlIkooP6JGAAIwe30JlM.git] / player_effects.h
1 #ifndef PLAYER_EFFECTS
2 #define PLAYER_EFFECTS
3
4 #include "skaterift.h"
5
6 typedef struct effect_blink effect_blink;
7 typedef struct effect_spark effect_spark;
8
9 struct effect_blink {
10 f32 t, l;
11 };
12
13 struct effect_spark {
14 u32 colour;
15 f32 t;
16 };
17
18 static void effect_blink_apply( effect_blink *ef, player_pose *pose, f32 dt );
19 static void effect_spark_apply( effect_spark *ef, v3f co, v3f v, f32 dt );
20
21 struct player_effects_data {
22 effect_blink blink;
23 effect_spark spark, sand;
24 };
25
26 #endif /* PLAYER_EFFECTS */