Disable extra cubemaps in medium and normal configs, add cl_cubemaps_extra to the...
authorMario <zacjardine@y7mail.com>
Sun, 14 Dec 2014 23:01:16 +0000 (10:01 +1100)
committerMario <zacjardine@y7mail.com>
Sun, 14 Dec 2014 23:01:16 +0000 (10:01 +1100)
effects-med.cfg
effects-normal.cfg
qcsrc/common/playerstats.qc
qcsrc/menu/xonotic/dialog_settings_effects.c

index 75f7250..84df449 100644 (file)
@@ -6,7 +6,7 @@ cl_particles_quality 0.8
 cl_damageeffect 0
 cl_spawn_point_particles 0
 cl_playerdetailreduction 4
-cl_cubemaps_extra 1
+cl_cubemaps_extra 0
 gl_flashblend 0
 gl_picmip 0
 mod_q3bsp_nolightmaps 0
index b1a9675..2775643 100644 (file)
@@ -6,7 +6,7 @@ cl_particles_quality 1.0
 cl_damageeffect 1
 cl_spawn_point_particles 1
 cl_playerdetailreduction 4
-cl_cubemaps_extra 1
+cl_cubemaps_extra 0
 gl_flashblend 0
 gl_picmip 0
 mod_q3bsp_nolightmaps 0
index 742dd11..479756d 100644 (file)
@@ -769,7 +769,7 @@ void PlayerStats_PlayerDetail_Handler(entity fh, entity unused, float status)
                                        
                                        default:
                                        {
-                                               print(sprintf(
+                                               printf(
                                                        "PlayerStats_PlayerDetail_Handler(): ERROR: "
                                                        "Key went unhandled? Is our version outdated?\n"
                                                        "PlayerStats_PlayerDetail_Handler(): "
@@ -777,7 +777,7 @@ void PlayerStats_PlayerDetail_Handler(entity fh, entity unused, float status)
                                                        key,
                                                        event,
                                                        data
-                                               ));
+                                               );
                                                break;
                                        }
                                }
index 949f0cc..3a69a2e 100644 (file)
@@ -180,6 +180,8 @@ void XonoticEffectsSettingsTab_fill(entity me)
                me.TD(me, 1, 2.8, e = makeXonoticCheckBox(0, "r_coronas_occlusionquery", _("Fade corona according to visibility")));
                        setDependent(e, "r_coronas", 1, 1);
        me.TR(me);
+               me.TD(me, 1, 1, e = makeXonoticCheckBox(0, "cl_cubemaps_extra", _("Extra reflective effects")));
+       me.TR(me);
                me.TD(me, 1, 1, e = makeXonoticCheckBox(0, "r_bloom", _("Bloom")));
                me.TD(me, 1, 2, e = makeXonoticCheckBoxEx(0.5, 0, "hud_postprocessing_maxbluralpha", _("Extra postprocessing effects")));
                        makeMulti(e, "hud_powerup");