(menu_animation) Cleanups

This commit is contained in:
twinaphex 2015-09-27 00:42:27 +02:00
parent a731f18fa2
commit c8519cd89c
2 changed files with 11 additions and 11 deletions

View File

@ -25,15 +25,15 @@
struct tween
{
bool alive;
float duration;
float running_since;
float initial_value;
float target_value;
float* subject;
int tag;
easingFunc easing;
tween_cb cb;
bool alive;
float duration;
float running_since;
float initial_value;
float target_value;
float *subject;
int tag;
easing_cb easing;
tween_cb cb;
};
struct menu_animation

View File

@ -29,8 +29,8 @@
extern "C" {
#endif
typedef float (*easingFunc)(float, float, float, float);
typedef void (*tween_cb) (void);
typedef float (*easing_cb) (float, float, float, float);
typedef void (*tween_cb) (void);
enum menu_animation_ctl_state
{