r2738 - in branches/nexuiz-2.0/data: . menu/data menu/options

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue May 29 19:04:27 EDT 2007


Author: div0
Date: 2007-05-29 19:04:26 -0400 (Tue, 29 May 2007)
New Revision: 2738

Modified:
   branches/nexuiz-2.0/data/default.cfg
   branches/nexuiz-2.0/data/menu/data/color.menu
   branches/nexuiz-2.0/data/menu/options/color.menu
Log:
r_ambient 0 again; r_ambient slider in menu


Modified: branches/nexuiz-2.0/data/default.cfg
===================================================================
--- branches/nexuiz-2.0/data/default.cfg	2007-05-29 22:55:46 UTC (rev 2737)
+++ branches/nexuiz-2.0/data/default.cfg	2007-05-29 23:04:26 UTC (rev 2738)
@@ -439,7 +439,7 @@
 r_mipsprites 1
 r_mipskins 1
 r_shadow_realtime_world_lightmaps 1
-r_ambient 4
+r_ambient 0
 cl_decals_fadetime 1
 cl_decals_time 2
 seta cl_nogibs 0

Modified: branches/nexuiz-2.0/data/menu/data/color.menu
===================================================================
--- branches/nexuiz-2.0/data/menu/data/color.menu	2007-05-29 22:55:46 UTC (rev 2737)
+++ branches/nexuiz-2.0/data/menu/data/color.menu	2007-05-29 23:04:26 UTC (rev 2738)
@@ -30,6 +30,18 @@
 			link		"##up"
 		}
 	}
+	Item Data_Cvar Ambient
+	{
+		cvarName	"r_ambient"
+		defValue	0.0
+		Item DataLink_Value Value
+		{
+			minValue	0.0
+			maxValue	20.0
+			stepValue	1.0
+			link		"##up"
+		}
+	}
 	Item Data_Cvar Brightness
 	{
 		cvarName	"v_brightness"

Modified: branches/nexuiz-2.0/data/menu/options/color.menu
===================================================================
--- branches/nexuiz-2.0/data/menu/options/color.menu	2007-05-29 22:55:46 UTC (rev 2737)
+++ branches/nexuiz-2.0/data/menu/options/color.menu	2007-05-29 23:04:26 UTC (rev 2738)
@@ -20,6 +20,16 @@
 			text	"Contrast"
 			target	"::Data::Color::Contrast::Value"
 		}
+		Derive Nex_Option_Slider GLSLContrastBoost
+		{
+			text	"OpenGL 2 Contrast (SLOW)"
+			target	"::Data::Color::GLSLContrastBoost::Value"
+		}
+		Derive Nex_Option_Slider Ambient
+		{
+			text	"Ambient Light"
+			target	"::Data::Color::Ambient::Value"
+		}
 		Derive Nex_Option_Switch HWGamma
 		{
 			text	"HW Gamma Support"
@@ -30,11 +40,6 @@
 			text	"Gamma"
 			target	"::Data::Color::Gamma::Value"
 		}
-		Derive Nex_Option_Slider GLSLContrastBoost
-		{
-			text	"OpenGL 2 Contrast (SLOW)"
-			target	"::Data::Color::GLSLContrastBoost::Value"
-		}
 		Derive Nex_Line	Seperator1
 		{}
 		Derive Nex_Option_Switch ExtendedControl




More information about the nexuiz-commits mailing list