(menu_animation) Cleanups
This commit is contained in:
parent
a731f18fa2
commit
c8519cd89c
|
@ -25,15 +25,15 @@
|
||||||
|
|
||||||
struct tween
|
struct tween
|
||||||
{
|
{
|
||||||
bool alive;
|
bool alive;
|
||||||
float duration;
|
float duration;
|
||||||
float running_since;
|
float running_since;
|
||||||
float initial_value;
|
float initial_value;
|
||||||
float target_value;
|
float target_value;
|
||||||
float* subject;
|
float *subject;
|
||||||
int tag;
|
int tag;
|
||||||
easingFunc easing;
|
easing_cb easing;
|
||||||
tween_cb cb;
|
tween_cb cb;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct menu_animation
|
struct menu_animation
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef float (*easingFunc)(float, float, float, float);
|
typedef float (*easing_cb) (float, float, float, float);
|
||||||
typedef void (*tween_cb) (void);
|
typedef void (*tween_cb) (void);
|
||||||
|
|
||||||
enum menu_animation_ctl_state
|
enum menu_animation_ctl_state
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue