summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_local.h2
-rw-r--r--src/ui/ui_main.c4
-rw-r--r--src/ui/ui_shared.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/ui/ui_local.h b/src/ui/ui_local.h
index c2604af3..654cda4e 100644
--- a/src/ui/ui_local.h
+++ b/src/ui/ui_local.h
@@ -144,7 +144,7 @@ extern vmCvar_t ui_bank;
#define MAX_EDIT_LINE 256
#define MAX_MENUDEPTH 8
-#define MAX_MENUITEMS 96
+#define MAX_MENUITEMS 128
#define MTYPE_NULL 0
#define MTYPE_SLIDER 1
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index aadad4fa..a4016388 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -3769,6 +3769,7 @@ static void UI_Update(const char *name) {
trap_Cvar_SetValue( "r_inGameVideo", 1 );
trap_Cvar_SetValue( "cg_shadows", 1 );
trap_Cvar_SetValue( "cg_brassTime", 2500 );
+ trap_Cvar_SetValue( "cg_bounceParticles", 1 );
trap_Cvar_Set( "r_texturemode", "GL_LINEAR_MIPMAP_LINEAR" );
break;
case 1: // normal
@@ -3786,6 +3787,7 @@ static void UI_Update(const char *name) {
trap_Cvar_SetValue( "cg_brassTime", 2500 );
trap_Cvar_Set( "r_texturemode", "GL_LINEAR_MIPMAP_LINEAR" );
trap_Cvar_SetValue( "cg_shadows", 0 );
+ trap_Cvar_SetValue( "cg_bounceParticles", 0 );
break;
case 2: // fast
trap_Cvar_SetValue( "r_fullScreen", 1 );
@@ -3801,6 +3803,7 @@ static void UI_Update(const char *name) {
trap_Cvar_SetValue( "r_fastSky", 1 );
trap_Cvar_SetValue( "r_inGameVideo", 0 );
trap_Cvar_SetValue( "cg_brassTime", 0 );
+ trap_Cvar_SetValue( "cg_bounceParticles", 0 );
trap_Cvar_Set( "r_texturemode", "GL_LINEAR_MIPMAP_NEAREST" );
break;
case 3: // fastest
@@ -3817,6 +3820,7 @@ static void UI_Update(const char *name) {
trap_Cvar_SetValue( "cg_brassTime", 0 );
trap_Cvar_SetValue( "r_fastSky", 1 );
trap_Cvar_SetValue( "r_inGameVideo", 0 );
+ trap_Cvar_SetValue( "cg_bounceParticles", 0 );
trap_Cvar_Set( "r_texturemode", "GL_LINEAR_MIPMAP_NEAREST" );
break;
}
diff --git a/src/ui/ui_shared.h b/src/ui/ui_shared.h
index 202cda52..81d629b5 100644
--- a/src/ui/ui_shared.h
+++ b/src/ui/ui_shared.h
@@ -37,7 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define MAX_MENUDEFFILE 4096
#define MAX_MENUFILE 32768
#define MAX_MENUS 256
-#define MAX_MENUITEMS 96
+#define MAX_MENUITEMS 128
#define MAX_COLOR_RANGES 10
#define MAX_OPEN_MENUS 16