From: binarymaster Date: Mon, 20 Jun 2016 19:34:10 +0000 (+0300) Subject: Update trigger shot structure to avoid alignment problems X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=commitdiff_plain;h=a3962cf56c3e652202f0e9192857c0b15c1398b7 Update trigger shot structure to avoid alignment problems --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3f29eae --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# Project-specific +bin/ +tmp/ + +# Precompiled and Delphi-specific files +# without *.res +*.obj +*.dcu +*.cbk +*.dof +*.ddp + +# Commonly used temporary files +~* +*.~* +*.tmp +*.bak +*.lps diff --git a/src/shared/MAPDEF.pas b/src/shared/MAPDEF.pas index 8ad2ccd..c18b3f1 100644 --- a/src/shared/MAPDEF.pas +++ b/src/shared/MAPDEF.pas @@ -290,13 +290,13 @@ Type HealInterval: Word; HealMax: Boolean; HealSilent: Boolean); - TRIGGER_SHOT: (ShotType: Byte; + TRIGGER_SHOT: (ShotPos: TPoint; + ShotType: Byte; + ShotTarget: Byte; ShotSound: Boolean; + ShotAllMap: Boolean; ShotPanelID: Integer; - ShotTarget: Byte; ShotIntSight: Word; - ShotAllMap: Boolean; - ShotPos: TPoint; ShotAngle: Word; ShotWait: Word; ShotAccuracy: Word;