--- a/hedgewars/uConsts.pas Sat Jan 26 00:06:23 2008 +0000
+++ b/hedgewars/uConsts.pas Sat Jan 26 10:21:43 2008 +0000
@@ -111,7 +111,7 @@
MAXNAMELEN = 32;
- COLOR_LAND = $FFFFFFF;
+ COLOR_LAND = $7FFFFFF;
cifRandomize = $00000001;
cifTheme = $00000002;
--- a/hedgewars/uLand.pas Sat Jan 26 00:06:23 2008 +0000
+++ b/hedgewars/uLand.pas Sat Jan 26 10:21:43 2008 +0000
@@ -313,9 +313,9 @@
end;
SDL_FreeSurface(tmpsurf);
-tmpsurf:= SDL_CreateRGBSurfaceFrom(@Land, 2048, 1024, 32, 2048*4, RMask, GMask, BMask, AMask);
+tmpsurf:= SDL_CreateRGBSurfaceFrom(@Land, 2048, 1024, 32, 2048*4, RMask, GMask, BMask, 0);
SDLTry(tmpsurf <> nil, true);
-SDL_SetColorKey(tmpsurf, SDL_SRCCOLORKEY, SDL_MapRGB(tmpsurf^.format, $FF, $FF, $FF));
+//SDL_SetColorKey(tmpsurf, SDL_SRCCOLORKEY, SDL_MapRGB(tmpsurf^.format, $FF, $FF, $FF));
SDL_UpperBlit(tmpsurf, nil, Surface, nil);
SDL_FreeSurface(tmpsurf)
end;
@@ -515,7 +515,7 @@
AddProgress;
-tmpsurf:= SDL_CreateRGBSurface(SDL_SWSURFACE, 2048, 1024, 32, RMask, GMask, BMask, AMask);
+tmpsurf:= SDL_CreateRGBSurface(SDL_SWSURFACE, 2048, 1024, 32, RMask, GMask, BMask, 0);
TryDo(tmpsurf <> nil, 'Error creating pre-land surface', true);
ColorizeLand(tmpsurf);
Binary file share/hedgewars/Data/Graphics/AirBomb.png has changed
Binary file share/hedgewars/Data/Graphics/BlueWater.png has changed
Binary file share/hedgewars/Data/Graphics/Bomb.png has changed
Binary file share/hedgewars/Data/Graphics/Clouds.png has changed
Binary file share/hedgewars/Data/Graphics/Expl50.png has changed
Binary file share/hedgewars/Data/Graphics/Finger.png has changed
Binary file share/hedgewars/Data/Graphics/FirstAid.png has changed
Binary file share/hedgewars/Data/Graphics/Grenade.png has changed
Binary file share/hedgewars/Data/Graphics/MineOff.png has changed
Binary file share/hedgewars/Data/Graphics/thinking.png has changed