From: David Griffith Date: Fri, 31 May 2019 04:25:09 +0000 (-0700) Subject: Better to get Width and Height from $21 and $20 of the story file header. X-Git-Tag: r8~7 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=fb11ffbf3402b8fa44a19d3534f76a13ba0df8a4;hp=2533d54b4cf99ca59b7c58d7d3d2b8cf1be79dc4;p=rfk-inform.git Better to get Width and Height from $21 and $20 of the story file header. The locations of $22 and $24 in the story file header are for screen width and screen height. This is often synonymous with columns and rows, but is not guaranteed. It is better to get these numbers from $21 and $20 which are explicitly stated to be for screen columns and screen rows. --- diff --git a/kitten.inf b/kitten.inf index 5227273..89ce7e3 100644 --- a/kitten.inf +++ b/kitten.inf @@ -115,8 +115,8 @@ Global Real_Release = 0; Real_Release = (0-->1)&$03ff; - Width = $22-->0; - Height = $24-->0; + Width = $21->0; + Height = $20->0; main_menu(); while (true) {