Update CVar system

Kevin Trogant 2024-08-03 12:44:10 +02:00
parent cc20ee9fb5
commit 8be6b86daa

@ -13,6 +13,7 @@ At the time of writing this, the following types are available:
| float | `RT_CVAR_F` | `.f` | | float | `RT_CVAR_F` | `.f` |
| string | `RT_CVAR_S` | `.s` | | string | `RT_CVAR_S` | `.s` |
| size_t | `RT_CVAR_SZ` | `.sz` | | size_t | `RT_CVAR_SZ` | `.sz` |
| unsigned int | `RT_CVAR_UI`| `.ui` |
CVars must be registered to be able to retrieve them from other parts of the code (including changing them from configuration files). CVars must be registered to be able to retrieve them from other parts of the code (including changing them from configuration files).
This is done via `rtRegisterCVAR`. This is done via `rtRegisterCVAR`.