Glimmr Automap

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Reading and writing automap data
            
    To decide what number is the map glyph of (N - a number):
        (- Automap_Chars->( {N} - 1 ) -)
        
    To decide what number is the linked room-ID of (N - a number):
        (- Automap_Links-->( {N} - 1 ) -)
        
    To place glyph (ch - number) at (x - a number):
        (- if ( Automap_Chars -> ( {x} - 1 ) == 32 ) {
        Automap_Chars -> ( {x} - 1 ) = {ch};
        }
        -)

    To place glyph (ch - number) at (x - a number) imperiously:
        (- Automap_Chars -> ( {x} - 1 ) = {ch}; -)