Skip to content

v5.5

Compare
Choose a tag to compare
@fredrikr fredrikr released this 08 Jun 10:31
· 61 commits to master since this release

Important to note when upgrading:

  • Nothing

Changes in functionality:

  • The z5+ statusline routine (DrawStatusline) has been changed to print a full line of reverse spaces before printing the actual text on the statusline. This means that the statusline text flashes briefly every move (only visible on slow platforms), and it means the statusline is slightly slower (~0.10 s vs 0.09 s, on a C64). This change has been made to increase compatibility with older interpreters, as some of them don't support the get_cursor opcode, which is required for the old statusline routine. The most important interpreters that don't support it are MaxZip on classic MacOS and Infocom's Amiga-interpreter.
  • There is a new constant OPTIONAL_NON_FLASHING_STATUSLINE. Define it in z5+ games if you want to use the old, non-flashing statusline routine.

Optimizations:

  • The code for automatic setting of the reactive attribute is now shorter and 20% faster (total time for a full-size z3 game is typically 1.5 s)
  • Finding floating objects at game start is faster and shorter
  • Optimized the z3 versions of _CopyInputArray and _CopyParseArray routines in parser.

Bugfixes:

  • The Flags extension would define the symbol TM_NOT_PUNY if the extension was used without the PunyInform library. This was the wrong name, and wasn't used for anything, so it's been removed.