Debian Codegraph @

terps/agility/changes.txt

raw
1 LIST OF CHANGES SINCE VERSION 0.1
2
3 CHANGES FOR VERSION 1.1.2
4 --Added a STABLE_RANDOM configuration option. When enabled, the interpreter
5 will use a fixed algorithm to generate random numbers, allowing log files to
6 be created that will work on any system.
7 --In the "tests" directory there are now log files that play through The
8 Multi-dimensional Thief and Shades of Gray to completion. The intention is to
9 add further log files for other games in time, as tests of the interpreter.
10 Note that the above STABLE_RANDOM configuration option must be turned on to
11 use these log files.
12 --Substitutions generated by the interpreter's main loop are handled
13 correctly. For example, dying in Shades of Gray no longer results in a
14 "$You$ have died" message.
15 --Metacommands overriding two-word synonyms built into the interpreter
16 (such as GET OUT, which is a synonym for OUT) are handled.
17 --The ability of metacommands to use expansions like $noun$ has been
18 enabled for the AGT 1.5 variants.
19 --The logic to set up roomflags when reading from DA1 files was not quite
20 right. This has been fixed, and has been enabled for the AGT 1.5 variants.
21 As a result, The Multi-dimensional Thief is finishable. Note that if you
22 have a version of a game affected by this change as an AGX file, you will
23 need to re-generate the AGX file from the original AGT data files.
24 --The version of AGT used by Shades of Gray can override SCREAM in a
25 dummy verb.
26 --The order in which dummy verbs are scanned when parsing now better
27 matches the order used in the original AGT interpreters.
28 --Smart disambiguation is on by default for AGT 1.5 and later.
29 --For pre-Magx games, GetNumberInput always returns a number in the range
30 of a 16-bit signed integer, that is, between -32768 and 32767.
31
32
33 CHANGES FOR VERSION 1.1.1
34 --Fixed output function: paragraph filling corrected; made filling
35 less agressive for Magx games; fixed print_statline to work with a
36 screen width greater than 100.
37 --Object loops more carefully trapped, avoiding infinite loops. Object
38 loop error no longer printed out.
39 --IsWorn and IsCarried no longer look inside closed objects. [Al]
40 --Fixed handling of AGT_DEBUG_CMD by agt_newgame(). [Kinder]
41 --*nix port changes: MORE handling fixed; os_linux.c renamed os_termcap.c;
42 os_curses.c is now the main *nix interface; os_curses version of fix_loc()
43 fixed; os_curses batch support fixed.
44 --32-Bit DOS port: BIOS option now works.
45 --Fixed formatting in debugger object editor.
46
47
48 CHANGES FOR VERSION 1.1
49 --The interpreter will now work correctly when passed an AGT file
50 name with an extension (instead of trying to read it as an AGX file).
51 --Overhauled STANDARD message handling: ATTACK messages will now get
52 the $noun$ and $object$ in the right order; parser messages now
53 replaceable; $noun$-type substitutions are prevented in cases where
54 they are not meaningful; added message fallback system to stdmsg();
55 added '-s' command line option for debugging standard messages; added
56 $the_name$, $name_pro$, $name_indir$; fixed capitalization of proper
57 $name$s; $/# substitution routines simplified.
58 --Debugger now supports objprops, objflags, and PROPER.
59 --New metacommand tokens: CanGo and MoveInDirection.
60 --Added support for printing objprops and objflags.
61 --Added support for itemized objprops/variables/objflags/flags.
62 --Added support for explicit objects to redirection and command
63 headers.
64 --Null NOUN/OBJECT/ACTOR args to conditional tokens will no longer
65 generate GAME ERROR messages.
66 --Added $ and # expansion to shortdescs of nouns and creatures.
67 --Misc bug fixes:initialization of seen and proper for original AGT games;
68 types in GAME ERROR messages; objswap in exec_verb(); parse_noun will
69 no longer look for multiple nouns when parsing the actor; possible
70 buffer overrun in wordcode_match; added second line of vb== conditions
71 to verify_scope.
72 --Overhauled handling of dobj_rec, iobj_rec, actor_rec: they
73 are now copied and freed by runverbs() and objcheck_cycle();
74 added copy_parserec(), free_all_parserec();
75 --Fixed e-mail address and Jay's URL.
76
77
78 CHANGES FOR VERSION 1.0
79 --Added support for proper names of creatures and nouns, indicated
80 by the object in question having the PROPER flag set. Proper names
81 are printed capitalized and without the definite article ("Fred"
82 instead of "the fred"). Note that this change only affects built-in
83 messages, and game messages that use the new $the_n$, $the_o$, and
84 $the_c$ substitutions.
85 --As part of this change, added the PROPER_CREATURE configuration
86 option which will make *all* creature names proper.
87 --For pre-Magx games, built-in verb synonyms now take precedence
88 over author-defined ones. For example, N will now be interpretered as
89 NORTH, even in games that try to redefine it as meaning "NO". (Games
90 created using VERSION MAGX will still honor the author's intent.)
91 --PLAY WITH is longer automatically converted to PLAY. [Metcalf]
92 --TURN ON can now trigger specials [Metcalf]; in general, the
93 handling of <verb> <preposition> <noun> constructions for pre-Magx
94 games has been fixed.
95 --Items contained in worn objects are now also considered to be worn.
96 --Short description used instead of adjective-noun for nested
97 inventory items. [Metcalf]
98 --Fixed problem with empty filenames in get_user_file.
99 --$ strings no longer forced to lower case before substitution.
100 --32-bit DOS version now supports graphics and fonts.
101 --'strptr' changed to 'ss_end', to conform to ANSI C namespace
102 requirements.
103
104
105 CHANGES FOR VERSION 0.9.1
106 --Fixed reading of Master's Edition games, which was broken by the
107 roomflag changes in 0.9.
108
109
110 CHANGES FOR VERSION 0.9
111 --ALL now ignores the contents of objects that are already selected.
112 --Fixed RoomFlag handling for more than 16 roomflags; reduced
113 the official limit on number of roomflags to 31. [Mlinar]
114 --KillPlayer now ends metacommand execution. [Jay]
115 --DescribeThing <room> now works correctly. [Tarkin]
116 --Disambiguation of GET fixed to deal with containers. [Turpin]
117 --Fixed conflict between autoexec verbs and AFTER. [Turpin]
118 --Fixed reading in of answers from large AGX files. [Myrow]
119 --Typographical fixes: pronoun references in v_attack() error messages
120 and the spelling of resurrection.
121 --Dissassember changes: top-of-stack and indirect references fixed;
122 newlines after OnFailGoto corrected; debug settings in AGTOUT fixed.
123
124
125 CHANGES FOR VERSION 0.8.9
126 --DOS binary recompiled with correct source files.
127 --Fixed AGX incompatibility problem with pre-0.8.8 interpreters.
128 Standard AGX version raised to 2.
129 --Fixed large save-file support: DOS version can now handle save
130 files up to 64K and there is a (theoretical) upper limit of 2GB for
131 appropriate platforms.
132 --Fixed reading of AGX files with no descriptions.
133
134
135 CHANGES FOR VERSION 0.8.8
136 --Added REPLAY FAST command and fast_replay flag.
137 --Room descriptions are now printed out after ressurection. [Jay]
138 --The debugger now splits noun attributes across three columns.
139 --Added support for user defined object flags and properties, including
140 new metacommand tokens ObjFlagOn, ObjFlagOff, TurnObjFlagOn, TurnObjFlagOff,
141 ToggleObjFlag, PushObjProp, and PopObjProp.
142 --Action tokens that only affect the stack no longer force then end of
143 an OR block. (This allows the stack to be used for computations in such a
144 block.)
145 --Changed names of IsSet/Set/Clear to AttrOn/TurnAttrOn/TurnAttrOff.
146 --Two-argument metacommand tokens now work correctly with NOUN and OBJECT.
147 --Two-argument metacommands with a double top-of-stack reference now
148 pops the second argument first.
149 --Fixed handling of NOUNInRoom, DescribeThing, and EndDisambig tokens.
150 --Fixed 16-bit overflow bug in loadgame(). [Tarkin]
151 --DOS DA6 buffering adjusted to fit in 32K.
152
153
154 CHANGES FOR VERSION 0.8.7
155 --COLOURS option (as synonym for COLORS) added.
156 --Added 50_LINE and BLOCK_CURSOR configuration options to DOS port.
157 --Most command line options are now case-insensitive
158 --Added support for $FLAG[obj]$, $ON[obj]$, $OPEN[obj]$, $LOCKED[obj]$
159 [Patch contributed by Mitch Mlinar].
160 --New token: HasSeen. (Warning: this is untested.)
161 --Pure-stack operations are no longer treated as action tokens for
162 disambiguation purposes.
163 --The game stack is now cleared before each major metacommand scan
164 although not before DoSubroutine or RedirectTo initiated scans.
165 --Delay no longer divides by two.
166 --Corrected handling of RoomNeedsLight.
167 --Bugs fixed: direct address with multiple actors of same name,
168 "start==-1" problem in agtread.c, objname handling of missing
169 adjectives, object.c problems with creatureless games, agtout display
170 of non-printable owner-ids, BeforeCommand/AfterCommand handling during
171 disambiguation, premature closing of the description file in agt2agx
172 (giving a "Bad file number" error under DOS), DOS memory allocation
173 error ("Failed Assertion: size>=0" when loading games with 500 or more
174 nouns), and a couple of typos in game messages.
175 --Fixed PUSH error message handling and compute_addr diagnostics
176 [Patch submitted by Paul Mikell].
177 --Addition of quitflag tests in a few places [Patch contributed by
178 Mitch Mlinar].
179
180
181 CHANGES FOR VERSION 0.8.6
182 --Added NAVARROW configuration option to Linux and DOS version,
183 which allows the arrow keys to be used for navigation instead of editing.
184 --Added PURE_AFTER configuration option. (This affects whether LOOKs
185 occur before or after AFTER commands.)
186 --OncePerTurn now triggers on _last_ object in a list if called from
187 AFTER or COMMAND AFTER block. Furthermore, AfterCommand is now true in
188 a COMMAND AFTER block.
189 --Bad operand errors will no longer stop metacommand execution.
190 --Added version detection support, including the FORCE_LOAD
191 configuration option to override it.
192 --Added string tokens: CompareStrings, StringBefore, StringAfter,
193 StringIsAnswer,, CopyString, UpcaseString, DowncaseString.
194 --Added XRedirect metacommand token to allow multiple RedirecTos in
195 an AGATE command structure.
196 --Added fixed font formatting code as well as FIXED_FONT
197 configuration option.
198 --Filename handling has been completely overhauled. All file I/O now
199 goes through the new file "filename.c". All FILE* references have
200 been replace by "genfile" and all uses of the game name have been
201 replaced by 'file context' elements.
202 --Miscellaneous fixes: bold text in the DOS port should now be the
203 right color; use of 'class' and 'new' was eliminated from the source
204 code to avoid conflict with C++; eliminated error message when title
205 file not found; disambiguation now correctly accounts for two-cycle
206 execution; fixed bug in rsort() so it can deal with multiple
207 RedirectTo headers; tweaked concdup(); started adding hint data
208 structures; handling of user strings fixed.
209
210
211 CHANGES FOR VERSION 0.8.5
212 --Added DEFAULT_ERRORS configuration option.
213 --TALK to a nonexistant object goes to STD 179 instead of 184. [Y23/24]
214 --Platform dependent information has been broken off into a seperate
215 include file, config.h, which is #included in agility.h.
216 --Changed source code filenames to improve readability:
217 agtread.h-->agility.h; uagt.h-->interp.h;
218 agtdata.c-->gamedata.c; agtdbg.c-->disassemble.c;
219 agttest.c-->agtout.c; rmem.c-->util.c
220 --Converted bool to rbool to avoid conflicts with other libraries and
221 systems.
222 --Documentation of agt_textcolor() fixed.
223 --Fixed 1.83 command sequence and moved Master's Edition AFTER commands
224 after 1.83 after-command group.
225 --Added TWO_CYCLE option to turn on the 1.83-style command sequence.
226 --Added flagnum and isglobal to nouns and creatures. [YS2]
227 --Bugs fixed: unmovable objects and DROP [Y22]; segfault if D$$ file
228 not present; buffer sizing in buffopen() and buffreopen; DOS titlebox
229 colors.
230 --Fixed $turn$ message.
231 --Added range checking to the debugger.
232
233
234 CHANGES FOR VERSION 0.8.4
235 --Corrected AGT 1.5/P to AGT 1.6.
236 --Added BIOS option to DOS port.
237 --Added EndDisambig token.
238 --Made UNMOVABLE nouns undropable/unremovable. [YS1]
239 --Fixed error messages for THROW, TALK, and REMOVE [Y19,20,21]
240 --Bugs fixed: actor metacommands not scanned correctly; spurious
241 "Preposition needs object" message [Y18]; TURN ON/OFF not parsed
242 correctly; ToggleMovable broken; yank segfault under Linux.
243 --Eliminated spurious "preposition needs object" message. [Y18]
244 --DOS port: Turned off common subexpression elimination in compiler
245 to fix PORK "climb tree" bug.
246
247
248 CHANGES FOR VERSION 0.8.3
249 --Added CHECK_GRAMMAR configuration option.
250 --DOS output now goes through BIOS calls.
251 --File routines now chop AGX, D$$, and DA1 extensions off before adding
252 another extension.
253 --SHOW without an object now converted to SHOW EXITS. [Y12]
254 --LOOK <object> converted into EXAMINE (unless the game has a
255 metacommand overriding LOOK <object>). [Y16]
256 --Global noun handling fixed: EXAMINING one now gives a sensible
257 message and $adjective$ handling has been fixed to deal with them. [Y10&11]
258 --SHOOT will now treat a lone object as the target if it is not
259 shootable. [Y6]
260 --Eliminated internal error caused by "TALK" with no object. [Y7]
261 --Trace output now prints out metacommand adjective match fields.
262 --Redirection turns off checking for excess objects under certain
263 conditions. [Y4/17]
264 --The tokensier uses context is used to determine whether '.' should
265 be treated as a letter or as puncutation.
266 --Added support for <none> fields in metacommand header distinct
267 from ANY fields. (Untested)
268 --Fixed restoring of noun.position.
269
270
271 CHANGES FOR VERSION 0.8.2
272 --Fixed Room debugging fields
273 --Added $you're$ and rewrote some of the error messages to take
274 advantage of it.
275 --Fixed enter and exit messages.
276 --Tweaked display of contents of invisible items.
277 --Support for new tokens: Equal, GT, LT, GE, LE, Goto, OnFailGoto.
278 --Parser now recognizes roomflag nouns even when they aren't present.
279 --Fixed verb redirection bug.
280 --Rewrote run_metacommand.
281 --Rewrote visibility checking routines to handle roomflags and other
282 virtual objects more carefully.
283 --Fixed bug in check_obj.
284
285
286 CHANGES FOR VERSION 0.8.1
287 --Error message for unparsable noun has been made clearer.
288 --GO <direction> will not be condensed to <direction> if GO has been
289 overridden.
290 --LOOK now generates <look> action even after DoneWithTurn.
291 --Fixed direction names in ChangePassageway debugging output.
292 --Command offsets now printed for non-ME AGX files.
293 --Spaces now stripped from end of pre-Magx description lines
294 --Added 'unused' field to rooms,nouns,creatures and to agtread.c
295 --Added unused checking to score computation and agttest.c
296 --Whitespace recognition in AGT files changed to be
297 platform-independent.
298 --Fixed read_filerec so it won't read past end-of-block.
299 --rrealloc explicitly returns NULL (and frees the original pointer)
300 if passed a size of 0.
301
302
303 CHANGES FOR VERSION 0.8
304 --The interpreter can now recognize AGX files that don't end in '.agx'.
305 --Added NO_ERROR and IGNORE_SIZE options for the CFG file.
306 --The parser accepts ANY, EITHER, BOTH, and ALL as responses to
307 disambiguation queries.
308 --The save file format has changed again :-(.
309 --Tweaked title-printing routines to use less space when the title
310 is large.
311 --Agtout now doesn't print messages for PrintRandomMessage except
312 by request (and then it prints the whole range, not just the actual two
313 arguments).
314 --AGTout doesn't print out standard messages unless -m flag is set.
315 --Added -o option to agtout.
316 --Debugging screens now mark fields that aren't saved/restored.
317 --Token tables: added support for new ME/1.0 variant, fixed the 1.83
318 token translation table, and unified 1.83 and 1.83a (using 1.83a table).
319 --Added PATH option to Linux and DOS ports.
320 --Illustrations are now listed inroom description.
321 --Linux and DOS ports now support graphics, fonts and function keys.
322 --For Unix, DOS, and similar systems, RESTORE will list existing
323 save files.
324 --Linux allows script and log output to be piped.
325 --Added ^P,^N,^B,^F to Linux/DOS line editor
326 --Test mode (option -t) for automated testing of games has been added,
327 resulting in a new variable test_mode and more careful control of
328 calls to agt_readkey().
329 --Added infrastructure for PATH support (gamepath).
330 --Moved gamename argument from init_interface to start_interface.
331 --Added set_file_context() and related code.
332 --DESCR_BUFFSIZE now controls buffering of description text for AGX
333 format games; AGT games are partially supported.
334 --New language features: direction-triggered verbs, game-defined
335 multiple-word verbs, game-defined prepositions, and classes.
336 --New tokens, for manipulating CLASS and the expression stack,
337 accessing arbitrary properties and attributes, and checking player
338 input for numbers.
339 --DoSubroutine now uses an explicit stack.
340 --POINTS added to save file.
341 --SPECIAL descriptions now correctly printed by agtout.
342 --"Scanning..." messages now use verb synonym for dummy verbs.
343 --The debugger adds newlines after some metacommand tokens (those
344 that print out messages).
345 --Changed ressurection smoke to dark green :-).
346 --Objects whose contents are all INVISIBLE won't print "Which contains:"
347 --Fixed $adjective$ and $noun$ substitution to avoid double-words
348 (e.g. 'silver silver').
349 --Overhaul of built in verbs: can no longer lock open objects;
350 v_throw() has been rewritten to handle liquids correctly; the error
351 messages map more closely to the original AGT messages, including two
352 different messages for darkness; weight and size have been completely
353 rewritten to be bug-compatible with the different AGT versions.
354 --Handling of DOOR in parser and built-in verbs has been reworked;
355 it now has a lower disambig priority than any real object it the game
356 and Magx games no longer recognize it at all.
357 --Metacommand scanning is now bug-compatible with the original
358 interpreters; metacommands are no longer sorted at all.
359 -- $object$, $noun$ objects now work with $name$ as well in redirect.
360 --Redirection no longer changes the *real* actor. (unless a $-form
361 is used, of course).
362 --Eliminated ignore_grammer
363 --$verb$ will now refer to last real verb rather than "g".
364 --Changed verb_id() so built-in synonyms are checked before room
365 synonyms (although only if there is no author-defined synonym).
366 --noun[].pict, noun[].related_names, and creature[].pict are all now
367 initialized for pre-Master's Edition games.
368 --Bugs fixed: NOUN/OBJECT arguments with 2-arg opcodes work; COLORS
369 check at beginning of title now case-insensitive; AGX titles now work
370 with slash_bold; Statusmode 4 does what it's supposed to; eliminated
371 format_string() 200-character limit; counters now printed out
372 correctly; TurnOnCounter now sets counter to 1; capitalization of
373 $...$ forms with '_' fixed; FailMessage works corerctly.
374 --EVERYBODY now has limited support.
375 --Tweaked DOS color support.
376 --DOS doesn't create status line window until after the title is printed.
377 --Code reorganizations: removed FAR; moved some global variable
378 intialization to agtdata.c; converted \E to \033 in os_linux.c to
379 silence warning messages about non-ANSI escape sequences; reorganized
380 os_linux.c for better readability.
381
382
383 CHANGES FOR VERSION 0.7.2
384 --Fixed bug in AGX file code; upped AGX file version number.
385 --Added #include <errno.h> to rmem.c and interface.c
386 --Fix Sun support and added Next support.
387 --Reorganized file name routines and added PREFIX_EXT option.
388
389
390 CHANGES FOR VERSION 0.7.1
391 --Saving of counters/flags/variables and incrementing of counters
392 now correctly includes the last one in each group.
393 --Bugs fixed: memory overrun in ask_for_number() fixed,
394 initialization of flag/variable/counter debugging pointers now done
395 correctly.
396 --Linux port: Eliminated extra MOREs.
397
398
399 CHANGES FOR VERSION 0.7
400 --The DOS and Linux versions now support command history.
401 --The built-in getfile() has default filenames.
402 --The parser uses the exitance of an ALL metacommand to determine if
403 a given verb should accept multiple objects.
404 --Whenever possible, errors are reported using the words the player
405 typed in.
406 --Configuration option NO_OBJECT_NOTES has been added.
407 --Noun field RELATED_NAME is supported.
408 --The disambiguator has been rewritten (yet again): disambiguation is
409 now done using a scored system (rather than the previous pass-fail
410 approach); it will arbitrarily pick in the case of two or more
411 'identical' objects; actor disambiguation has been fixed; visibile
412 scope is no longer assumed for dummy_verbs; a GLOBAL_SCOPE verb option
413 has been added to allow game authors to define verbs that act on
414 non-visible objects.
415 --Added support for multiple commands to NPCs.
416 --Support for new metacommands: OnDisambig, IsHostile,
417 HostilePresent, NameWasPresent, OncePerTurn, SubtractFromTime,
418 SetDisambigPriority, SetVariableToDeltaTime, ChangeStatus,
419 MultiplyVariable, DivideVariable, ComputeRemainder, WaitForKey, SetHE,
420 SetSHE, SetIT, SetTHEY, PrintMessagesNoNL, StandardMessage,
421 FailMessage, FailStdMessage, ErrMessage, ErrStdMessage, and AND.
422 --Added adjective support to the metacommand scanner.
423 --Assigned standard message numbers to error messages that weren't
424 supported by the original AGT.
425 --Added support for generalized operand types and NAME.
426 --Added color code 9 for 'true' white.
427 --New #define added: OPEN_AS_TEXT.
428 --Changed AGX writing code to avoid seeks beyond end of file.
429 --Created auxfile.c, moving code out of agtread.c and agtdata.c
430 --If EndGame is run after a 'q' command has been entered, the game
431 will quit without asking questions.
432 --A couple of bugs in the tokeniser have been fixed.
433 --Miscellaneous bugs fixed: noun initial descriptions print at the
434 correct times; SendTreasureToRoom and IsCarryingTreasure, THROW/AFTER
435 synonyms, BLOCK_HOSTILE, and noun.position are fixed; SHOW prints a more
436 reasonable default error message; fixed the error message printed when
437 ALL doesn't refer to anything; sorting of actor metacommands is now
438 correct.
439 --Reorganized command line argument parsing routine
440
441
442 CHANGES FOR VERSION 0.6
443 --Added support for Klaustrophbia's multiple game files and save files
444 from previous versions of the same game.
445 --Added INTRO verb to reprint the introduction of the game.
446 --The introduction will now wait for you to hit any key before continuing.
447 --Pronouns are now assigned to the last direct object in preference
448 to the last indirect object.
449 --agt_save(), agt_restore(), agt_newgame(), and agt_quit() added for
450 use by event-driven ports.
451 --For DOS and Linux: Title box formatting changed slightly, and
452 COMPASS option added.
453 --Line is no longer wrapped if the remainder consists only of spaces.
454 --SHOOT now works.
455 --Eliminated redundant (being worn) message.
456 --Scope checks for built-in verbs have been centralized.
457 --agtread.h now defaults to PLAIN platform.
458 --Cleaned up header files.
459 --SAVE now uses the last UNDO block which saves memory and allows
460 asyncronous saves.
461 --Other bugs fixed: the ordering of agildebug menu, the scoring of nouns
462 and creatures, and processing of $your$.
463
464
465 CHANGES FOR VERSION 0.5
466 --Added support for new "AGX" file format, in agxfile.c; a new set
467 of file manipulation routines have been added to rmem.c to support the
468 format. There is a new pAGX #define for the extension of the new format.
469 --Save and restore were rewritten to use the same file I/O code as the
470 AGX routines; savefmt.h no longer exists. This seems to have fixed the
471 bug with RESTART and UNDO overwriting the dictionary under DOS.
472 --Save, restore, script, and log files now add an extension automatically.
473 --Both the interpreter and agttest.c have been modified slightly to
474 work with the new file format and a new program, agt2agx, has been
475 added to convert AGT files to the AGX format.
476 --To support the new format, the TTL and INS routines in agil.c have
477 been rewritten.
478 --The interpreter now waits until there is something on the status
479 line before printing it out.
480 --Extensions to the debugger: roomflags now can be viewed and
481 modified; so can the gender field of creatures and user strings;
482 formatting of output has been improved(thanks to Jay Goemmer's
483 suggestions); main debugging menu reorganized; can now turn
484 tracing of disambiguaion and of ANY verbs off; metacommand trace now
485 prints out actors and REDIR instead of cryptic numbers to represent
486 the first field of the command header.
487 --dbg_nomsg added so messages will only be printed once when tracing
488 metacommands rather than twice.
489 --The function init_interface() has been replace by two functions,
490 init_interface() and start_interface();
491 --Split exec.c into exec.c and object.c
492 --Added a new file, agilstub.c, which needs to be linked with the
493 non-interpreter utilities.
494 --File read/write routines now do more comprehensive error checking.
495 --AMIGA and HP-UX configurations have been added to the header
496 (thanks to David Kinder and Alexander Lehmann)
497 --Boxes under the DOS interface are now in reverse video.
498 --Fixed reading of CFG file so SLASH_BOLD would work.
499 --All agtread output now goes through rprintf and from there through
500 writestr and writeln. DIAG now defaults to 0 so there should be less
501 output to begin with.
502 --Added fix_ascii_flag and IBM_CHAR option which allow the decision
503 about character translation to be made at run time.
504 --Made a lot more limits dynamically set, including the number flags,
505 variables, counters, dummy verbs, and subroutines;
506 --LookAtRoom now prints the room description directly, rather than waiting
507 until the end of the turn.
508 --Object lists are now sorted by object number, so they will maintain
509 a consistent ordering.
510 --Changed handling of REPLACE_WORD so it will also replace synonyms.
511 --Line break section of writestr() rewritten to fix a couple of bugs
512 and os_dos.c has been fixed to get rid of extra line breaks.
513 --The 1.5/F decoding of the DA2 file has been fixed so _The
514 Multi-dimensional Thief_ should now work.
515 --Bugs fixed: exits now printed correctly by debugger; a few
516 spelling errors fixed; YesNo and Chance bug; maxpix, maxpict, etc. are
517 now converted to zero if they are negative; UserStrings now numbered
518 from 1..25 rather than 0..24; fixed centering of status line; AFTER
519 commands not scanned after GameEnd token anymore.
520 --Eliminated extra newline in Linux script files.
521 --Fixed bug in os_linux.c, agt_option(), that caused it to report an
522 error with COLORTERM
523 --General cleaning up of the code: picture/sound/font filenames are
524 now stored in the main static string array; several redundant
525 variables eliminated; read_descr() rewritten to work with new file
526 format; eliminated distinction between regular and auxilary verbs;
527 added get_opdef();
528 --Moved most of the purity flags from uagt.h/agil.c to
529 agtread.h/agtdata.c, so they would be visible to agxfile.c.
530 --ReDirect now marked by a flip in sign instead of adding 2000;
531 ANYBODY has been moved to 2 from 123; and <no actor> is now
532 represented by 1 instead of 0 (so it can be negated).
533 --Replace fixchar() and IBM character set translations by a look-up
534 table to speed up reading of descriptions.
535 --Tweaked room description printing so SPECIALS that send you to the same
536 room don't cause the room description to be printed out again.
537 --For Master's Edition games, now set have_meta flag based on
538 last_cmd rather than on the value in the DA1 file (which is always
539 true for ME games even if there are no metacommands).
540 --Made several int data type more specific and made sure they were consistent
541 with the corresponding save/restore/AGX file types.
542 --Rewrote readnum() in agtread.c
543 --Moved dictionary diagnostic stuff into a separate routine, which
544 we can call from agttest.
545
546
547 CHANGES FOR VERSION 0.4
548 --Added intelligent disambiguation and ALL expansion.
549 --Added simple object viewers/editors to debugging system
550 --The parser now converts SHOOT x AT y into SHOOT y WITH x
551 --The parser now handles TELL <actor> TO <verb> ... correctly.
552 --NO_BLOCK_HOSTILE and GET_HOSTILE are now supported.
553 --Added SOUND ON, SOUND OFF, INSTRUCTIONS (or INS)
554 --Prompt is now bold as well as input text.
555 --Added synonyms: 'inv' as synonym for 'inventory'; 'in' and 'inside'
556 as synonyms for 'enter'
557 --Classic version 1.0 is now supported as is the version used by
558 Cosmoserve 97, and the 1.5 variants used by Hotel Notell and The
559 Multidimensional Thief.
560 --The status line is now updated every time the player's location changes.
561 --Version 1.83 now properly recognized even if there are no creatures.
562 --Titles in v1.83 are no longer automatically centered (to conform with
563 the original interpreter).
564 --Split metacommand.c into metacommand.c and token.c
565 --The contents of variables are now type-checked; fixed type output
566 in agtdbg.c to accomadate the new variable format.
567 --Interpreter now computes maximum score itself if value in .DA1 file is 0.
568 --Fixed timing of "Creature is getting angrier" message
569 --Fixed color/bold code in Linux.
570 --Bold/color settings are now reset to normal after each description block.
571 --For Master's Edition games, the 'door' virtual object is now given a lower
572 disambiguation priority than non-present objects.
573 --Instructions now pass through IBM character decoding
574 --Formating characters now stripped from status line.
575 --Code reorganizations: metacommands are now sorted by verb to speed
576 up processing; reorganized dict data structures to be more compact;
577 put in additonal error checking in check_lastcmd(); broke up
578 exec_token() into exec_token(), exec_cond(), and exec_action().
579 --Fixed bugs: title centering detection fixed; GetNumberInput's
580 argument list fixed; NamePresent and ANYBODY commands have been
581 corrected; DescribeThing is now able to describe rooms;
582 SetVariableTime now normalizes its data type; PlayerHas; 1.83 verb
583 list was off; there was an extra "the" in the AGT info entry.
584
585
586 CHANGES FOR VERSION 0.3
587 --Instructions and an information screen can be viewed.
588 --The title is now centered.
589 --Added debugging features.
590 --'it' refers to plural as well as singular antecedents.
591 --SOGGY credits are printed out
592 --Added IRUN support (-1 command line option)
593 --AGiliTy can now understand the variant 1.5 versions.
594 --Added LOG and REPLAY
595 --Changed script output to append instead of replace existing files.
596 --Added support for menu-driven input.
597 --Added global and game-specific configuration files (.CFG)
598 --Shrunk save files again.
599 --Getfile now asks before overwriting.
600 --Added pINS, pVOC, pOPT, pHNT
601 --Removed the last call to stat() from core code.
602 --Moved file_size() to rmem.c
603 --Split parser.c into parser.c and agil.c and reorganized
604 initialization.
605 --Added version and port strings
606 --Rewrote DA6 reading code to work with only partial buffers.
607 --Rewrote the type checking system to be more precise
608 --DEBUG_AGT_CMD is now equivelent to flag[0].
609 --rmalloc, rrealloc trap errors if too large a block is requested
610 (determined by MAXSTRUCT).
611 --Rewrote color code to avoid collision of color tokens with '\t' and
612 remapped the 1.83 '\' bold character.
613 --Moved terminal tokens up to code 2000, to make it easier to add new
614 tokens.
615 --Code reorganization: moved concdup() from agtdata.c to rmem.c, making
616 it public; reorganized file code in agtread.c and rmem.c; removed
617 underline translator in tokeniser; rewrote fix_cmd; reorganized memory
618 allocation in agtread.c to reduce fragmentation; added 'static' to a
619 lot of declarations and reduced external linkage requirement to 8
620 characters; rfree macro rewritten; word lists("slists") now stored
621 dynamically; opcode name list uses pointers instead of fixed length
622 arrays.
623 --Fixed various bugs: various problems with PUT IN; ME/1.0 pictures,
624 fonts,songs, and user strings ignored; cosmetic errors in
625 print_contents; dictionary search case senstitive; various problems
626 with INVISIBLE; 1.83 games crashed; ANYBODY not properly matched.
627
628
629 CHANGES FOR VERSION 0.2:
630 --The save file format has shrunk.
631 --Fixed print_title() to do IBM character translation for the title file.
632 --RESTORE now verifies that save files are from the correct game.
633 --Added support for version 1.18 games.
634 --Metacommand debugging information now goes throught the standard
635 screen output routines.
636 --The interpreter now loads the game faster due to file buffering and
637 a hash table for search_dict().
638 --When program finds a lot of bad tokens it no longer floods the screen
639 with warning messages
640 --OR metacommand tokens are now handled consitently with the original
641 interpreters.
642 --Reorganized exec.c into three files: exec.c, runverb.c, and metacommand.c
643 and a header exec.h
644 --DEBUG_OUT is now defined in uagt.h.
645 --Completed internal support for fonts, music, and graphics. Of
646 course these still require a port actually capable of using of this.
647 --Rewrote file size functions to be more portable; eliminated NO_FILESIZE
648 and REPLACE_FILESIZE
649 --Added FAST_SETSIGN, using macros to speed this up on compatible systems.
650 --Got rid of HUGE #defines; any individual data structure now fits in 64k
651 --Changed print_obj() to not print out an object's short description if it
652 starts with INVISIBLE even if it contains other words.
653 --Changed MEM_MARGIN to 16k which should prevent the interpreter from
654 starting up without enough memory and then dying mid-game.
655 --Changed the way noun.position is handled to reduce the size of save
656 files.
657 --Cleaned up DA1 reading routines in agtread.c and aver encoding.
658 --'long int' and 'short int' changed to 'long' and 'short' to allow
659 #define int short int (for debugging purposes)
660 --Cleaned up BRIEF and VERBOSE messages.
661 --it_sdesc converted into a function
662 --The code for reading DA6 files should now be endian independent.
663 --Descriptions with '$' symbols now print correctly.
664 --r?alloc calls with size zero are now handled correctly and rmem_trap
665 is now correctly set.
666 --Several memory leaks have been fixed.
667 --Several other minor bugs have been fixed.
668
669
670 VERSION 0.1
671 --First public release