about summary refs log tree commit diff
path: root/src/game/client/menu.cpp
diff options
context:
space:
mode:
authorJakob Fries <jakob.fries@gmail.com>2007-07-28 17:04:09 +0000
committerJakob Fries <jakob.fries@gmail.com>2007-07-28 17:04:09 +0000
commit323cc161059bddf1a03008395c03a93f46603d64 (patch)
treed1aaffec9fcfc87d1478e8f3c10fa6f782307ce7 /src/game/client/menu.cpp
parent501558f88178a88e263e12f923e678bfaa5bf6ff (diff)
downloadzcatch-323cc161059bddf1a03008395c03a93f46603d64.tar.gz
zcatch-323cc161059bddf1a03008395c03a93f46603d64.zip
cloud animation changed
Diffstat (limited to 'src/game/client/menu.cpp')
-rw-r--r--src/game/client/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp
index 667bc4b2..60c7dfbe 100644
--- a/src/game/client/menu.cpp
+++ b/src/game/client/menu.cpp
@@ -172,7 +172,7 @@ void draw_background(float t)
 		0.0f, // starty
 		1.0f, // endx
 		1.0f); // endy								
-    gfx_quads_drawTL(3000 - fmod(t * 50 + 1000, 4024), 150, 512, 512);
+    gfx_quads_drawTL(3000 - fmod(t * 50 + 2000, 4024), 150, 512, 512);
     gfx_quads_end();
 
     gfx_texture_set(data->images[IMAGE_CLOUD_3].id);
@@ -183,7 +183,7 @@ void draw_background(float t)
 		0.0f, // starty
 		1.0f, // endx
 		1.0f); // endy								
-    gfx_quads_drawTL(4000 - fmod(t * 60, 4512), 300, 256, 256);
+    gfx_quads_drawTL(4000 - fmod(t * 60 + 500, 4512), 300, 256, 256);
     gfx_quads_end();
 
     gfx_texture_set(data->images[IMAGE_MENU_BACKGROUND].id);