From 3cf423903d21e7a91b8f1b9d4b3f4fe7b00fe88f 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rt_menu.c b/src/rt_menu.c index 2467c49..c5dee43 100644 --- a/src/rt_menu.c +++ b/src/rt_menu.c @@ -786,7 +786,12 @@ ValidResolution AvailableResolutions[] = {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 aspect ratio) + {3840, 1600, NULL, 2}, // Common "4K ultrawide" resolution + {3840, 1620, NULL, 2}, // "Strict" 4K ultrawide (closer to 21:9) {3840, 2160, NULL, 2}, };