BSPParser
Simple and modern library for parsing the Valve BSP format
Loading...
Searching...
No Matches
props.hpp
1#pragma once
2
3#include <cstdint>
4
5namespace BspParser::Enums {
6 enum class DetailPropOrientation : uint8_t {
7 Normal = 0,
8 ScreenAligned,
9 ScreenAlignedVertical,
10 };
11
12 enum class DetailPropType : uint8_t {
13 Model = 0,
14 Sprite,
15 ShapeCross,
16 ShapeTriangle,
17 };
18
19 enum class StaticPropFlag : uint8_t {
20 // Flags field
21 // These are automatically computed
22 FlagFades = 0x1,
23 UseLightingOrigin = 0x2,
24 NoDraw = 0x4, // computed at run time based on dx level
25
26 // These are set in WC
27 IgnoreNormals = 0x8,
28 NoShadow = 0x10,
29 ScreenSpaceFade = 0x20,
30
31 NoPerVertexLighting = 0x40, // in vrad, compute lighting at lighting origin, not for each vertex
32
33 NoSelfShadowing = 0x80, // disable self shadowing in vrad
34
35 WcMask = 0xd8 // all flags settable in hammer (?)
36 };
37}
Definition: BSPParser.hpp:17