DEADSOFTWARE

migrating from PanelIDs to panel GUIDs; part one
[d2df-sdl.git] / src / mapdef / mapdef.txt
index 71e712f138c1fe05c01325febf0098730ef8d13d..f30c218136283c6dc09fabf852f1531a8dc53130 100644 (file)
@@ -52,6 +52,11 @@ TPanelRec_1 is "panel" size 18 bytes binblock 2 {
   PanelType is "type" type ushort offset 14 bitset unique PanelType;
   Alpha is "alpha" type ubyte offset 16 default 0 omitdefault;
   Flags is "flags" type ubyte offset 17 bitset PanelFlag default PANEL_FLAG_NONE omitdefault;
+  // moving platform options, not in binary
+  MoveSpeed is "move_speed" type point default (0 0) omitdefault;
+  MoveStart is "move_start" type point default (0 0) omitdefault;
+  MoveEnd is "move_end" type point default (0 0) omitdefault;
+  MoveActive is "move_active" type bool default false omitdefault;
   // not in binary
   //Id is "id" type string default "" omitdefault;
   // internals
@@ -399,8 +404,10 @@ TriggerData for (TRIGGER_PRESS, TRIGGER_ON, TRIGGER_OFF, TRIGGER_ONOFF) {
   Size is "size" type size offset 8 as twh;
   Wait is "wait" type ushort offset 12;
   Count is "count" type ushort offset 14;
-  MonsterID is "monsterid" type int offset 16 monster as monsterid;
+  MonsterID is "monsterid" type int offset 16 monster as monsterid default null;
   ExtRandom is "extrandom" type bool offset 20;
+  // this one is for moving platforms
+  PanelId is "panelid" type int panel default null omitdefault;
 }
 
 TriggerData for TRIGGER_SECRET {