1 /* 2 * This software is licensed under the terms of the MIT License. 3 * See COPYING for further information. 4 * --- 5 * Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>. 6 * Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>. 7 */ 8 9 #ifndef IGUARD_menu_common_h 10 #define IGUARD_menu_common_h 11 12 #include "taisei.h" 13 14 #include "menu.h" 15 16 void start_game(MenuData *m, void *arg); 17 void start_game_no_difficulty_menu(MenuData *m, void *arg); 18 void draw_menu_selector(float x, float y, float w, float h, float t); 19 void draw_menu_title(MenuData *m, const char *title); 20 void draw_menu_list(MenuData *m, float x, float y, void (*draw)(MenuEntry*, int, int), float scroll_threshold); 21 void animate_menu_list(MenuData *m); 22 void animate_menu_list_entries(MenuData *m); 23 void animate_menu_list_entry(MenuData *m, int i); 24 void menu_action_close(MenuData *menu, void *arg); 25 26 #endif // IGUARD_menu_common_h 27