Sly 1:VAULT

From SlyMods
Jump to navigation Jump to search
VAULT
Data Structure
Click here to upload a new image.Dummy link
GameSly Cooper and the Thievius Raccoonus

VAULT is a struct in Sly Cooper and the Thievius Raccoonus that represents a combination vault in a level. It is used in the functions OpenVault and UpdateVaultActive, among others.

Fields

Offset Size Type Name Description
0x614 0x4
struct SMA*
psmaVault SMA goal to set upon opening the vault.
0x640 0x4
int
nCombination Vault combination (any three digit number)
0x760 0x4
int
thief move mask Bitmask to set on the powerup flags upon opening the vault
0x764 0x4
int
dialog index Index of which DIALOG to play upon opening[check]
0x768
struct DIALOG*[27]
all unlock dialogs Array of pointers to all possible DIALOGs that can play upon opening[check]
0x7d8 0x4
int
cpdialogPending Count of pending DIALOG pointers
0x7dc
DIALOG[?]
apdialogPending Array of pending DIALOG pointers