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

Go to the source code of this file.
Data Structures | |
| struct | ingamemenu_t |
Defines | |
| #define | ID_ADDBOTS 11 |
| #define | ID_LEAVEARENA 15 |
| #define | ID_QUIT 17 |
| #define | ID_REMOVEBOTS 12 |
| #define | ID_RESTART 16 |
| #define | ID_RESUME 18 |
| #define | ID_SERVERINFO 14 |
| #define | ID_SETUP 13 |
| #define | ID_TEAM 10 |
| #define | ID_TEAMORDERS 19 |
| #define | INGAME_FRAME "menu/art/addbotframe" |
| #define | INGAME_MENU_VERTICAL_SPACING 28 |
Functions | |
| void | InGame_Cache (void) |
| void | InGame_Event (void *ptr, int notification) |
| void | InGame_MenuInit (void) |
| void | InGame_QuitAction (qboolean result) |
| void | InGame_RestartAction (qboolean result) |
| void | UI_InGameMenu (void) |
Variables | |
| ingamemenu_t | s_ingame |
|
|
Definition at line 40 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 44 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 46 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 41 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 45 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 47 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 43 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 42 of file ui_ingame.c. Referenced by InGame_Event(), Main_MenuEvent(), and Rankings_MenuEvent(). |
|
|
Definition at line 39 of file ui_ingame.c. |
|
|
Definition at line 48 of file ui_ingame.c. Referenced by InGame_Event(). |
|
|
Definition at line 35 of file ui_ingame.c. Referenced by InGame_Cache(). |
|
|
Definition at line 37 of file ui_ingame.c. |
|
|
Definition at line 329 of file ui_ingame.c. References INGAME_FRAME, and trap_R_RegisterShaderNoMip(). Referenced by InGame_MenuInit(), and UI_Cache_f(). 00329 {
00330 trap_R_RegisterShaderNoMip( INGAME_FRAME );
00331 }
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 104 of file ui_ingame.c. References EXEC_APPEND, ID_ADDBOTS, ID_LEAVEARENA, ID_QUIT, ID_REMOVEBOTS, ID_RESTART, ID_RESUME, ID_SERVERINFO, ID_SETUP, ID_TEAM, ID_TEAMORDERS, InGame_QuitAction(), InGame_RestartAction(), NULL, trap_Cmd_ExecuteText(), UI_AddBotsMenu(), UI_ConfirmMenu(), UI_PopMenu(), UI_RemoveBotsMenu(), UI_ServerInfoMenu(), UI_SetupMenu(), UI_TeamMainMenu(), UI_TeamOrdersMenu(), and voidfunc_f. 00104 {
00105 if( notification != QM_ACTIVATED ) {
00106 return;
00107 }
00108
00109 switch( ((menucommon_s*)ptr)->id ) {
00110 case ID_TEAM:
00111 UI_TeamMainMenu();
00112 break;
00113
00114 case ID_SETUP:
00115 UI_SetupMenu();
00116 break;
00117
00118 case ID_LEAVEARENA:
00119 trap_Cmd_ExecuteText( EXEC_APPEND, "disconnect\n" );
00120 break;
00121
00122 case ID_RESTART:
00123 UI_ConfirmMenu( "RESTART ARENA?", (voidfunc_f)NULL, InGame_RestartAction );
00124 break;
00125
00126 case ID_QUIT:
00127 UI_ConfirmMenu( "EXIT GAME?", (voidfunc_f)NULL, InGame_QuitAction );
00128 break;
00129
00130 case ID_SERVERINFO:
00131 UI_ServerInfoMenu();
00132 break;
00133
00134 case ID_ADDBOTS:
00135 UI_AddBotsMenu();
00136 break;
00137
00138 case ID_REMOVEBOTS:
00139 UI_RemoveBotsMenu();
00140 break;
00141
00142 case ID_TEAMORDERS:
00143 UI_TeamOrdersMenu();
00144 break;
00145
00146 case ID_RESUME:
00147 UI_PopMenu();
00148 break;
00149 }
00150 }
|
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
Definition at line 90 of file ui_ingame.c. References UI_CreditMenu(), and UI_PopMenu(). Referenced by InGame_Event(). 00090 {
00091 if( !result ) {
00092 return;
00093 }
00094 UI_PopMenu();
00095 UI_CreditMenu();
00096 }
|
Here is the call graph for this function:

|
|
Definition at line 75 of file ui_ingame.c. References EXEC_APPEND, trap_Cmd_ExecuteText(), and UI_PopMenu(). Referenced by InGame_Event(). 00075 {
00076 if( !result ) {
00077 return;
00078 }
00079
00080 UI_PopMenu();
00081 trap_Cmd_ExecuteText( EXEC_APPEND, "map_restart 0\n" );
00082 }
|
Here is the call graph for this function:

|
|
Definition at line 339 of file ui_ingame.c. References uiStatic_t::cursorx, uiStatic_t::cursory, InGame_MenuInit(), ingamemenu_t::menu, uiStatic_t::menusp, s_ingame, UI_PushMenu(), and uis. Referenced by UI_SetActiveMenu(). 00339 {
00340 // force as top level menu
00341 uis.menusp = 0;
00342
00343 // set menu cursor to a nice location
00344 uis.cursorx = 319;
00345 uis.cursory = 80;
00346
00347 InGame_MenuInit();
00348 UI_PushMenu( &s_ingame.menu );
00349 }
|
Here is the call graph for this function:

|
|
Definition at line 67 of file ui_ingame.c. Referenced by InGame_MenuInit(), and UI_InGameMenu(). |
1.3.9.1