Better Sync animation :)
authorunc0rr
Thu, 15 Feb 2007 22:28:00 +0000
changeset 446 692c75d46a4b
parent 445 fb66abeb551f
child 447 570224bb8b30
Better Sync animation :)
hedgewars/uConsts.pas
hedgewars/uWorld.pas
share/hedgewars/Data/Graphics/Lag.png
--- a/hedgewars/uConsts.pas	Wed Feb 14 23:26:31 2007 +0000
+++ b/hedgewars/uConsts.pas	Thu Feb 15 22:28:00 2007 +0000
@@ -255,7 +255,7 @@
                      (FileName:     'Frame'; Path: ptGraphics; AltPath: ptNone; Surface: nil;
                      Width:   4; Height: 32; hasAlpha:  true),// sprFrame
                      (FileName:       'Lag'; Path: ptGraphics; AltPath: ptNone; Surface: nil;
-                     Width:  64; Height: 64; hasAlpha: false),// sprLag
+                     Width:  65; Height: 65; hasAlpha:  true),// sprLag
                      (FileName:     'Arrow'; Path: ptGraphics; AltPath: ptNone; Surface: nil;
                      Width:  16; Height: 16; hasAlpha: false),// sprCursor
                      (FileName:   'Grenade'; Path: ptGraphics; AltPath: ptNone; Surface: nil;
--- a/hedgewars/uWorld.pas	Wed Feb 14 23:26:31 2007 +0000
+++ b/hedgewars/uWorld.pas	Thu Feb 15 22:28:00 2007 +0000
@@ -295,7 +295,7 @@
       end;
 
 // Lag alert
-if isInLag then DrawSprite(sprLag, 32, 32  + cConsoleYAdd, (hwFloatTicks shr 7) mod 7, Surface);
+if isInLag then DrawSprite(sprLag, 32, 32  + cConsoleYAdd, (hwFloatTicks shr 7) mod 12, Surface);
 
 // Wind bar
 DrawGear(sWindBar, cScreenWidth - 180, cScreenHeight - 30, Surface);
Binary file share/hedgewars/Data/Graphics/Lag.png has changed