]> skyeroc.xyz Git - dgamelaunch/commitdiff
Menus can be longer than 24 lines, if the window is that long.
authorSkyebee <sb24kelley@gmail.com>
Mon, 8 Jun 2026 03:20:16 +0000 (23:20 -0400)
committersbkelley <sb24kelley@gmail.com>
Mon, 15 Jun 2026 21:43:45 +0000 (17:43 -0400)
Document change to version string

Document crawl merge

Fiddle with changelog

Changelog
dgamelaunch.c

index b1ca1bee2928d4b243428d476e349642386f212b..fda2946101131561178909555cc195f55a291f69 100644 (file)
--- 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)
index 33136eed9d2ca3ce27413b631594f64910a5ba7e..ca6f1b56af9a11742cac202943971c2738081ac4 100644 (file)
@@ -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;
   }