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-B~3 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=b385101737e98c33b5a750b07acd794b3a9488e7;p=dgamelaunch Menus can be longer than 24 lines, if the window is that long. Document change to version string Document crawl merge Fiddle with changelog --- diff --git a/Changelog b/Changelog index b1ca1be..fda2946 100644 --- a/Changelog +++ b/Changelog @@ -1,9 +1,18 @@ 1.6.1-roc (2026) - * 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 (Menu) Files + * 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. + * Meta + * Self-reported version now includes git tag and/or commit hash. + * Forked noisytoot repository and merged changes in paxed's repo + since last merge. + + + * Merged "crawl-specific" character handling from crawl repo (maybe it + will be useful for older versions of DCSS?) + 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; }