| 1 | #cxx . . $ `<file>/src/menu.h`/ifndef MENU_HEADER_FILE__ |
| 2 | #define MENU_HEADER_FILE__cxx . . $ `src/menu.h:2:9`! |
| 3 | |
| 4 | #define ACTION_QUITcxx . . $ `src/menu.h:4:9`! 1 |
| 5 | #define ACTION_MISSIONcxx . . $ `src/menu.h:5:9`! 2 |
| 6 | |
| 7 | #define BUTTON_PLAYcxx . . $ `src/menu.h:7:9`! 1 |
| 8 | #define BUTTON_QUITcxx . . $ `src/menu.h:8:9`! 2 |
| 9 | #define BUTTON_PREV_MISSIONcxx . . $ `src/menu.h:9:9`! 3 |
| 10 | #define BUTTON_NEXT_MISSIONcxx . . $ `src/menu.h:10:9`! 4 |
| 11 | #define BUTTON_MOVE_UPcxx . . $ `src/menu.h:11:9`! 5 |
| 12 | #define BUTTON_MOVE_DOWNcxx . . $ `src/menu.h:12:9`! 6 |
| 13 | #define BUTTON_ACTIVATEcxx . . $ `src/menu.h:13:9`! 7 |
| 14 | |
| 15 | #define MISSION_PREVIOUScxx . . $ `src/menu.h:15:9`! 1 |
| 16 | #define MISSION_NEXTcxx . . $ `src/menu.h:16:9`! 2 |
| 17 | |
| 18 | #ifndef TRUE |
| 19 | #define TRUEcxx . . $ `src/menu.h:19:9`! 1 |
| 20 | #endif |
| 21 | #ifndef FALSE |
| 22 | #define FALSEcxx . . $ `src/menu.h:22:9`! 0 |
| 23 | #endif |
| 24 | |
| 25 | |
| 26 | // Returns one of the above actions |
| 27 | int Main_Menucxx . . $ Main_Menu(8294d564b9200189).(int *mission_number, SDL_Surface *screen); |
| 28 | |
| 29 | |
| 30 | |
| 31 | // This function selects the next/previous mission |
| 32 | // It checks to make sure the mission files exist. |
| 33 | // The new mission number is returned on success and |
| 34 | // the original mission number on failure. |
| 35 | int New_Missioncxx . . $ New_Mission(9b79fb6aee4c0440).(int next_prev, int old_mission); |
| 36 | |
| 37 | |
| 38 | // This function displays the description of a mission on the |
| 39 | // menu screen |
| 40 | int Display_Missioncxx . . $ Display_Mission(7864480464b09eea).(int mission_number); |
| 41 | |
| 42 | |
| 43 | // This function draws the important buttons and keyboard |
| 44 | // cursor on the screen |
| 45 | // The "selected" parameter tells us which button is currently |
| 46 | // highlighted |
| 47 | int Draw_Main_Menucxx . . $ Draw_Main_Menu(b223e862534b1804).(int selected, Uint32cxx . . $ Uint32# menu_colour); |
| 48 | |
| 49 | // This function checks to see if we have any keyboard or |
| 50 | // mouse input. We return one of the "button" values |
| 51 | // defined above |
| 52 | int Menu_Inputcxx . . $ Menu_Input(b126dc7c1de90089).(); |
| 53 | |
| 54 | |
| 55 | #endif |
| 56 |