From: Joseph Stalin Date: Thu, 27 Dec 2018 11:23:39 +0000 (+0500) Subject: Added "Flame" type for Turret trigger X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=ff2c57a5e094add94022e1198f5a9e36b7a8e78a;p=d2df-editor.git Added "Flame" type for Turret trigger Signed-off-by: DeaDDooMER --- diff --git a/src/editor/g_language.pas b/src/editor/g_language.pas index cf9998f..99a1855 100644 --- a/src/editor/g_language.pas +++ b/src/editor/g_language.pas @@ -96,6 +96,7 @@ Type I_ARRAY_SHOT_BFG, I_ARRAY_SHOT_EXPL, I_ARRAY_SHOT_BFGEXPL, + I_ARRAY_SHOT_FLAME, I_ARRAY_MON_DEMON, I_ARRAY_MON_IMP, @@ -817,6 +818,8 @@ Const 'Взрыв'), ('ARRAY SHOT BFGEXPL', 'BFG explosion', 'Взрыв BFG'), + ('ARRAY SHOT FLAME', 'Flame', + 'Огонь'), ('ARRAY MON DEMON', 'Pinky', 'Демон'), @@ -1908,6 +1911,7 @@ begin ShotNames[TRIGGER_SHOT_BFG] := _lc[I_ARRAY_SHOT_BFG]; ShotNames[TRIGGER_SHOT_EXPL] := _lc[I_ARRAY_SHOT_EXPL]; ShotNames[TRIGGER_SHOT_BFGEXPL] := _lc[I_ARRAY_SHOT_BFGEXPL]; + ShotNames[TRIGGER_SHOT_FLAME] := _lc[I_ARRAY_SHOT_FLAME]; // Названия монстров: MonsterNames[MONSTER_DEMON] := _lc[I_ARRAY_MON_DEMON]; diff --git a/src/shared/MAPDEF.pas b/src/shared/MAPDEF.pas index 2cb45aa..a94f1ec 100644 --- a/src/shared/MAPDEF.pas +++ b/src/shared/MAPDEF.pas @@ -165,7 +165,8 @@ const TRIGGER_SHOT_BFG = 12; TRIGGER_SHOT_EXPL = 13; TRIGGER_SHOT_BFGEXPL = 14; - TRIGGER_SHOT_MAX = 14; + TRIGGER_SHOT_FLAME = 15; + TRIGGER_SHOT_MAX = 15; TRIGGER_SHOT_TARGET_NONE = 0; TRIGGER_SHOT_TARGET_MON = 1;