Glimmr Automap

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Hacking Automap

    First for constructing the status line (this is the bypass status line map rule):
        if glulx graphics is supported:
            fill status bar with table of ordinary status;
            rule succeeds;
        otherwise:
            reserve automap memory of (text-map depth) rows;
            continue the action.

    [If you prefer that the MAP command toggle the ASCII version of the map rather than close the map window entirely, you can copy the following into your story file:

    Chapter - Deciding (in place of Chapter - Hacking Automap in Glimmr Automap by Erik Temple)

    First for constructing the status line (this is the bypass status line map rule):
        if glulx graphics is supported and the map-window is g-present:
            fill status bar with table of ordinary status;
            rule succeeds;
        otherwise:
            now current zoom is map zoomed in;
            reserve automap memory of 12 rows;
            fill status bar with table of ordinary status and map.]