Add editor definition for linedef type 6

This commit is contained in:
Lactozilla 2023-08-24 01:09:46 -03:00
parent 6d812b4a43
commit 563233a55f
3 changed files with 48 additions and 9 deletions

View file

@ -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";

View file

@ -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

View file

@ -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)