Fix splashes for older graphics cards
authorpalewolf
Fri, 09 Apr 2010 00:01:53 +0000
changeset 3326 7f57fc2bf630
parent 3325 652a8ebdf667
child 3327 ac0ddbb205fe
Fix splashes for older graphics cards
hedgewars/uConsts.pas
hedgewars/uVisualGears.pas
share/hedgewars/Data/Graphics/Splash.png
share/hedgewars/Data/Graphics/Splash.sifz
share/hedgewars/Data/Themes/Cake/Splash.png
share/hedgewars/Data/Themes/Cake/Splash.sifz
share/hedgewars/Data/Themes/Castle/Splash.png
share/hedgewars/Data/Themes/Castle/Splash.sifz
share/hedgewars/Data/Themes/Compost/Splash.png
share/hedgewars/Data/Themes/Compost/Splash.sifz
share/hedgewars/Data/Themes/CrazyMission/Splash.png
share/hedgewars/Data/Themes/CrazyMission/Splash.sifz
share/hedgewars/Data/Themes/Deepspace/Splash.png
share/hedgewars/Data/Themes/Deepspace/Splash.sifz
share/hedgewars/Data/Themes/Desert/Splash.png
share/hedgewars/Data/Themes/Desert/Splash.sifz
share/hedgewars/Data/Themes/Eyes/Splash.png
share/hedgewars/Data/Themes/Eyes/Splash.sifz
share/hedgewars/Data/Themes/Halloween/Splash.png
share/hedgewars/Data/Themes/Halloween/Splash.sifz
share/hedgewars/Data/Themes/Hell/Splash.png
share/hedgewars/Data/Themes/Hell/Splash.sifz
share/hedgewars/Data/Themes/Underwater/Splash.png
share/hedgewars/Data/Themes/Underwater/Splash.sifz
--- a/hedgewars/uConsts.pas	Thu Apr 08 22:45:18 2010 +0000
+++ b/hedgewars/uConsts.pas	Fri Apr 09 00:01:53 2010 +0000
@@ -692,7 +692,7 @@
             (FileName: 'amTeleport'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  64; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprAmTeleport
             (FileName: 'Splash'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
-            Width:  128; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprSplash
+            Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprSplash
             (FileName: 'Droplet'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false), // sprDroplet
             (FileName: 'Birdy'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
--- a/hedgewars/uVisualGears.pas	Thu Apr 08 22:45:18 2010 +0000
+++ b/hedgewars/uVisualGears.pas	Fri Apr 09 00:01:53 2010 +0000
@@ -801,7 +801,7 @@
                             if Gear^.FrameTicks < 250 then
                                 glColor4f(1, 1, 1, 1);
                             end;
-                vgtSplash: DrawSprite(sprSplash, hwRound(Gear^.X) + WorldDx - 64, hwRound(Gear^.Y) + WorldDy - 72, 19 - (Gear^.FrameTicks div 37));
+                vgtSplash: DrawSprite(sprSplash, hwRound(Gear^.X) + WorldDx - 40, hwRound(Gear^.Y) + WorldDy - 58, 19 - (Gear^.FrameTicks div 37));
                 vgtDroplet: DrawSprite(sprDroplet, hwRound(Gear^.X) + WorldDx - 8, hwRound(Gear^.Y) + WorldDy - 8, Gear^.Frame);
                vgtBeeTrace: begin
                             if Gear^.FrameTicks < 250 then
Binary file share/hedgewars/Data/Graphics/Splash.png has changed
Binary file share/hedgewars/Data/Graphics/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Cake/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Cake/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Castle/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Castle/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Compost/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Compost/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/CrazyMission/Splash.png has changed
Binary file share/hedgewars/Data/Themes/CrazyMission/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Deepspace/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Deepspace/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Desert/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Desert/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Eyes/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Eyes/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Halloween/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Halloween/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Hell/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Hell/Splash.sifz has changed
Binary file share/hedgewars/Data/Themes/Underwater/Splash.png has changed
Binary file share/hedgewars/Data/Themes/Underwater/Splash.sifz has changed