From ae8f2d5d5bea1684b39f5084e81d4a8c677856c8 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 15 Dec 2007 13:44:07 +0000 Subject: tweaked stars abit --- src/game/client/gc_client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit 1.4.1