Glimmr Canvas-Based Drawing

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous



  • Chapter - Graphlink preview
    [This would be better implemented as a debugging command, perhaps, but is presented as a use option for performance reasons. With a use option, we can use an #ifdef block to define the debugging behavior; in other words, when the use option is not in use, no code at all related to it is compiled into the game, and thus no need to waste time checking a conditional.]

    Use image-map graphlink preview translates as (- Constant Glimmr_GRAPHLINK_PREVIEW; -).
        
    To #if utilizing the image-map graphlink preview option:
        (- #ifdef Glimmr_GRAPHLINK_PREVIEW; -)
        
    The graphlink preview color is a glulx color value variable. The graphlink preview color is usually g-Light-Grey.


    Glimmr Canvas-Based Drawing ends here.