From 101107b1e5ea3f498747f31291d10694d7dbe09f Mon Sep 17 00:00:00 2001 From: Gaerzi Date: Sat, 12 Apr 2014 10:55:10 +0200 Subject: [PATCH] Updated documentation --- specs/udmf_zdoom.txt | 20 ++++++++++++++++++++ src/p_udmf.cpp | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/specs/udmf_zdoom.txt b/specs/udmf_zdoom.txt index 3241bf4c84..d7face6720 100644 --- a/specs/udmf_zdoom.txt +++ b/specs/udmf_zdoom.txt @@ -117,6 +117,8 @@ Note: All fields default to false unless mentioned otherwise. locknumber = ; // Line special is locked arg0str = ; // Alternate string-based version of arg0 + transparent = ; // true = line is a Strife transparent line (alpha 0.25) + * Note about arg0str For lines with ACS specials (80-86 and 226), if arg0str is present and non-null, it @@ -207,6 +209,21 @@ Note: All fields default to false unless mentioned otherwise. arg0str = ; // Alternate string-based version of arg0 gravity = ; // Set per-actor gravity. Positive values are multiplied with the class's property, // negative values are used as their absolute. Default = 1.0. + + health = ; // Set per-actor health. Positive values are multiplied with the class's property, + // negative values are used as their absolute. Default = 1. + + renderstyle = ; // Set per-actor render style, overriding the class default. Possible values can be "normal", + // "none", "add" or "additive", "subtract" or "subtractive", "stencil", "translucentstencil", + // "translucent", "fuzzy", "optfuzzy", "soultrans". Default is an empty string for no change. + fillcolor = ; // Fill color used by the "stencil" and "translucentstencil" rendestyles, as RRGGBB value, default = 0x000000. + alpha = ; // Translucency of this actor (if applicable to renderstyle), default is 1.0. + score = ; // Score value of this actor, overriding the class default if not null. Default = 0. + pitch = ; // Pitch of thing in degrees. Default = 0 (horizontal). + roll = ; // Pitch of thing in degrees. Default = 0 (horizontal). + scalex = ; // Vertical scaling on thing. Default = 0 (ignored). + scaley = ; // Horizontal scaling on thing. Default = 0 (ignored). + scale = ; // Vertical and horizontal scaling on thing. Default = 0 (ignored). * Note about arg0str @@ -335,6 +352,9 @@ Added arg0str thing property. 1.21 09.08.2013 Added waterzone sector property. +1.22 12.04.2014 +Added transparent line property (to be folded back to core UDMF standard), and health, score, renderstyle, fillcolor, alpha, scale, scalex, scaley, pitch and roll thing properties. + =============================================================================== EOF =============================================================================== diff --git a/src/p_udmf.cpp b/src/p_udmf.cpp index ae3f94f871..6af777b360 100644 --- a/src/p_udmf.cpp +++ b/src/p_udmf.cpp @@ -643,7 +643,6 @@ public: case NAME_None: th->RenderStyle = STYLE_None; break; - default: case NAME_Normal: th->RenderStyle = STYLE_Normal; break; @@ -679,6 +678,8 @@ public: case NAME_Subtractive: th->RenderStyle = STYLE_Subtract; break; + default: + break; } } break;