r2623 - in trunk/data: . menu/data

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat May 19 17:12:07 EDT 2007


Author: div0
Date: 2007-05-19 17:12:07 -0400 (Sat, 19 May 2007)
New Revision: 2623

Modified:
   trunk/data/default.cfg
   trunk/data/menu/data/effects.menu
Log:
make the menu realtime dynamic light shadows work in the non-rtworld case too


Modified: trunk/data/default.cfg
===================================================================
--- trunk/data/default.cfg	2007-05-19 20:16:25 UTC (rev 2622)
+++ trunk/data/default.cfg	2007-05-19 21:12:07 UTC (rev 2623)
@@ -751,3 +751,6 @@
 
 // so it can be stuffcmd-ed still
 set cl_gravity 800 // but ignored anyway
+
+// to set both cvars at once (for the menu)
+alias _r_shadow_rwds_and_rds "r_shadow_realtime_world_dlightshadows $1 ; r_shadow_realtime_dlight_shadows $1"

Modified: trunk/data/menu/data/effects.menu
===================================================================
--- trunk/data/menu/data/effects.menu	2007-05-19 20:16:25 UTC (rev 2622)
+++ trunk/data/menu/data/effects.menu	2007-05-19 21:12:07 UTC (rev 2623)
@@ -84,9 +84,10 @@
 
 		[DataLink_OnOffSwitch]
 	}
-	Item Data_Cvar RealtimeDLightShadows
+	Item Data_ServerCvar RealtimeDLightShadows
 	{
 		cvarName	"r_shadow_realtime_world_dlightshadows"
+		syncCmd     "_r_shadow_rwds_and_rds"
 		defValue	0
 
 		[DataLink_OnOffSwitch]




More information about the nexuiz-commits mailing list