--- a/hedgewars/uConsts.pas Thu Jun 17 16:28:42 2010 +0200
+++ b/hedgewars/uConsts.pas Fri Jun 18 14:45:05 2010 +0200
@@ -248,9 +248,11 @@
LAND_HEIGHT_MASK = $FFFFF800;
{$ENDIF}
- COLOR_LAND = $FFFF; // white
- COLOR_INDESTRUCTIBLE = $88FF; // red
- COLOR_OBJECT = $44FF; // no idea
+// To allow these to layer, going to treat them as masks. The bottom byte is reserved for objects
+ LAND_BASIC = $8000; // white
+ LAND_INDESTRUCTIBLE = $4000; // red
+ LAND_OBJECT = $2000; // no idea
+ LAND_DAMAGED = $1000; // no idea
cMaxPower = 1500;
cMaxAngle = 2048;