Difference between revisions of "Myst HINT resources"
From A look inside The Link @ wiki
(moved HINT to its own page) |
m (index => ID) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Myst}} | {{Myst}} | ||
| + | |||
| + | This is a list of how hotspots in RLST match to cursors. "Hints" as to what cursor to use. | ||
{| class="structure" | {| class="structure" | ||
| − | |short|| | + | |short||record_count |
| + | |- | ||
| + | |variable||records | ||
|} | |} | ||
| − | + | ||
| − | + | The record structure is: | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
{| class="structure" | {| class="structure" | ||
| − | |short|| | + | |short||record_index |
|- | |- | ||
| − | |short|| | + | |short||cursor |
| + | |} | ||
| + | *''record_index'' starts at zero and goes up. | ||
| + | *''cursor'' represents a cursor resource ID ([[WDIB]] + [[CLRC]] combo). | ||
| + | |||
| + | |||
| + | If ''cursor'' is -1, however, it is like a switch statement, and follows this structure: | ||
| + | |||
| + | {| class="structure" | ||
| + | |short||var | ||
| + | |- | ||
| + | |short||num_states | ||
| + | |} | ||
| + | |||
| + | *''var'' is the variable checked against. | ||
| + | *''num_states'' is the number of cursor indices following it. | ||
| + | |||
| + | Following ''num_states'' is: | ||
| + | |||
| + | {| class="structure" | ||
| + | |short||cursor | ||
|} | |} | ||
| − | + | ||
| − | + | The variable is the index of what to use in the table. | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 17:57, 4 September 2008
| Myst | |||
| Mohawk | Overview | ||
| CLRC | EXIT | HINT | INIT |
| MJMP | MSND | PICT | RLST |
| VIEW | WDIB | HELP | RSFL |
| Scripts | Variables | ||
This is a list of how hotspots in RLST match to cursors. "Hints" as to what cursor to use.
| short | record_count |
| variable | records |
The record structure is:
| short | record_index |
| short | cursor |
- record_index starts at zero and goes up.
- cursor represents a cursor resource ID (WDIB + CLRC combo).
If cursor is -1, however, it is like a switch statement, and follows this structure:
| short | var |
| short | num_states |
- var is the variable checked against.
- num_states is the number of cursor indices following it.
Following num_states is:
| short | cursor |
The variable is the index of what to use in the table.