Use settings values for Video settings

* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
This commit is contained in:
elsid 2023-10-27 12:24:42 +02:00
parent 8380da2e1d
commit dcd81d026f
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625
31 changed files with 346 additions and 221 deletions

View file

@ -0,0 +1,14 @@
#ifndef OPENMW_COMPONENTS_SDLUTIL_VSYNCMODE_H
#define OPENMW_COMPONENTS_SDLUTIL_VSYNCMODE_H
namespace SDLUtil
{
enum VSyncMode
{
Disabled = 0,
Enabled = 1,
Adaptive = 2
};
}
#endif