From: Skyebee Date: Mon, 8 Jun 2026 03:20:16 +0000 (-0400) Subject: Menus can be longer than 24 lines, if the window is that long. X-Git-Tag: 1.6.1-roc-jun26-dev~7 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=6a580dacb0eece7840319a2859eb44934c9bb2d6;p=dgamelaunch Menus can be longer than 24 lines, if the window is that long. --- diff --git a/Changelog b/Changelog index b1ca1be..a84e1ab 100644 --- a/Changelog +++ b/Changelog @@ -1,9 +1,11 @@ 1.6.1-roc (2026) - * Forked noisytoot repository and merged changes in paxed's repo since + * Forked noisytoot repository and merged changes in paxed's repo since last merge. * Changed loadbanner() [dgamelaunch.c] -- $INCLUDE() can now be anywhere in a line. - + * Banner files can be longer than 24 lines, if the window size is long + enough. + 1.6.0-hdf (2018-2020) * Enhanced watchmode - use game's built-in whatch function instead of ttyplay, when available (FIQ/Tangles) diff --git a/dgamelaunch.c b/dgamelaunch.c index 33136ee..ca6f1b5 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -633,7 +633,7 @@ loadbanner (char *fname, struct dg_banner *ban) { memset (buf, 0, DGL_BANNER_LINELEN); - if (ban->len >= 24) + if (ban->len >= win.ws_row - 3) break; }