#include "ui_local.h"
Include dependency graph for ui_setup.c:

Go to the source code of this file.
Data Structures | |
| struct | setupMenuInfo_t |
Defines | |
| #define | ART_BACK0 "menu/art/back_0" |
| #define | ART_BACK1 "menu/art/back_1" |
| #define | ART_FRAMEL "menu/art/frame2_l" |
| #define | ART_FRAMER "menu/art/frame1_r" |
| #define | ID_BACK 18 |
| #define | ID_CDKEY 14 |
| #define | ID_CUSTOMIZECONTROLS 11 |
| #define | ID_CUSTOMIZEPLAYER 10 |
| #define | ID_DEFAULTS 17 |
| #define | ID_GAME 13 |
| #define | ID_LOAD 15 |
| #define | ID_SAVE 16 |
| #define | ID_SYSTEMCONFIG 12 |
| #define | SETUP_MENU_VERTICAL_SPACING 34 |
Functions | |
| void | Setup_ResetDefaults_Action (qboolean result) |
| void | Setup_ResetDefaults_Draw (void) |
| void | UI_SetupMenu (void) |
| void | UI_SetupMenu_Cache (void) |
| void | UI_SetupMenu_Event (void *ptr, int event) |
| void | UI_SetupMenu_Init (void) |
Variables | |
| setupMenuInfo_t | setupMenuInfo |
|
|
Definition at line 37 of file ui_setup.c. |
|
|
Definition at line 38 of file ui_setup.c. |
|
|
Definition at line 39 of file ui_setup.c. |
|
|
Definition at line 40 of file ui_setup.c. |
|
|
Definition at line 50 of file ui_setup.c. |
|
|
Definition at line 46 of file ui_setup.c. |
|
|
Definition at line 43 of file ui_setup.c. Referenced by UI_SetupMenu_Event(). |
|
|
Definition at line 42 of file ui_setup.c. Referenced by UI_SetupMenu_Event(). |
|
|
Definition at line 49 of file ui_setup.c. |
|
|
Definition at line 45 of file ui_setup.c. Referenced by UI_SetupMenu_Event(). |
|
|
Definition at line 47 of file ui_setup.c. |
|
|
Definition at line 48 of file ui_setup.c. |
|
|
Definition at line 44 of file ui_setup.c. Referenced by UI_SetupMenu_Event(). |
|
|
Definition at line 35 of file ui_setup.c. |
|
|
Definition at line 78 of file ui_setup.c. References EXEC_APPEND, and trap_Cmd_ExecuteText(). Referenced by UI_SetupMenu_Event(). 00078 {
00079 if( !result ) {
00080 return;
00081 }
00082 trap_Cmd_ExecuteText( EXEC_APPEND, "exec default.cfg\n");
00083 trap_Cmd_ExecuteText( EXEC_APPEND, "cvar_restart\n");
00084 trap_Cmd_ExecuteText( EXEC_APPEND, "vid_restart\n" );
00085 }
|
Here is the call graph for this function:

|
|
Definition at line 93 of file ui_setup.c. References color_yellow, PROP_HEIGHT, SCREEN_WIDTH, UI_CENTER, UI_DrawProportionalString(), and UI_SMALLFONT. Referenced by UI_SetupMenu_Event(). 00093 {
00094 UI_DrawProportionalString( SCREEN_WIDTH/2, 356 + PROP_HEIGHT * 0, "WARNING: This will reset *ALL*", UI_CENTER|UI_SMALLFONT, color_yellow );
00095 UI_DrawProportionalString( SCREEN_WIDTH/2, 356 + PROP_HEIGHT * 1, "options to their default values.", UI_CENTER|UI_SMALLFONT, color_yellow );
00096 }
|
Here is the call graph for this function:

|
|
Definition at line 324 of file ui_setup.c. References setupMenuInfo_t::menu, setupMenuInfo, UI_PushMenu(), and UI_SetupMenu_Init(). 00324 {
00325 UI_SetupMenu_Init();
00326 UI_PushMenu( &setupMenuInfo.menu );
00327 }
|
Here is the call graph for this function:

|
|
Definition at line 311 of file ui_setup.c. References ART_BACK0, ART_BACK1, ART_FRAMEL, ART_FRAMER, and trap_R_RegisterShaderNoMip(). 00311 {
00312 trap_R_RegisterShaderNoMip( ART_BACK0 );
00313 trap_R_RegisterShaderNoMip( ART_BACK1 );
00314 trap_R_RegisterShaderNoMip( ART_FRAMEL );
00315 trap_R_RegisterShaderNoMip( ART_FRAMER );
00316 }
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 104 of file ui_setup.c. References ID_BACK, ID_CDKEY, ID_CUSTOMIZECONTROLS, ID_CUSTOMIZEPLAYER, ID_DEFAULTS, ID_GAME, ID_SYSTEMCONFIG, Setup_ResetDefaults_Action(), Setup_ResetDefaults_Draw(), UI_CDKeyMenu(), UI_ConfirmMenu(), UI_ControlsMenu(), UI_GraphicsOptionsMenu(), UI_PlayerSettingsMenu(), UI_PopMenu(), and UI_PreferencesMenu(). 00104 {
00105 if( event != QM_ACTIVATED ) {
00106 return;
00107 }
00108
00109 switch( ((menucommon_s*)ptr)->id ) {
00110 case ID_CUSTOMIZEPLAYER:
00111 UI_PlayerSettingsMenu();
00112 break;
00113
00114 case ID_CUSTOMIZECONTROLS:
00115 UI_ControlsMenu();
00116 break;
00117
00118 case ID_SYSTEMCONFIG:
00119 UI_GraphicsOptionsMenu();
00120 break;
00121
00122 case ID_GAME:
00123 UI_PreferencesMenu();
00124 break;
00125
00126 case ID_CDKEY:
00127 UI_CDKeyMenu();
00128 break;
00129
00130 // case ID_LOAD:
00131 // UI_LoadConfigMenu();
00132 // break;
00133
00134 // case ID_SAVE:
00135 // UI_SaveConfigMenu();
00136 // break;
00137
00138 case ID_DEFAULTS:
00139 UI_ConfirmMenu( "SET TO DEFAULTS?", Setup_ResetDefaults_Draw, Setup_ResetDefaults_Action );
00140 break;
00141
00142 case ID_BACK:
00143 UI_PopMenu();
00144 break;
00145 }
00146 }
|
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
Definition at line 70 of file ui_setup.c. Referenced by UI_SetupMenu(), and UI_SetupMenu_Init(). |
1.3.9.1