Skip to content

Duke3D: Bump max newgamechoices to 14, resize font dynamically

This MR permits additional entries in newgamechoices menus by dynamically resizing the font when populating the menu if more than 7 entries are visible, and bumps the limit to 14. This would allow the EDuke32 Addons Compilation to implement the usermap packs.

This is done by making one copy of the Redfont for the newgamechoices menu and submenu each, then altering their zoom values. Separate fonts are used such that menu transitions are displayed properly.

It also moves the population of the base newgamechoices menu into Menu_AboutToStartDisplaying(). This is done because the visibility of certain menu items can be changed through CON, thus requiring the menu positioning and font size to be updated.

IMPORTANT: I currently don't have access to Ion Fury as I'm away from my desktop for roughly 2 weeks. Therefore, I wasn't able to test this with it.

Edited by Dino Bollinger

Merge request reports