X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=notes.adoc;h=4e110512da483d01f84937d3d9bcb3a4b4e686c5;hb=3bdab31a0d0c8c7397be835cf97bbf4d5a1c97de;hp=9d26578c806b5a71077ce61b7bac7ab3e7414cc2;hpb=804e60ccff533fa9e3ae2117effe71c5e2a21ef5;p=open-adventure.git diff --git a/notes.adoc b/notes.adoc index 9d26578..4e11051 100644 --- a/notes.adoc +++ b/notes.adoc @@ -81,7 +81,7 @@ against a comprehesive test suite that we built first and verified with coverage tools. This is what you are running when you do "make check". This move entailed some structural changes. The most important was -the refactoring of 354 gotos into if/loop/break structures. We +the refactoring of 355 gotos into if/loop/break structures. We also abolished almost all shared globals; the main one left is a struct holding the game's saveable/restorable state. @@ -108,10 +108,10 @@ ways: and the choice to refrain will make forward translation into future languages easier. -* There are 20 gotos left that resist restructuring; all but one of - these are in the principal command interpreter function implementing - its state machine. A 21st, a two-level loop breakout, is not reducible - even in principle. +* There are 19 gotos left that resist restructuring; all of these are + in the principal command interpreter function implementing its state + machine. A 21st, a two-level loop breakout, is not reducible even + in principle. * Linked lists (for objects at a location) are implemented using an array of link indices. This is a surviving FORTRANism that is quite unlike