# HG changeset patch # User palewolf # Date 1270771313 0 # Node ID 7f57fc2bf6304448f99a9e098a8b6286d3903a4c # Parent 652a8ebdf667ba2b035889236ef4a7d754a6e9cb Fix splashes for older graphics cards diff -r 652a8ebdf667 -r 7f57fc2bf630 hedgewars/uConsts.pas --- 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; diff -r 652a8ebdf667 -r 7f57fc2bf630 hedgewars/uVisualGears.pas --- 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 diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Graphics/Splash.png Binary file share/hedgewars/Data/Graphics/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Graphics/Splash.sifz Binary file share/hedgewars/Data/Graphics/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Cake/Splash.png Binary file share/hedgewars/Data/Themes/Cake/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Cake/Splash.sifz Binary file share/hedgewars/Data/Themes/Cake/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Castle/Splash.png Binary file share/hedgewars/Data/Themes/Castle/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Castle/Splash.sifz Binary file share/hedgewars/Data/Themes/Castle/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Compost/Splash.png Binary file share/hedgewars/Data/Themes/Compost/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Compost/Splash.sifz Binary file share/hedgewars/Data/Themes/Compost/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/CrazyMission/Splash.png Binary file share/hedgewars/Data/Themes/CrazyMission/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/CrazyMission/Splash.sifz Binary file share/hedgewars/Data/Themes/CrazyMission/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Deepspace/Splash.png Binary file share/hedgewars/Data/Themes/Deepspace/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Deepspace/Splash.sifz Binary file share/hedgewars/Data/Themes/Deepspace/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Desert/Splash.png Binary file share/hedgewars/Data/Themes/Desert/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Desert/Splash.sifz Binary file share/hedgewars/Data/Themes/Desert/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Eyes/Splash.png Binary file share/hedgewars/Data/Themes/Eyes/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Eyes/Splash.sifz Binary file share/hedgewars/Data/Themes/Eyes/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Halloween/Splash.png Binary file share/hedgewars/Data/Themes/Halloween/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Halloween/Splash.sifz Binary file share/hedgewars/Data/Themes/Halloween/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Hell/Splash.png Binary file share/hedgewars/Data/Themes/Hell/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Hell/Splash.sifz Binary file share/hedgewars/Data/Themes/Hell/Splash.sifz has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Underwater/Splash.png Binary file share/hedgewars/Data/Themes/Underwater/Splash.png has changed diff -r 652a8ebdf667 -r 7f57fc2bf630 share/hedgewars/Data/Themes/Underwater/Splash.sifz Binary file share/hedgewars/Data/Themes/Underwater/Splash.sifz has changed