- added missing render style constants to ZScript.

This commit is contained in:
Christoph Oelckers 2020-01-12 12:01:57 +01:00
parent f32aff3396
commit 3e9a43d7f0

View file

@ -851,20 +851,26 @@ enum EMaskRotationFlags
enum ERenderStyle enum ERenderStyle
{ {
STYLE_None, STYLE_None, // Do not draw
STYLE_Normal, STYLE_Normal, // Normal; just copy the image to the screen
STYLE_Fuzzy, STYLE_Fuzzy, // Draw silhouette using "fuzz" effect
STYLE_SoulTrans, STYLE_SoulTrans, // Draw translucent with amount in r_transsouls
STYLE_OptFuzzy, STYLE_OptFuzzy, // Draw as fuzzy or translucent, based on user preference
STYLE_Stencil, STYLE_Stencil, // Fill image interior with alphacolor
STYLE_Translucent, STYLE_Translucent, // Draw translucent
STYLE_Add, STYLE_Add, // Draw additive
STYLE_Shaded, STYLE_Shaded, // Treat patch data as alpha values for alphacolor
STYLE_TranslucentStencil, STYLE_TranslucentStencil,
STYLE_Shadow, STYLE_Shadow,
STYLE_Subtract, STYLE_Subtract, // Actually this is 'reverse subtract' but this is what normal people would expect by 'subtract'.
STYLE_AddStencil, STYLE_AddStencil, // Fill image interior with alphacolor
STYLE_AddShaded, STYLE_AddShaded, // Treat patch data as alpha values for alphacolor
STYLE_Multiply, // Multiply source with destination (HW renderer only.)
STYLE_InverseMultiply, // Multiply source with inverse of destination (HW renderer only.)
STYLE_ColorBlend, // Use color intensity as transparency factor
STYLE_Source, // No blending (only used internally)
STYLE_ColorAdd, // Use color intensity as transparency factor and blend additively.
}; };
// Type definition for the implicit 'callingstate' parameter that gets passed to action functions. // Type definition for the implicit 'callingstate' parameter that gets passed to action functions.