Difference between revisions of "Riven ZIPS resources"

From A look inside The Link @ wiki
Jump to: navigation, search
m (Protected "Riven ZIPS resources" [edit=autoconfirmed:move=autoconfirmed])
m (it is helpful to put at least one link to the CARD resource here)
Line 9: Line 9:
 
|}
 
|}
  
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.
+
Each record is linked to a [[CARD|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 22:40, 12 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.