Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/udmf.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ In principle, udmf features supported by both dsda-doom and gzdoom should work t

It's strongly recommended to configure defaults with [MAPINFO](./mapinfo.md) for cross-port consistency.

DSDA-Doom supports the `zdoom` and `dsda` namespaces and the zdbsp extended gl nodes gln, gl2, and gl3. Properties marked with a `*` are only supported by the opengl renderer.
DSDA-Doom supports the `doom`, `heretic`, `hexen`, `zdoom` and `dsda` namespaces, as well as the XGLN/ZGLN, XGL2/ZGL2 and XGL3/ZGL3 extended node formats. Properties marked with a `*` are only supported by the opengl renderer.

### Linedefs

| Property | Description |
| --- | --- |
| **id** _integer_ | Line ID / tag (default -1). |
| **id** _integer_ | Line ID / tag (default -1 in `hexen`, `zdoom` and `dsda` namespaces, 0 otherwise). |
| **v1** _integer_ | Index of the first vertex. |
| **v2** _integer_ | Index of the second vertex. |
| **blocking** _bool_ | Blocks things. |
Expand Down
2 changes: 1 addition & 1 deletion prboom2/src/dsda/udmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static char* dsda_FloatString(Scanner &scanner) {
static void dsda_ParseUDMFLineDef(Scanner &scanner) {
udmf_line_t line = { 0 };

line.id = -1;
line.id = (udmf_namespace == UDMF_DSDA || udmf_namespace == UDMF_HEXEN) ? -1 : 0;
line.sideback = -1;
line.alpha = 1.0;

Expand Down
Loading