From 4161b37d0a895e9d5e4480a2ad83055707264b61 Mon Sep 17 00:00:00 2001 From: Nathanael Nerode Date: Wed, 17 Jan 2024 13:42:21 -0500 Subject: [PATCH] Use new "configuration flag" syntax from Inform 10.2. --- Nathanael Nerode/Compliant Characters-v5.i7x | 8 ++++---- Nathanael Nerode/Large Game Speedup-v7.i7x | 7 ++++--- Nathanael Nerode/Nathanael's Debug Tools-v4.i7x | 5 +++-- Nathanael Nerode/Neutral Standard Responses-v6.i7x | 9 +++++---- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Nathanael Nerode/Compliant Characters-v5.i7x b/Nathanael Nerode/Compliant Characters-v5.i7x index 166baeec..9fdfaf7f 100644 --- a/Nathanael Nerode/Compliant Characters-v5.i7x +++ b/Nathanael Nerode/Compliant Characters-v5.i7x @@ -1,4 +1,4 @@ -Version 5.3.240114 of Compliant Characters by Nathanael Nerode begins here. +Version 5.4.240115 of Compliant Characters by Nathanael Nerode begins here. "Report parsing errors to the player when ordering other characters to do things. Inform 7 normally redirects these errors to 'answer ' so that the character can respond to arbitrary statements. But in an story with compliant characters who the player orders around routinely, that is frustrating to a player who has made a typo; this helps out the player. Requires version 5 of Neutral Standard Responses. Tested with Inform 10.1.0." @@ -625,8 +625,7 @@ Chapter - Core Reparsing Section - Command Debugging -[ Inform 10.2 requires the word Constant to be in Sentence Case (!?!?). ] -Use command debugging translates as (- Constant COMMAND_DEBUGGING; -). +Use command debugging translates as a configuration flag. Section - Reparsing orders @@ -1014,7 +1013,8 @@ This version of this extension depends on Inform 10.2 for its support hooks and Chapter - Changelog - 5.2.240114 - Patch to prevent turn count from advancing when reparsing. + 5.4.240115 - Use "configuration flag" syntax from newest version of Inform. + 5.3.240114 - Patch to prevent turn count from advancing when reparsing. 5.2.230729 - Change "CONSTANT" to "Constant" to compile under Inform 10.2. 5.2.230728 - Revert changes necessary due to bug in released version of Inform 10.1 but fixed for 10.2. 5.1.230727 - Large changes needed to work around bug in released version of Inform 10.1 diff --git a/Nathanael Nerode/Large Game Speedup-v7.i7x b/Nathanael Nerode/Large Game Speedup-v7.i7x index 5fad3707..3278c4c9 100644 --- a/Nathanael Nerode/Large Game Speedup-v7.i7x +++ b/Nathanael Nerode/Large Game Speedup-v7.i7x @@ -1,4 +1,4 @@ -Version 7.1.240108 of Large Game Speedup by Nathanael Nerode begins here. +Version 7.1.240114 of Large Game Speedup by Nathanael Nerode begins here. "Performance improvements for games with many objects, or with nested loops over objects, by avoiding looping over all objects." @@ -419,9 +419,9 @@ to decide which list of objects is the/-- list of components of (obj - an object Chapter - Static Object Grouping -[This is *untested* in 6M62 and 10.1.0.] +[This is *untested* in 6M62 and 10.1.0 and 10.2.] [ -Use static object grouping translates as (- Constant STATIC_OBJECT_GROUPING; -). +Use static object grouping translates as the configuration flag STATIC_OBJECT_GROUPING. The initially listing contents rules are a rulebook. @@ -542,6 +542,7 @@ Do *not* use the standard "group X together" phrases when static option grouping Chapter - Changelog + 7.1.240114 used the new "configuration flag" syntax. 7.1.240108 fixed formatting. 7.1.240107 updated to new version of Inform (RunTimeError->IssueRTP) 7.0.230723 updated to new version of Inform. diff --git a/Nathanael Nerode/Nathanael's Debug Tools-v4.i7x b/Nathanael Nerode/Nathanael's Debug Tools-v4.i7x index 3e9bbf87..9ade98fe 100644 --- a/Nathanael Nerode/Nathanael's Debug Tools-v4.i7x +++ b/Nathanael Nerode/Nathanael's Debug Tools-v4.i7x @@ -1,4 +1,4 @@ -Version 4.0.230722 of Nathanael's Debug Tools by Nathanael Nerode begins here. +Version 4.1.240114 of Nathanael's Debug Tools by Nathanael Nerode begins here. "Miscellaneous stuff I like to have built in when debugging and programming, but would never want to relase." @@ -15,7 +15,7 @@ Include (- Section - Startup Debugging -Use startup rules tracing translates as (- Constant STARTUP_RULES_TRACING; -). +Use startup rules tracing translates as a configuration flag. [ See RulesOnSub in Tests.i6t for reference ] To turn rules tracing on: @@ -54,4 +54,5 @@ This eliminates the "Are you sure?" question when quitting; useful to speed up t Tracing startup rules is important when you need it, and requires a decent chunk of code to set up (included here). It is rather annoying when you don't need it. It's enabled with Use startup rules tracing +Version 4.1.2024014: Use 'configuration flag' syntax. Version 4.0: Update for 2023-07-02 version of Inform diff --git a/Nathanael Nerode/Neutral Standard Responses-v6.i7x b/Nathanael Nerode/Neutral Standard Responses-v6.i7x index 24e41174..1b046f4b 100644 --- a/Nathanael Nerode/Neutral Standard Responses-v6.i7x +++ b/Nathanael Nerode/Neutral Standard Responses-v6.i7x @@ -1,4 +1,4 @@ -Version 6.0.230722 of Neutral Standard Responses by Nathanael Nerode begins here. +Version 6.0.240114 of Neutral Standard Responses by Nathanael Nerode begins here. "Replaces misleading, vague, and narratively-voiced parser messages with instructive, clarifying, and neutral versions, respectively. For Inform 10.1.0." @@ -88,7 +88,7 @@ Section - Debug (not for release) [This is too useful not to have it in place, but should never be in a published game.] -Use parser error debugging translates as (- Constant PARSER_ERROR_DEBUGGING; -); +Use parser error debugging translates as a configuration flag. Before printing a parser error (this is the debug parser errors rule): If the parser error debugging option is active: @@ -1157,7 +1157,7 @@ Chapter - Traditional can't see any such thing rule [For those story authors who do not want to explain what words are not in the dictionary.] -Use traditional can't see any such thing translates as (- Constant TRADITIONAL_CANT_SEE; -). +Use traditional can't see any such thing translates as a configuration flag. Rule for printing a parser error when the latest parser error is the can't see any such thing error and the traditional can't see any such thing option is active (this is the traditional can't see any such thing rule): say "[ text of the parser error internal rule response (E) ]"; @@ -1411,7 +1411,8 @@ I also made one philosophical design change. Messages are styled "as the parser Section - Changelogs Neutral Standard Responses: - Version 6.0.230722: adapt to new (work in progress) version of Inform. + Version 6.0.240114: Use "as a configuration flag" syntax from new version of Inform. + Version 6.0.230722: adapt to new (work in progress) version of Inform. Version 5.0.220521: adapt to Inform v10.1.0. Version 4/210908: in several rule responses, changed "here" to "[here]" (which will only ever matter outside of present tense) -- ZL Version 4/171007: