X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2FMAPDEF.pas;h=2cb45aa51f34629e50e69b5689e232069a9be8a4;hb=c570601e19da0c2592ef400e201f1a9285e1f9a3;hp=c18b3f102b117e3d89115918d9c0d768ddd4accf;hpb=a3962cf56c3e652202f0e9192857c0b15c1398b7;p=d2df-editor.git diff --git a/src/shared/MAPDEF.pas b/src/shared/MAPDEF.pas index c18b3f1..2cb45aa 100644 --- a/src/shared/MAPDEF.pas +++ b/src/shared/MAPDEF.pas @@ -1,6 +1,6 @@ unit MAPDEF; -{$MODE Delphi} +{$INCLUDE ../shared/a_modes.inc} { ----------------------------------- @@ -78,8 +78,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; @@ -173,6 +175,11 @@ const TRIGGER_SHOT_TARGET_MONPLR = 5; TRIGGER_SHOT_TARGET_PLRMON = 6; + TRIGGER_SHOT_AIM_DEFAULT = 0; + TRIGGER_SHOT_AIM_ALLMAP = 1; + TRIGGER_SHOT_AIM_TRACE = 2; + TRIGGER_SHOT_AIM_TRACEALL = 3; + TRIGGER_EFFECT_PARTICLE = 0; TRIGGER_EFFECT_ANIMATION = 1; @@ -294,7 +301,7 @@ Type ShotType: Byte; ShotTarget: Byte; ShotSound: Boolean; - ShotAllMap: Boolean; + ShotAim: Byte; ShotPanelID: Integer; ShotIntSight: Word; ShotAngle: Word;