diff --git a/extras/conf/udb/Includes/SRB222_linedefs.cfg b/extras/conf/udb/Includes/SRB222_linedefs.cfg index 68077862392a0ca2668d296f051203cd250e93ed..9f3e41d39e80a1d86748886ca0f541534ea0cdb8 100644 --- a/extras/conf/udb/Includes/SRB222_linedefs.cfg +++ b/extras/conf/udb/Includes/SRB222_linedefs.cfg @@ -10,6 +10,34 @@ udmf prefix = "(0)"; } + 6 + { + title = "Sector Portal"; + prefix = "(6)"; + arg0 + { + title = "Target sector tag"; + type = 13; + } + arg1 + { + title = "Type"; + type = 11; + enum = "sectorportal"; + } + arg2 + { + title = "Affected planes"; + type = 11; + enum = "floorceiling"; + } + arg3 + { + title = "Miscellaneous"; + type = 0; + } + } + 7 { title = "Sector Flat Alignment"; diff --git a/extras/conf/udb/Includes/SRB222_misc.cfg b/extras/conf/udb/Includes/SRB222_misc.cfg index e274fece69ea37d4be43cd8b7560fde69e181ee5..18bb0aec7d8adb23c56bdc0fb891b2b993c6ef43 100644 --- a/extras/conf/udb/Includes/SRB222_misc.cfg +++ b/extras/conf/udb/Includes/SRB222_misc.cfg @@ -453,6 +453,17 @@ enums 3 = "Reverse subtract"; 4 = "Modulate"; } + + sectorportal + { + 0 = "Normal"; + 1 = "Copied"; + 2 = "Skybox"; + 3 = "Plane"; + 4 = "Horizon"; + 7 = "Sector"; + 8 = "Object"; + } } //Default things filters diff --git a/src/p_spec.h b/src/p_spec.h index 6ceec1caedd956e07fbb81878e09bc61ea79b8d9..87f9951a6c760fb7a30df74611843f4ff6dbb36f 100644 --- a/src/p_spec.h +++ b/src/p_spec.h @@ -478,17 +478,17 @@ typedef enum typedef enum { - TMSECPORTAL_NORMAL, - TMSECPORTAL_COPIED, - TMSECPORTAL_SKYBOX, - TMSECPORTAL_PLANE, - TMSECPORTAL_HORIZON, + TMSECPORTAL_NORMAL = 0, + TMSECPORTAL_COPIED = 1, + TMSECPORTAL_SKYBOX = 2, + TMSECPORTAL_PLANE = 3, + TMSECPORTAL_HORIZON = 4, // The two portal types below are unimplemented - TMSECPORTAL_COPY_PORTAL_TO_LINE, - TMSECPORTAL_INTERACTIVE, + TMSECPORTAL_COPY_PORTAL_TO_LINE = 5, + TMSECPORTAL_INTERACTIVE = 6, // The two portal types below are new to SRB2 - TMSECPORTAL_SECTOR, - TMSECPORTAL_OBJECT + TMSECPORTAL_SECTOR = 7, + TMSECPORTAL_OBJECT = 8 } textmapsecportaltype_t; // GETSECSPECIAL (specialval, section)