onnoj / DeusExEchelonRenderer

Fixed-Function Pipeline renderer for Deus Ex (2000), for use with Nvidia's RTX Remix
MIT License
80 stars 2 forks source link

🪧[QUESTBOARD-FEATURE] Implement standard user-options for renderer (toggle coronas, etc) #7

Open onnoj opened 2 months ago

onnoj commented 2 months ago

Normally, the renderer plugins in Deus Ex implement a number of default options. For example, with the default software renderer, you can set the following options in the deusex.ini file:

Currently, this renderer does not implement any user-options at all. It would be good if there was at least an option to toggle the coronas.

Options specific to this renderer could be:

Ideally, this would be implemented as a class that abstracts the reads from GConfig, is accessible as a singleton, and offers getters/setters for the properties (perhaps to initialize defaults). The goal is to make sure all properties are funnelled through this configuration manager, so that all definitions are together and documented.

onnoj commented 2 months ago

For reference, you can check the other existing renderers, or if SoftDrv.cpp (the default software renderer). Basically, it involves calls to GConfig->GetSectionPrivate and GConfig->GetInt