mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
add new aspect_ratio to ddraw.ini
This commit is contained in:
parent
33666bbd19
commit
164365efd3
@ -28,8 +28,8 @@ typedef struct CNCDDRAWCONFIG
|
||||
BOOL fullscreen;
|
||||
BOOL windowed;
|
||||
BOOL maintas;
|
||||
BOOL boxing;
|
||||
char aspect_ratio[16];
|
||||
BOOL boxing;
|
||||
int maxfps;
|
||||
BOOL vsync;
|
||||
BOOL adjmouse;
|
||||
|
@ -38,8 +38,8 @@ void cfg_load()
|
||||
GET_BOOL(g_config.fullscreen, "fullscreen", FALSE);
|
||||
GET_BOOL(g_config.windowed, "windowed", FALSE);
|
||||
GET_BOOL(g_config.maintas, "maintas", FALSE);
|
||||
GET_BOOL(g_config.boxing, "boxing", FALSE);
|
||||
GET_STRING("aspect_ratio", "", g_config.aspect_ratio, sizeof(g_config.aspect_ratio));
|
||||
GET_BOOL(g_config.boxing, "boxing", FALSE);
|
||||
GET_INT(g_config.maxfps, "maxfps", -1);
|
||||
GET_BOOL(g_config.vsync, "vsync", FALSE);
|
||||
GET_BOOL(g_config.adjmouse, "adjmouse", TRUE);
|
||||
@ -197,6 +197,9 @@ static void cfg_create_ini()
|
||||
"; Maintain aspect ratio\n"
|
||||
"maintas=false\n"
|
||||
"\n"
|
||||
"; Use custom aspect ratio - Example values: 4:3, 16:10, 16:9, 21:9\n"
|
||||
"aspect_ratio=\n"
|
||||
"\n"
|
||||
"; Windowboxing / Integer Scaling\n"
|
||||
"boxing=false\n"
|
||||
"\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user