r3072 - trunk/data/qcsrc/menu-div0test
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Jan 1 10:44:10 EST 2008
Author: div0
Date: 2008-01-01 10:44:10 -0500 (Tue, 01 Jan 2008)
New Revision: 3072
Modified:
trunk/data/qcsrc/menu-div0test/menu.qc
Log:
slightly changed fading
Modified: trunk/data/qcsrc/menu-div0test/menu.qc
===================================================================
--- trunk/data/qcsrc/menu-div0test/menu.qc 2008-01-01 15:42:03 UTC (rev 3071)
+++ trunk/data/qcsrc/menu-div0test/menu.qc 2008-01-01 15:44:10 UTC (rev 3072)
@@ -126,7 +126,7 @@
if(!cvar("menu_video_played"))
{
localcmd("set menu_video_played 1; cd loop 1; play sound/announcer/male/welcome.ogg\n");
- menuLogoAlpha = -2; // no idea why, but when I start this at zero, it jumps instead of fading
+ menuLogoAlpha = -0.8; // no idea why, but when I start this at zero, it jumps instead of fading
}
}
if(!menuLoadedMaplist)
@@ -157,9 +157,9 @@
prevMenuAlpha = menuAlpha;
if(Menu_Active)
{
- if(menuAlpha == 0 && menuLogoAlpha < 3)
+ if(menuAlpha == 0 && menuLogoAlpha < 2)
{
- menuLogoAlpha = menuLogoAlpha + frametime * 5;
+ menuLogoAlpha = menuLogoAlpha + frametime * 2;
}
else
{
More information about the nexuiz-commits
mailing list