DEADSOFTWARE

Added "Flame" type for Turret trigger
authorJoseph Stalin <granminigun@pm.me>
Thu, 27 Dec 2018 11:23:39 +0000 (16:23 +0500)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 5 Jan 2019 12:02:56 +0000 (15:02 +0300)
Signed-off-by: DeaDDooMER <deaddoomer@deadsoftware.ru>
src/editor/g_language.pas
src/shared/MAPDEF.pas

index cf9998fc8c0444dcf8d35ace2990668195f52ad1..99a185545d64290def5c0c92fb1ce443d2ccf2ca 100644 (file)
@@ -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];
index 2cb45aa51f34629e50e69b5689e232069a9be8a4..a94f1ecd0c2b006541d9ff07f753d17993cf3eb3 100644 (file)
@@ -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;