Sly 1:VAULT: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
m (Layout)
(Updated to use Struct template)
Line 4: Line 4:


== Fields ==
== Fields ==
{{Struct|
{| class="wikitable"
{{Struct field|0x614||[[Sly 1:SMA|SMA]] *|psmaVault|SMA goal to set upon opening the vault.}}
!Offset
{{Struct field|0x640||int|nCombination|Vault combination (any three digit number)}}
!Type!!Name!!Description
{{Struct field|0x760||int|''Thief move mask''|Mask of bits to unlock on the powerup flags upon opening the vault}}
|-
{{Struct field|0x764||int|''Dialog index''|Index of which DIALOG to play upon opening{{Check}}}}
|0x614
{{Struct field|0x768||[[Sly 1:DIALOG|DIALOG]] * [27]|''Unlock dialogues''|Array of pointers to all possible DIALOGs that can play upon opening{{Check}}}}
|[[Sly 1:SMA|SMA]] *
{{Struct field|0x7d8||int|cpdialogPending|Amount of pending DIALOGs}}
|psmaVault
{{Struct field|0x7dc||DIALOG[{{check}}]|apdialogPending|Array of pending DIALOGs}}
|SMA goal to set upon opening the vault.
}}
|-
|0x640
|int
|nCombination
|Vault combination (any three digit number)
|-
|0x760
|int||''Thief move mask''||Mask of bits to unlock on the powerup flags upon opening the vault
|-
|0x764
|int||''Dialog index''||Index of which DIALOG to play upon opening{{Check}}
|-
|0x768
|[[Sly 1:DIALOG|DIALOG]] * [27]||''Unlock dialogues''||Array of pointers to all possible DIALOGs that can play upon opening{{Check}}
|-
|0x7d8
|int
|cpdialogPending
|Amount of pending DIALOGs
|-
|0x7dc
|DIALOG * *
|apdialogPending
|Array of pending DIALOGs
|}


{{Navbox Sly 1}}
{{Navbox Sly 1}}

Revision as of 18:59, 6 November 2022

VAULT
Data Structure
GameSly Cooper and the Thievius Raccoonus

VAULT is a struct in Sly Cooper and the Thievius Raccoonus. It is used in the functions OpenVault and UpdateVaultActive. One can be found in memory in each level that contains a vault.

Fields

Template:Struct