Skip to content

Commit

Permalink
Add 1080p superwide, 1440p and 4K ultrawide resolution options to menus
Browse files Browse the repository at this point in the history
This could already be done by editing `darkwar/config.rot` manually,
but it's more convenient to have those resolutions in the menus.
  • Loading branch information
Calinou committed Dec 21, 2022
1 parent 407e3d8 commit 3cf4239
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rt_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
};

Expand Down

0 comments on commit 3cf4239

Please sign in to comment.