This is a response to issues with new actors using dozens of props, resulting in dozens of draw calls.
This diff refactors rendering options into their own class, which:
- makes it so you only have to include the rendering options headers if you want options
- allows me to cleanup a lot of weirdness (not _all_ of it just yet though).
This also introduces "rendering priorities" for props. These can be "must", "should" or "eyecandy". Props will only get rendered if the corresponding setting in config>renderprops is set.
See the gaul barracks for example, which can look more or less naked as required:
{F934217}
{F934218}
{F934219}
Open questions:
- How to call this? I went with "render priority", but I guess it could be called LOD.
Next steps:
- Create a GUI setting, though this will likely require restarting given how I'm handling it.
- Change our existing actor files.