about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-15 13:44:07 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-15 13:44:07 +0000
commitae8f2d5d5bea1684b39f5084e81d4a8c677856c8 (patch)
treea12e15affd1113b89389086975e7e94bf52fff07 /src/game/client
parentb575882d7af2c27622cdc2ece641083d65fce5b3 (diff)
downloadzcatch-ae8f2d5d5bea1684b39f5084e81d4a8c677856c8.tar.gz
zcatch-ae8f2d5d5bea1684b39f5084e81d4a8c677856c8.zip
tweaked stars abit
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/gc_client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp
index 002406fc..2959689a 100644
--- a/src/game/client/gc_client.cpp
+++ b/src/game/client/gc_client.cpp
@@ -1630,7 +1630,7 @@ void render_stars()
 		float size;
 	};
 	
-	static const int NUM_STARS = 100;
+	static const int NUM_STARS = 20;
 	static star stars[NUM_STARS];
 	static bool init = true;
 	if(init)
@@ -1638,10 +1638,10 @@ void render_stars()
 		for(int i = 0; i < NUM_STARS; i++)
 		{
 			stars[i].p.x = (frandom()-0.5f)*800*3;
-			stars[i].p.y = (frandom()-0.5f)*600*3;
+			stars[i].p.y = (frandom()-0.5f)*300*3;
 			stars[i].tingle = frandom();
 			stars[i].rot = frandom()*pi;
-			stars[i].size = 10.0f+frandom()*10.0f;
+			stars[i].size = 30.0f+frandom()*20.0f;
 		}
 		
 		init = false;