Difference between revisions of "Riven ZIPS resources"

From A look inside The Link @ wiki
Jump to: navigation, search
(import)
 
m (fixes)
Line 1: Line 1:
Found again only in saved games, this contains a list of visited locations to support the "Zip Mode". It starts with an unsigned short telling how many records will follow. Then, each record contains the following data:
+
Found only in saved games, this resource contains a list of visited locations to support the "Zip Mode". It starts with an unsigned short telling how many records will follow. Then, each record contains the following data:
  
 
{| class="structure"
 
{| class="structure"
Line 9: Line 9:
 
|}
 
|}
  
As one can easily imagine, each record is linked to a card: ''card_id'' tells its ID, and name is equal to the [[Riven CARD resources|CARD]] name. Zip Mode hotspots have the same name too, so when they are clicked, the target card ID can be known by looking up in the ZIPS. If the user already visited that card, the record will be there.
+
Each record is linked to a card: ''card_id'' tells its ID, and ''name'' is equal to the card name. Zip Mode hotspots share the same name, so when they are clicked the target card ID can be known by looking up in the ZIPS. If the user already visited that card, the record will be there and the hotspot will be able to go to that card.

Revision as of 20:38, 9 February 2008

Found only in saved games, this resource contains a list of visited locations to support the "Zip Mode". It starts with an unsigned short telling how many records will follow. Then, each record contains the following data:

unsigned short name_len
char name[name_len]
unsigned short card_id

Each record is linked to a card: card_id tells its ID, and name is equal to the card name. Zip Mode hotspots share the same name, so when they are clicked the target card ID can be known by looking up in the ZIPS. If the user already visited that card, the record will be there and the hotspot will be able to go to that card.