hedgewars/uLand.pas
changeset 755 edf26e9554ac
parent 754 94ac14829085
child 757 ddbff94153e8
--- a/hedgewars/uLand.pas	Fri Jan 25 21:55:48 2008 +0000
+++ b/hedgewars/uLand.pas	Fri Jan 25 23:33:35 2008 +0000
@@ -18,21 +18,21 @@
 
 unit uLand;
 interface
-uses SDLh, uLandTemplates, uFloat, GL;
+uses SDLh, uLandTemplates, uFloat, GL, uConsts;
 {$include options.inc}
 type TLandArray = packed array[0..1023, 0..2047] of LongWord;
      TPreview = packed array[0..127, 0..31] of byte;
 
 var  Land: TLandArray;
      LandSurface: PSDL_Surface;
-     LandTexture: GLuint;
+     LandTexture: PTexture;
 
 procedure GenMap;
 function GenPreview: TPreview;
 procedure CheckLandDigest(s: shortstring);
 
 implementation
-uses uConsole, uStore, uMisc, uConsts, uRandom, uTeams, uLandObjects, uSHA, uIO;
+uses uConsole, uStore, uMisc, uRandom, uTeams, uLandObjects, uSHA, uIO;
 
 type TPixAr = record
               Count: Longword;