mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-23 20:21:32 +00:00
IOQ3 commit 2368
This commit is contained in:
parent
33829eb429
commit
121659f2c5
1 changed files with 16 additions and 12 deletions
|
@ -365,7 +365,7 @@ void UI_MainMenu( void ) {
|
||||||
s_main.cinematics.color = color_red;
|
s_main.cinematics.color = color_red;
|
||||||
s_main.cinematics.style = style;
|
s_main.cinematics.style = style;
|
||||||
|
|
||||||
if (UI_TeamArenaExists()) {
|
if ( !uis.demoversion && UI_TeamArenaExists() ) {
|
||||||
teamArena = qtrue;
|
teamArena = qtrue;
|
||||||
y += MAIN_MENU_VERTICAL_SPACING;
|
y += MAIN_MENU_VERTICAL_SPACING;
|
||||||
s_main.teamArena.generic.type = MTYPE_PTEXT;
|
s_main.teamArena.generic.type = MTYPE_PTEXT;
|
||||||
|
@ -379,6 +379,7 @@ void UI_MainMenu( void ) {
|
||||||
s_main.teamArena.style = style;
|
s_main.teamArena.style = style;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( !uis.demoversion ) {
|
||||||
y += MAIN_MENU_VERTICAL_SPACING;
|
y += MAIN_MENU_VERTICAL_SPACING;
|
||||||
s_main.mods.generic.type = MTYPE_PTEXT;
|
s_main.mods.generic.type = MTYPE_PTEXT;
|
||||||
s_main.mods.generic.flags = QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
|
s_main.mods.generic.flags = QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
|
||||||
|
@ -389,6 +390,7 @@ void UI_MainMenu( void ) {
|
||||||
s_main.mods.string = "MODS";
|
s_main.mods.string = "MODS";
|
||||||
s_main.mods.color = color_red;
|
s_main.mods.color = color_red;
|
||||||
s_main.mods.style = style;
|
s_main.mods.style = style;
|
||||||
|
}
|
||||||
|
|
||||||
y += MAIN_MENU_VERTICAL_SPACING;
|
y += MAIN_MENU_VERTICAL_SPACING;
|
||||||
s_main.exit.generic.type = MTYPE_PTEXT;
|
s_main.exit.generic.type = MTYPE_PTEXT;
|
||||||
|
@ -409,7 +411,9 @@ void UI_MainMenu( void ) {
|
||||||
if (teamArena) {
|
if (teamArena) {
|
||||||
Menu_AddItem( &s_main.menu, &s_main.teamArena );
|
Menu_AddItem( &s_main.menu, &s_main.teamArena );
|
||||||
}
|
}
|
||||||
|
if ( !uis.demoversion ) {
|
||||||
Menu_AddItem( &s_main.menu, &s_main.mods );
|
Menu_AddItem( &s_main.menu, &s_main.mods );
|
||||||
|
}
|
||||||
Menu_AddItem( &s_main.menu, &s_main.exit );
|
Menu_AddItem( &s_main.menu, &s_main.exit );
|
||||||
|
|
||||||
trap_Key_SetCatcher( KEYCATCH_UI );
|
trap_Key_SetCatcher( KEYCATCH_UI );
|
||||||
|
|
Loading…
Reference in a new issue