ScummVM API documentation
Voyeur::ThreadResource Class Reference

Public Member Functions

bool loadAStack (int stackId)
 
void unloadAStack (int stackId)
 
bool doState ()
 
 ThreadResource (BoltFilesState &state, const byte *src)
 
void initThreadStruct (int idx, int id)
 
bool goToState (int stackId, int stateId)
 
bool chooseSTAMPButton (int buttonId)
 
void parsePlayCommands ()
 
int doInterface ()
 
void doRoom ()
 
int doApt ()
 
void loadTheApt ()
 
void synchronize (Common::Serializer &s)
 

Static Public Member Functions

static void initUseCount ()
 
static void unloadAllStacks (VoyeurEngine *vm)
 
static void init ()
 

Public Attributes

int _stateId
 
int _stackId
 
int _savedStateId
 
int _savedStackId
 
int _newStateId
 
int _newStackId
 
int _stateFlags
 
int _stateCount
 
int _parseCount
 
uint32 _nextStateId
 
byte * _threadInfoPtr
 
byte _buttonFlags [64]
 
byte _buttonIds [64]
 
byte * _ctlPtr
 
byte * _playCommandsPtr
 

Static Public Attributes

static int _useCount [8]
 

Member Function Documentation

◆ loadAStack()

bool Voyeur::ThreadResource::loadAStack ( int  stackId)

Loads the specified stack

◆ unloadAStack()

void Voyeur::ThreadResource::unloadAStack ( int  stackId)

Unloads the specified stack

◆ doState()

bool Voyeur::ThreadResource::doState ( )

Initializes data for the thread based on the current state

◆ initThreadStruct()

void Voyeur::ThreadResource::initThreadStruct ( int  idx,
int  id 
)

Initialize the thread

◆ goToState()

bool Voyeur::ThreadResource::goToState ( int  stackId,
int  stateId 
)

Go to a new state and/or stack

◆ parsePlayCommands()

void Voyeur::ThreadResource::parsePlayCommands ( )

Parses the script commands from the currently active stack

◆ doInterface()

int Voyeur::ThreadResource::doInterface ( )

Do the camera view looking at the mansion

◆ doRoom()

void Voyeur::ThreadResource::doRoom ( )

Do the display of a room that has one or more evidence hotspots available for display

◆ doApt()

int Voyeur::ThreadResource::doApt ( )

Shows the apartment screen

◆ loadTheApt()

void Voyeur::ThreadResource::loadTheApt ( )

Loads data needed for displaying the initial apartment screen

◆ synchronize()

void Voyeur::ThreadResource::synchronize ( Common::Serializer s)

Synchronizes the game data


The documentation for this class was generated from the following file: