Difference between revisions of "Myst HINT resources"

From A look inside The Link @ wiki
Jump to: navigation, search
(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||rc||class="comment|record count
+
|short||record_count
 +
|-
 +
|variable||records
 
|}
 
|}
*rc is wrong in:
+
 
**CHANNEL 78 231
+
The record structure is:
**MECHAN 109
+
 
**MYST 2 28 38 43 45 49 106 109 149 150 173 175 206 231
+
**SELEN 172
+
**STONE 10 12 18 59 89 91 106
+
records are
+
 
{| class="structure"
 
{| class="structure"
|short||rid||class="comment|record index
+
|short||record_index
 
|-
 
|-
|short||u1||
+
|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 ''rid'''s start at zero and go up, but there are exceptions.
+
 
**CHANNEL 78 144 231
+
The variable is the index of what to use in the table.
**DUNNY all minus 1 5 7 18 19
+
**MECHAN 109
+
**Myst 2 28 43 45 49 78 111 171 173 175 184 206 229 235
+
**STONE 10 12 18 59 89 91 106
+
*the ''u1'''s all appear to be one of 0, 2, 3, 200, 300, 400, 500, 600, 904, 905, 999, or FFFF (-1)
+

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.