Skip to content

Commit

Permalink
Use new "configuration flag" syntax from Inform 10.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
neroden committed Jan 17, 2024
1 parent 1715e81 commit 4161b37
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
8 changes: 4 additions & 4 deletions Nathanael Nerode/Compliant Characters-v5.i7x
Original file line number Diff line number Diff line change
@@ -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 <topic>' 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."

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions Nathanael Nerode/Large Game Speedup-v7.i7x
Original file line number Diff line number Diff line change
@@ -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."

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions Nathanael Nerode/Nathanael's Debug Tools-v4.i7x
Original file line number Diff line number Diff line change
@@ -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."

Expand All @@ -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:
Expand Down Expand Up @@ -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
9 changes: 5 additions & 4 deletions Nathanael Nerode/Neutral Standard Responses-v6.i7x
Original file line number Diff line number Diff line change
@@ -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."

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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) ]";
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4161b37

Please sign in to comment.