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

Go to the source code of this file.
|
|
Definition at line 228 of file ui_main.c. 00228 {
00229 int i;
00230 cvarTable_t *cv;
00231
00232 for ( i = 0, cv = cvarTable ; i < cvarTableSize ; i++, cv++ ) {
00233 trap_Cvar_Register( cv->vmCvar, cv->cvarName, cv->defaultString, cv->cvarFlags );
00234 }
00235 }
|
|
|
Definition at line 242 of file ui_main.c. 00242 {
00243 int i;
00244 cvarTable_t *cv;
00245
00246 for ( i = 0, cv = cvarTable ; i < cvarTableSize ; i++, cv++ ) {
00247 trap_Cvar_Update( cv->vmCvar );
00248 }
00249 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 43 of file ui_main.c. References UI_CONSOLE_COMMAND, UI_ConsoleCommand(), UI_DRAW_CONNECT_SCREEN, UI_DrawConnectScreen(), UI_GETAPIVERSION, UI_HASUNIQUECDKEY, UI_Init(), UI_INIT, UI_IS_FULLSCREEN, UI_IsFullscreen(), UI_KEY_EVENT, UI_KeyEvent(), UI_MOUSE_EVENT, UI_MouseEvent(), UI_Refresh(), UI_REFRESH, UI_SET_ACTIVE_MENU, UI_SetActiveMenu(), UI_Shutdown(), and UI_SHUTDOWN. 00043 {
00044 switch ( command ) {
00045 case UI_GETAPIVERSION:
00046 return UI_API_VERSION;
00047
00048 case UI_INIT:
00049 UI_Init();
00050 return 0;
00051
00052 case UI_SHUTDOWN:
00053 UI_Shutdown();
00054 return 0;
00055
00056 case UI_KEY_EVENT:
00057 UI_KeyEvent( arg0, arg1 );
00058 return 0;
00059
00060 case UI_MOUSE_EVENT:
00061 UI_MouseEvent( arg0, arg1 );
00062 return 0;
00063
00064 case UI_REFRESH:
00065 UI_Refresh( arg0 );
00066 return 0;
00067
00068 case UI_IS_FULLSCREEN:
00069 return UI_IsFullscreen();
00070
00071 case UI_SET_ACTIVE_MENU:
00072 UI_SetActiveMenu( arg0 );
00073 return 0;
00074
00075 case UI_CONSOLE_COMMAND:
00076 return UI_ConsoleCommand(arg0);
00077
00078 case UI_DRAW_CONNECT_SCREEN:
00079 UI_DrawConnectScreen( arg0 );
00080 return 0;
00081 case UI_HASUNIQUECDKEY: // mod authors need to observe this
00082 return qtrue; // bk010117 - change this to qfalse for mods!
00083 }
00084
00085 return -1;
00086 }
|
Here is the call graph for this function:

|
|
Initial value: {
{ &ui_ffa_fraglimit, "ui_ffa_fraglimit", "20", CVAR_ARCHIVE },
{ &ui_ffa_timelimit, "ui_ffa_timelimit", "0", CVAR_ARCHIVE },
{ &ui_tourney_fraglimit, "ui_tourney_fraglimit", "0", CVAR_ARCHIVE },
{ &ui_tourney_timelimit, "ui_tourney_timelimit", "15", CVAR_ARCHIVE },
{ &ui_team_fraglimit, "ui_team_fraglimit", "0", CVAR_ARCHIVE },
{ &ui_team_timelimit, "ui_team_timelimit", "20", CVAR_ARCHIVE },
{ &ui_team_friendly, "ui_team_friendly", "1", CVAR_ARCHIVE },
{ &ui_ctf_capturelimit, "ui_ctf_capturelimit", "8", CVAR_ARCHIVE },
{ &ui_ctf_timelimit, "ui_ctf_timelimit", "30", CVAR_ARCHIVE },
{ &ui_ctf_friendly, "ui_ctf_friendly", "0", CVAR_ARCHIVE },
{ &ui_arenasFile, "g_arenasFile", "", CVAR_INIT|CVAR_ROM },
{ &ui_botsFile, "g_botsFile", "", CVAR_INIT|CVAR_ROM },
{ &ui_spScores1, "g_spScores1", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spScores2, "g_spScores2", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spScores3, "g_spScores3", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spScores4, "g_spScores4", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spScores5, "g_spScores5", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spAwards, "g_spAwards", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spVideos, "g_spVideos", "", CVAR_ARCHIVE | CVAR_ROM },
{ &ui_spSkill, "g_spSkill", "2", CVAR_ARCHIVE | CVAR_LATCH },
{ &ui_spSelection, "ui_spSelection", "", CVAR_ROM },
{ &ui_browserMaster, "ui_browserMaster", "0", CVAR_ARCHIVE },
{ &ui_browserGameType, "ui_browserGameType", "0", CVAR_ARCHIVE },
{ &ui_browserSortKey, "ui_browserSortKey", "4", CVAR_ARCHIVE },
{ &ui_browserShowFull, "ui_browserShowFull", "1", CVAR_ARCHIVE },
{ &ui_browserShowEmpty, "ui_browserShowEmpty", "1", CVAR_ARCHIVE },
{ &ui_brassTime, "cg_brassTime", "2500", CVAR_ARCHIVE },
{ &ui_drawCrosshair, "cg_drawCrosshair", "4", CVAR_ARCHIVE },
{ &ui_drawCrosshairNames, "cg_drawCrosshairNames", "1", CVAR_ARCHIVE },
{ &ui_marks, "cg_marks", "1", CVAR_ARCHIVE },
{ &ui_server1, "server1", "", CVAR_ARCHIVE },
{ &ui_server2, "server2", "", CVAR_ARCHIVE },
{ &ui_server3, "server3", "", CVAR_ARCHIVE },
{ &ui_server4, "server4", "", CVAR_ARCHIVE },
{ &ui_server5, "server5", "", CVAR_ARCHIVE },
{ &ui_server6, "server6", "", CVAR_ARCHIVE },
{ &ui_server7, "server7", "", CVAR_ARCHIVE },
{ &ui_server8, "server8", "", CVAR_ARCHIVE },
{ &ui_server9, "server9", "", CVAR_ARCHIVE },
{ &ui_server10, "server10", "", CVAR_ARCHIVE },
{ &ui_server11, "server11", "", CVAR_ARCHIVE },
{ &ui_server12, "server12", "", CVAR_ARCHIVE },
{ &ui_server13, "server13", "", CVAR_ARCHIVE },
{ &ui_server14, "server14", "", CVAR_ARCHIVE },
{ &ui_server15, "server15", "", CVAR_ARCHIVE },
{ &ui_server16, "server16", "", CVAR_ARCHIVE },
{ &ui_cdkeychecked, "ui_cdkeychecked", "0", CVAR_ROM }
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1