DEADSOFTWARE

can load map scripts from wads now
[d2df-sdl.git] / src / shared / MAPDEF.pas
index 9fd1becc1060410fa9a2d69d17653a5c4bf38ab0..3f843872a2f3cdd8825b9268e254232d35a251a5 100644 (file)
@@ -160,7 +160,8 @@ const
   TRIGGER_HEALTH          = 26;
   TRIGGER_SHOT            = 27;
   TRIGGER_EFFECT          = 28;
-  TRIGGER_MAX             = 28;
+  TRIGGER_SCRIPT          = 29;
+  TRIGGER_MAX             = 29;
 
   TRIGGER_SHOT_PISTOL  = 0;
   TRIGGER_SHOT_BULLET  = 1;
@@ -330,6 +331,8 @@ type
                              FXSpreadR: Byte;
                              FXSpreadU: Byte;
                              FXSpreadD: Byte);
+      TRIGGER_SCRIPT:       (SCRProc: Char64;
+                             SCRArg: Integer);
   end;
 
 {$INCLUDE mapstructsizes.inc}