Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5235 | alpine | 1 | #ifndef RS_GMENU_H |
2 | #define RS_GMENU_H |
||
3 | |||
4 | #include "rsgame.h" |
||
5 | #include "rs/rsplatform.h" |
||
6 | |||
7 | |||
8 | #define MENUS_COUNT 5 |
||
9 | |||
10 | #define MENU_MAIN 0 |
||
11 | #define MENU_SETTINGS 1 |
||
12 | #define MENU_ABOUT 2 |
||
13 | |||
14 | #define MENU_ITEM_WINDOW_SCALE 1 |
||
15 | |||
16 | extern char* menu_main_titles[]; |
||
17 | extern char* menu_settings_titles[]; |
||
18 | extern char* menu_about_titles[]; |
||
19 | extern char **menu_titles[]; |
||
20 | extern PRSFUNC0 menu_actions[]; |
||
21 | |||
22 | extern char window_scale_str[]; |
||
23 | |||
24 | void menu_cursor_down(); |
||
25 | void menu_cursor_up(); |
||
26 | void menu_open(int i); |
||
27 | void menu_cursor_click(); |
||
28 | |||
29 | void menu_action_start(); |
||
30 | void menu_action_exit(); |
||
31 | void menu_action_change_window_scale(); |
||
32 | |||
33 | #endif |