From a7bd381aed2097c54ad27fc7b9d2cec1e1d4f979 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 21 Dec 2022 22:19:55 +0100 Subject: [PATCH] Add 1080p superwide, 1440p and 4K ultrawide resolution options to menus This could already be done by editing `darkwar/config.rot` manually, but it's more convenient to have those resolutions in the menus. --- src/rt_menu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rt_menu.c b/src/rt_menu.c index 2467c49..0aa6f9d 100644 --- a/src/rt_menu.c +++ b/src/rt_menu.c @@ -785,8 +785,12 @@ ValidResolution AvailableResolutions[] = {1600, 900, NULL, 2}, {1680, 1050, NULL, 2}, {1920, 1080, NULL, 2}, - {2560, 1080, NULL, 2}, + {2560, 1080, NULL, 2}, // 1080p ultrawide (21:9) {2560, 1440, NULL, 2}, + {3440, 1440, NULL, 2}, // 1440p ultrawide (21:9) + {3840, 1080, NULL, 2}, // 4K superwide (32:9) + {3840, 1600, NULL, 2}, // Common "4K ultrawide" resolution + {3840, 1620, NULL, 2}, // "Strict" 4K ultrawide (closer to 21:9) {3840, 2160, NULL, 2}, };