POLY_FLAGS: {
PF_Invisible: 1;
PF_Masked: 2;
PF_Translucent: 4;
PF_NotSolid: 8;
PF_Environment: 16;
PF_ForceViewZone: 16;
PF_Semisolid: 32;
PF_Modulated: 64;
PF_FakeBackdrop: 128;
PF_TwoSided: 256;
PF_AutoUPan: 512;
PF_AutoVPan: 1024;
PF_NoSmooth: 2048;
PF_BigWavy: 4096;
PF_SpecialPoly: 4096;
PF_SmallWavy: 8192;
PF_Flat: 16384;
PF_LowShadowDetail: 32768;
PF_NoMerge: 65536;
PF_CloudWavy: 131072;
PF_DirtyShadows: 262144;
PF_BrightCorners: 524288;
PF_SpecialLit: 1048576;
PF_Gouraud: 2097152;
PF_NoBoundRejection: 2097152;
PF_Unlit: 4194304;
PF_HighShadowDetail: 8388608;
PF_Memorized: 16777216;
PF_RenderHint: 16777216;
PF_Selected: 33554432;
PF_Portal: 67108864;
PF_Mirrored: 134217728;
PF_Highlighted: 268435456;
PF_FlatShaded: 1073741824;
PF_EdProcessed: 1073741824;
PF_RenderFog: 1073741824;
PF_EdCut: 2147483648;
PF_Occlude: 2147483648;
} = ...
Type Declaration
-
ReadonlyPF_Invisible: 1
-
ReadonlyPF_Masked: 2
-
ReadonlyPF_Translucent: 4
-
ReadonlyPF_NotSolid: 8
-
ReadonlyPF_Environment: 16
-
ReadonlyPF_ForceViewZone: 16
-
ReadonlyPF_Semisolid: 32
-
ReadonlyPF_Modulated: 64
-
ReadonlyPF_FakeBackdrop: 128
-
ReadonlyPF_TwoSided: 256
-
ReadonlyPF_AutoUPan: 512
-
ReadonlyPF_AutoVPan: 1024
-
ReadonlyPF_NoSmooth: 2048
-
ReadonlyPF_BigWavy: 4096
-
ReadonlyPF_SpecialPoly: 4096
-
ReadonlyPF_SmallWavy: 8192
-
ReadonlyPF_Flat: 16384
-
ReadonlyPF_LowShadowDetail: 32768
-
ReadonlyPF_NoMerge: 65536
-
ReadonlyPF_CloudWavy: 131072
-
ReadonlyPF_DirtyShadows: 262144
-
ReadonlyPF_BrightCorners: 524288
-
ReadonlyPF_SpecialLit: 1048576
-
ReadonlyPF_Gouraud: 2097152
-
ReadonlyPF_NoBoundRejection: 2097152
-
ReadonlyPF_Unlit: 4194304
-
ReadonlyPF_HighShadowDetail: 8388608
-
ReadonlyPF_Memorized: 16777216
-
ReadonlyPF_RenderHint: 16777216
-
ReadonlyPF_Selected: 33554432
-
ReadonlyPF_Portal: 67108864
-
ReadonlyPF_Mirrored: 134217728
-
ReadonlyPF_Highlighted: 268435456
-
ReadonlyPF_FlatShaded: 1073741824
-
ReadonlyPF_EdProcessed: 1073741824
-
ReadonlyPF_RenderFog: 1073741824
-
ReadonlyPF_EdCut: 2147483648
-
ReadonlyPF_Occlude: 2147483648
Surface flags on a BSP polygon.
Several bits carry more than one name, because the engine reused them in different contexts: Environment/ForceViewZone, BigWavy/SpecialPoly, Gouraud/NoBoundRejection, Memorized/RenderHint, EdCut/Occlude, and three names on 0x40000000. Decoding reports every name for a set bit, which is faithful rather than a bug - the intended meaning depends on whether the value came from an FPoly, a BSP surface or the renderer.
Complete against EPolyFlags in the UT99 public source: 38 entries, every value verified, and cross-checked against two engine forks. Bits a fork repurposed for its own use are excluded, as are combination aliases such as PF_NoOcclude, which are unions of the bits above rather than distinct flags.