static void stroke_leave(struct state *st, struct state *next, int id) { hud_free(); video_clr_grab(); config_set_d(CONFIG_CAMERA, 0); stroke_rotate = 0.0f; stroke_mag = 0.0f; }
static int null_enter(struct state *st, struct state *prev) { hud_free(); gui_free(); geom_free(); item_free(); ball_free(); shad_free(); part_free(); return 0; }
static void roll_leave(int id) { hud_free(); }
static void stroke_leave(int id) { hud_free(); video_clr_grab(); config_set_d(CONFIG_CAMERA, 0); }
static void flyby_leave(int id) { hud_free(); }
static void next_leave(int id) { hud_free(); gui_delete(id); }
static void pause_leave(int id) { gui_delete(id); hud_free(); audio_music_fade_in(0.5f); }
static void fall_leave(int id) { gui_delete(id); hud_free(); }
static void stop_leave(int id) { hud_free(); }
static void flyby_leave(struct state *st, struct state *next, int id) { video_show_cursor(); hud_free(); }
static void next_leave(struct state *st, struct state *next, int id) { hud_free(); gui_delete(id); }
static void pause_leave(struct state *st, struct state *next, int id) { gui_delete(id); hud_free(); audio_music_fade_in(0.5f); }
static void fall_leave(struct state *st, struct state *next, int id) { gui_delete(id); hud_free(); }
static void stop_leave(struct state *st, struct state *next, int id) { hud_free(); }