diff --git a/src/mapdef/mapdef.txt b/src/mapdef/mapdef.txt
index ab27f7f8336d7d59f77b611a38e2fb3b1cdb709e..6cd4c0c06db98c712cab4c83604184108a40cdd4 100644 (file)
--- a/src/mapdef/mapdef.txt
+++ b/src/mapdef/mapdef.txt
enum DirType {
DIR_LEFT, // 0
DIR_RIGHT, // 1
- DIR_SOMETHING2, // 2
+ DIR_PRESERVE, // 2
+ DIR_REVERSE, // 3
}
// triggers
EFFECT_FIRE, // 3
}
+//WARNING! max allowed items types is 127
enum Item {
ITEM_NONE, // 0
ITEM_MEDKIT_SMALL, // 1
TRIGGER_SHOT_BFG, // 12
TRIGGER_SHOT_EXPL, // 13
TRIGGER_SHOT_BFGEXPL, // 14
+ TRIGGER_SHOT_FLAME, // 15
//
TRIGGER_SHOT_MAX = MAX,
}
TriggerData for TRIGGER_DAMAGE {
"amount" type ushort offset 0 writedefault;
"interval" type ushort offset 2 writedefault;
+ "kind" type ubyte offset 4 enum HitType default HIT_SOME writedefault;
}
TriggerData for TRIGGER_HEALTH {
"position" type point offset 0 as txy writedefault;
"type" alias shotType type ubyte offset 8 enum TriggerShot writedefault;
"target" alias shotTarget type ubyte offset 9 enum TriggerShotTarget writedefault;
- "quiet" type negbool offset 10; // negbool!
+ "sound" alias shotSound type negbool offset 10; // negbool!
"aim" type byte offset 11 enum TriggerShotAim default TRIGGER_SHOT_AIM_DEFAULT;
"panelid" type int offset 12 panel default null writedefault;
"sight" type ushort offset 16;