Difference between revisions of "Myst HINT resources"
From A look inside The Link @ wiki
(restyle) |
m (index => ID) |
||
(2 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||record_count | |short||record_count | ||
+ | |- | ||
+ | |variable||records | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | The record structure is | + | The record structure is: |
+ | |||
{| class="structure" | {| class="structure" | ||
|short||record_index | |short||record_index | ||
|- | |- | ||
− | |short|| | + | |short||cursor |
|} | |} | ||
− | ''record_index'' starts at zero and goes up | + | *''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 16: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.