menusys.tfile | source file |
Classes Summary | Objects Summary | Functions Summary Details |
Modifications copyright 2003, 2006 Michael J. Roberts
This module is designed to make it easy to add on-screen menus to a game. Stephen Granade adapted this module from his TADS 2 menu system, and Mike Roberts made some minor cosmetic changes to integrate it with the main TADS 3 library.
N.B. in plain-text mode (for interpreters without banner capabilities), a menu won't be fully usable if it exceeds 9 subitems: each item in a menu is numbered, and the user selects an item by entering its number; but we only accept a single digit as input, so only items 1 through 9 can be selected on any given menu. Good usability design usually dictates that menus shouldn't be so large anyway, so most menus will naturally avoid this problem, but this is something to keep in mind.
(none)
(none)
MenuItem
MenuLongTopicItem
MenuObject
MenuTopicItem
MenuTopicSubItem
contentsMenuBanner
longTopicBanner
topMenuBanner
Generated on 9/15/2006 from TADS version 3.0.12