DEADSOFTWARE

started `conRegVar()` API (only for booleans for now)
[d2df-sdl.git] / src / shared / MAPDEF.pas
index 15203525aaa81bfdbda94270df10e0e77541961a..f6678e921683bb659ec77dd3a6805658f21fb0b2 100644 (file)
@@ -13,7 +13,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *)
-{$MODE DELPHI}
+{$INCLUDE a_modes.inc}
+{$M+}
 unit MAPDEF;
 
 {
@@ -29,6 +30,9 @@ interface
 uses
   MAPSTRUCT;
 
+// *** WARNING! ***
+//   keep all constants in sync with "mapdesc.txt"!
+//   or even better: regenerate this part directly from "mapdesc.txt".
 const
   PANEL_NONE      = 0;
   PANEL_WALL      = 1;
@@ -92,8 +96,10 @@ const
   ITEM_HELMET                = 34;
   ITEM_JETPACK               = 35;
   ITEM_INVIS                 = 36;
+  ITEM_WEAPON_FLAMETHROWER   = 37;
+  ITEM_AMMO_FUELCAN          = 38;
 
-  ITEM_MAX                   = 36; // store the last item's id in here
+  ITEM_MAX                   = 38; // store the last item's id in here
                                    // use this in for loops
 
   ITEM_OPTION_ONLYDM = 1;