--- a/hedgewars/uWorld.pas Sun Jan 27 20:35:40 2008 +0000
+++ b/hedgewars/uWorld.pas Sun Jan 27 20:47:30 2008 +0000
@@ -170,21 +170,12 @@
end;
begin
+// Sky
glClear(GL_COLOR_BUFFER_BIT);
glEnable(GL_BLEND);
if not isPaused then MoveCamera;
-// Sky
-if WorldDy > 0 then
- begin
- if WorldDy > cScreenHeight then r.h:= cScreenHeight
- else r.h:= WorldDy;
- r.x:= 0;
- r.y:= 0;
- r.w:= cScreenWidth;
-// SDL_FillRect(Surface, @r, cSkyColor)
- end;
// background
DrawRepeated(sprSky, WorldDx * 3 div 8);
DrawRepeated(sprHorizont, WorldDx * 3 div 5);
@@ -223,14 +214,14 @@
if i>99 then t:= 112
else if i>9 then t:= 96
else t:= 80;
-// DrawSprite(sprFrame, t, cScreenHeight - 48, 1, Surface);
+ DrawSprite(sprFrame, t, cScreenHeight - 48, 1, Surface);
while i > 0 do
begin
dec(t, 32);
DrawSprite(sprBigDigit, t, cScreenHeight - 48, i mod 10, Surface);
i:= i div 10
end;
-// DrawSprite(sprFrame, t - 4, cScreenHeight - 48, 0, Surface);
+ DrawSprite(sprFrame, t - 4, cScreenHeight - 48, 0, Surface);
end;
// Attack bar
@@ -323,7 +314,7 @@
end;
// AmmoMenu
-//if (AMxCurr < cScreenWidth) or bShowAmmoMenu then ShowAmmoMenu(Surface);
+if (AMxCurr < cScreenWidth) or bShowAmmoMenu then ShowAmmoMenu(Surface);
// Cursor
if isCursorVisible then
@@ -342,10 +333,6 @@
DrawSprite(sprArrow, CursorPoint.X, CursorPoint.Y, (RealTicks shr 6) mod 8, Surface)
end;
-{$IFDEF COUNTTICKS}
-//DXOutText(10, 10, fnt16, inttostr(cntTicks), Surface);
-{$ENDIF}
-
if isPaused then DrawCentered(cScreenWidth div 2, cScreenHeight div 2, PauseTexture);
inc(Frames);
Binary file share/hedgewars/Data/Graphics/AmmoMenu/Selection.png has changed
Binary file share/hedgewars/Data/Graphics/Arrow.png has changed
Binary file share/hedgewars/Data/Graphics/Case.png has changed
Binary file share/hedgewars/Data/Graphics/ClBomb.png has changed
Binary file share/hedgewars/Data/Graphics/ClParticle.png has changed
Binary file share/hedgewars/Data/Graphics/Flame.png has changed
Binary file share/hedgewars/Data/Graphics/Graves/Bone.png has changed
Binary file share/hedgewars/Data/Graphics/Graves/Rip.png has changed
Binary file share/hedgewars/Data/Graphics/Graves/Simple.png has changed
Binary file share/hedgewars/Data/Graphics/Graves/coffin.png has changed
Binary file share/hedgewars/Data/Graphics/MineOn.png has changed
Binary file share/hedgewars/Data/Graphics/RopeHook.png has changed
Binary file share/hedgewars/Data/Graphics/RopeNode.png has changed
Binary file share/hedgewars/Data/Graphics/Target.png has changed
Binary file share/hedgewars/Data/Graphics/Targetp.png has changed
Binary file share/hedgewars/Data/Graphics/UFO.png has changed
Binary file share/hedgewars/Data/Graphics/dynamite.png has changed
Binary file share/hedgewars/Data/Graphics/hhMask.png has changed