|
XenevaOS
|
#include <stdlib.h>#include <ctype.h>#include "doomdef.h"#include "doomkeys.h"#include "dstrings.h"#include "d_main.h"#include "deh_main.h"#include "i_swap.h"#include "i_system.h"#include "i_timer.h"#include "i_video.h"#include "m_misc.h"#include "v_video.h"#include "w_wad.h"#include "z_zone.h"#include "r_local.h"#include "hu_stuff.h"#include "g_game.h"#include "m_argv.h"#include "m_controls.h"#include "p_saveg.h"#include "s_sound.h"#include "doomstat.h"#include "sounds.h"#include "m_menu.h"
Classes | |
| struct | menuitem_t |
| struct | menu_s |
Macros | |
| #define | SKULLXOFF -32 |
| #define | LINEHEIGHT 16 |
Typedefs | |
| typedef struct menu_s | menu_t |
Enumerations | |
| enum | { newgame = 0 , options , loadgame , savegame , readthis , quitdoom , main_end } |
| enum | { ep1 , ep2 , ep3 , ep4 , ep_end } |
| enum | { killthings , toorough , hurtme , violence , nightmare , newg_end } |
| enum | { endgame , messages , detail , scrnsize , option_empty1 , mousesens , option_empty2 , soundvol , opt_end } |
| enum | { rdthsempty1 , read1_end } |
| enum | { rdthsempty2 , read2_end } |
| enum | { sfx_vol , sfx_empty1 , music_vol , sfx_empty2 , sound_end } |
| enum | { load1 , load2 , load3 , load4 , load5 , load6 , load_end } |
Functions | |
| void | M_NewGame (int choice) |
| void | M_Episode (int choice) |
| void | M_ChooseSkill (int choice) |
| void | M_LoadGame (int choice) |
| void | M_SaveGame (int choice) |
| void | M_Options (int choice) |
| void | M_EndGame (int choice) |
| void | M_ReadThis (int choice) |
| void | M_ReadThis2 (int choice) |
| void | M_QuitDOOM (int choice) |
| void | M_ChangeMessages (int choice) |
| void | M_ChangeSensitivity (int choice) |
| void | M_SfxVol (int choice) |
| void | M_MusicVol (int choice) |
| void | M_ChangeDetail (int choice) |
| void | M_SizeDisplay (int choice) |
| void | M_StartGame (int choice) |
| void | M_Sound (int choice) |
| void | M_FinishReadThis (int choice) |
| void | M_LoadSelect (int choice) |
| void | M_SaveSelect (int choice) |
| void | M_ReadSaveStrings (void) |
| void | M_QuickSave (void) |
| void | M_QuickLoad (void) |
| void | M_DrawMainMenu (void) |
| void | M_DrawReadThis1 (void) |
| void | M_DrawReadThis2 (void) |
| void | M_DrawNewGame (void) |
| void | M_DrawEpisode (void) |
| void | M_DrawOptions (void) |
| void | M_DrawSound (void) |
| void | M_DrawLoad (void) |
| void | M_DrawSave (void) |
| void | M_DrawSaveLoadBorder (int x, int y) |
| void | M_SetupNextMenu (menu_t *menudef) |
| void | M_DrawThermo (int x, int y, int thermWidth, int thermDot) |
| void | M_DrawEmptyCell (menu_t *menu, int item) |
| void | M_DrawSelCell (menu_t *menu, int item) |
| void | M_WriteText (int x, int y, char *string) |
| int | M_StringWidth (char *string) |
| int | M_StringHeight (char *string) |
| void | M_StartMessage (char *string, void *routine, boolean input) |
| void | M_StopMessage (void) |
| void | M_ClearMenus (void) |
| void | M_DoSave (int slot) |
| void | M_QuickSaveResponse (int key) |
| void | M_QuickLoadResponse (int key) |
| void | M_VerifyNightmare (int key) |
| void | M_EndGameResponse (int key) |
| void | M_QuitResponse (int key) |
| boolean | M_Responder (event_t *ev) |
| void | M_StartControlPanel (void) |
| void | M_Drawer (void) |
| void | M_Ticker (void) |
| void | M_Init (void) |
| #define LINEHEIGHT 16 |
| #define SKULLXOFF -32 |
| anonymous enum |
| void M_ChangeDetail | ( | int | choice | ) |
| void M_ChangeMessages | ( | int | choice | ) |
| void M_ChangeSensitivity | ( | int | choice | ) |
| void M_ChooseSkill | ( | int | choice | ) |
| void M_ClearMenus | ( | void | ) |
| void M_DoSave | ( | int | slot | ) |
| void M_DrawEmptyCell | ( | menu_t * | menu, |
| int | item | ||
| ) |
| void M_DrawEpisode | ( | void | ) |
| void M_Drawer | ( | void | ) |
| void M_DrawLoad | ( | void | ) |
| void M_DrawMainMenu | ( | void | ) |
| void M_DrawNewGame | ( | void | ) |
| void M_DrawOptions | ( | void | ) |
| void M_DrawReadThis1 | ( | void | ) |
| void M_DrawReadThis2 | ( | void | ) |
| void M_DrawSave | ( | void | ) |
| void M_DrawSaveLoadBorder | ( | int | x, |
| int | y | ||
| ) |
| void M_DrawSelCell | ( | menu_t * | menu, |
| int | item | ||
| ) |
| void M_DrawSound | ( | void | ) |
| void M_DrawThermo | ( | int | x, |
| int | y, | ||
| int | thermWidth, | ||
| int | thermDot | ||
| ) |
| void M_EndGame | ( | int | choice | ) |
| void M_EndGameResponse | ( | int | key | ) |
| void M_Episode | ( | int | choice | ) |
| void M_FinishReadThis | ( | int | choice | ) |
| void M_Init | ( | void | ) |
| void M_LoadGame | ( | int | choice | ) |
| void M_LoadSelect | ( | int | choice | ) |
| void M_MusicVol | ( | int | choice | ) |
| void M_NewGame | ( | int | choice | ) |
| void M_Options | ( | int | choice | ) |
| void M_QuickLoad | ( | void | ) |
| void M_QuickLoadResponse | ( | int | key | ) |
| void M_QuickSave | ( | void | ) |
| void M_QuickSaveResponse | ( | int | key | ) |
| void M_QuitDOOM | ( | int | choice | ) |
| void M_QuitResponse | ( | int | key | ) |
| void M_ReadSaveStrings | ( | void | ) |
| void M_ReadThis | ( | int | choice | ) |
| void M_ReadThis2 | ( | int | choice | ) |
| void M_SaveGame | ( | int | choice | ) |
| void M_SaveSelect | ( | int | choice | ) |
| void M_SetupNextMenu | ( | menu_t * | menudef | ) |
| void M_SfxVol | ( | int | choice | ) |
| void M_SizeDisplay | ( | int | choice | ) |
| void M_Sound | ( | int | choice | ) |
| void M_StartControlPanel | ( | void | ) |
| void M_StartGame | ( | int | choice | ) |
| void M_StartMessage | ( | char * | string, |
| void * | routine, | ||
| boolean | input | ||
| ) |
| void M_StopMessage | ( | void | ) |
| int M_StringHeight | ( | char * | string | ) |
| int M_StringWidth | ( | char * | string | ) |
| void M_Ticker | ( | void | ) |
| void M_VerifyNightmare | ( | int | key | ) |
| void M_WriteText | ( | int | x, |
| int | y, | ||
| char * | string | ||
| ) |
|
extern |
| menu_t* currentMenu |
| int detailLevel = 0 |
| char endstring[160] |
| int epi |
| menu_t EpiDef |
| menuitem_t EpisodeMenu[] |
| enum { ... } episodes_e |
| char gammamsg[5][26] |
|
extern |
| boolean inhelpscreens |
| short itemOn |
| enum { ... } load_e |
| menu_t LoadDef |
| menuitem_t LoadMenu[] |
| enum { ... } main_e |
| menu_t MainDef |
| menuitem_t MainMenu[] |
| boolean menuactive |
|
extern |
| int messageLastMenuActive |
| boolean messageNeedsInput |
| void(* messageRoutine) (int response) | ( | int | response | ) |
| char* messageString |
| int messageToPrint |
| int messx |
| int messy |
| int mouseSensitivity = 5 |
| menu_t NewDef |
| enum { ... } newgame_e |
| menuitem_t NewGameMenu[] |
| enum { ... } options_e |
| menu_t OptionsDef |
| menuitem_t OptionsMenu[] |
| int quickSaveSlot |
| int quitsounds[8] |
| int quitsounds2[8] |
| enum { ... } read_e |
| enum { ... } read_e2 |
| menu_t ReadDef1 |
| menu_t ReadDef2 |
| menuitem_t ReadMenu1[] |
| menuitem_t ReadMenu2[] |
| int saveCharIndex |
| menu_t SaveDef |
| char savegamestrings[10][SAVESTRINGSIZE] |
| menuitem_t SaveMenu[] |
| char saveOldString[SAVESTRINGSIZE] |
| int saveSlot |
| int saveStringEnter |
| int screenblocks = 10 |
| int screenSize |
|
extern |
| int showMessages = 1 |
| short skullAnimCounter |
| char* skullName[2] = {"M_SKULL1","M_SKULL2"} |
| enum { ... } sound_e |
| menu_t SoundDef |
| menuitem_t SoundMenu[] |
| char tempstring[80] |
| short whichSkull |