hedgewars/uStore.pas
changeset 42 72ffe21f027c
parent 38 c1ec4b15d70e
child 43 e297fea1a2f3
--- a/hedgewars/uStore.pas	Mon Jan 09 20:29:14 2006 +0000
+++ b/hedgewars/uStore.pas	Mon Jan 09 20:33:12 2006 +0000
@@ -37,9 +37,9 @@
 {$INCLUDE options.inc}
 
 type PRangeArray = ^TRangeArray;
-     TRangeArray = array[byte] of record
-                                  Left, Right: integer;
-                                  end;
+     TRangeArray = array[0..31] of record
+                                   Left, Right: integer;
+                                   end;
 
 procedure StoreInit;
 procedure StoreLoad;
@@ -52,7 +52,7 @@
 procedure DrawCaption(X, Y: integer; Rect: TSDL_Rect; Surface: PSDL_Surface; const fromTempSurf: boolean = false);
 procedure DrawHedgehog(X, Y: integer; Dir: integer; Pos, Step: LongWord; Surface: PSDL_Surface);
 procedure DrawExplosion(X, Y, Radius: integer);
-procedure DrawHLineExplosions(ar: PRangeArray; Radius: Longword; y, dY: integer; Count: Byte);
+procedure DrawHLinesExplosions(ar: PRangeArray; Radius: Longword; y, dY: integer; Count: Byte);
 procedure DrawTunnel(X, Y, dX, dY: real; ticks, HalfWidth: integer);
 procedure RenderHealth(var Hedgehog: THedgehog);
 function  RenderString(var s: shortstring; Color, Pos: integer): TSDL_Rect;
@@ -125,7 +125,7 @@
 SDL_UpdateRect(LandSurface, X - Radius, Y - Radius, Radius * 2, Radius * 2)
 end;
 
-procedure DrawHLineExplosions(ar: PRangeArray; Radius: Longword; y, dY: integer; Count: Byte);
+procedure DrawHLinesExplosions(ar: PRangeArray; Radius: Longword; y, dY: integer; Count: Byte);
 var tx, ty, i, p: integer;
 begin
 if SDL_MustLock(LandSurface) then