--- a/hedgewars/uVariables.pas Wed Nov 17 20:58:23 2010 +0300
+++ b/hedgewars/uVariables.pas Wed Nov 17 22:07:03 2010 +0300
@@ -141,6 +141,8 @@
SDLwindow : PSDL_Window;
{$ENDIF}
+ WorldDx: LongInt;
+ WorldDy: LongInt;
const
cHHFileName = 'Hedgehog';
@@ -1985,6 +1987,19 @@
alpha : 255
);
+
+var
+ Land: TCollisionArray;
+ LandPixels: TLandArray;
+ LandDirty: TDirtyTag;
+ hasBorder: boolean;
+ hasGirders: boolean;
+ isMap: boolean;
+ playHeight, playWidth, leftX, rightX, topY, MaxHedgehogs: Longword; // idea is that a template can specify height/width. Or, a map, a height/width by the dimensions of the image. If the map has pixels near top of image, it triggers border.
+ LandBackSurface: PSDL_Surface;
+ digest: shortstring;
+
+
procedure initModule;
procedure freeModule;