Glulx Input Loops

version 1/101121 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Definition of input loop kind

    An input-loop is a kind of thing. An input-loop is privately-named.

    Loop-primacy is a kind of value. The loop-primacies are g-unspecified, g-primary and g-secondary.

    An input-loop has a loop-primacy called the stored loop context.
    An input-loop has a loop-primacy called the loop context.
    An input-loop has a g-event called the focal event type. The focal event type is usually char-event.[The focal event type is the type of event that the event is intended to respond to. The loop will also be able to react to other events, but this is the primary input it is waiting on.]
    An input-loop has a g-event called the handled event type. [The handled event type is the event type that the loop is currently handling, regardless of which is its focal type.]
    An input-loop has a g-window called the focal window. The focal window is usually the main-window. [The focal window is the window that the event loop anticipates an event being associated with. The loop will be able to respond to loop in other windows, but this lets us know that it is primarily looking for events in this window.]