Difference between revisions of "Myst HINT resources"

From A look inside The Link @ wiki
Jump to: navigation, search
(fully document the HINT resource)
m (index => ID)
 
Line 17: Line 17:
 
|}
 
|}
 
*''record_index'' starts at zero and goes up.
 
*''record_index'' starts at zero and goes up.
*''cursor'' represents a cursor index ([[WDIB]] + [[CLRC]]).
+
*''cursor'' represents a cursor resource ID ([[WDIB]] + [[CLRC]] combo).
  
  

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.