Glimmr Automap

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Zooming in

    Carry out zooming in when glulx graphics is supported:
        if the map viewport is g-unpresent:
            try opening the map window;
        if the map viewport is g-present:
            if current zoom level of the map-renderer < the number of entries of the zoom-level set of the associated tileset of the map-renderer:
                increase current zoom level of the map-renderer by 1;
        otherwise:
            say "[line break](Could not open the map window.)";
        rule succeeds.
        
    Report zooming in when glulx graphics is supported:
        unless the command is mouse-generated:
            say "[zoomed-in]"