ScummVM API documentation
Illusions::BbdouSpecialCode Class Reference
Inheritance diagram for Illusions::BbdouSpecialCode:
Illusions::SpecialCode

Public Types

typedef Common::HashMap< uint32, SpecialCodeFunction * > Map
 
typedef Map::iterator MapIterator
 

Public Member Functions

 BbdouSpecialCode (IllusionsEngine_BBDOU *vm)
 
void init () override
 
void run (uint32 specialCodeId, OpCall &opCall) override
 
void resetBeforeResumeSavegame () override
 
void spcInitCursor (OpCall &opCall)
 
void spcEnableCursor (OpCall &opCall)
 
void spcDisableCursor (OpCall &opCall)
 
void spcAddCursorSequence (OpCall &opCall)
 
void spcCursorStartHoldingObjectId (OpCall &opCall)
 
void spcCursorStopHoldingObjectId (OpCall &opCall)
 
void spcSetCursorState (OpCall &opCall)
 
void spcInitBubble (OpCall &opCall)
 
void spcSetupBubble (OpCall &opCall)
 
void spcSetObjectInteractMode (OpCall &opCall)
 
void spcInitInventory (OpCall &opCall)
 
void spcClearInventory (OpCall &opCall)
 
void spcRegisterInventoryBag (OpCall &opCall)
 
void spcRegisterInventorySlot (OpCall &opCall)
 
void spcRegisterInventoryItem (OpCall &opCall)
 
void spcOpenInventory (OpCall &opCall)
 
void spcAddInventoryItem (OpCall &opCall)
 
void spcRemoveInventoryItem (OpCall &opCall)
 
void spcHasInventoryItem (OpCall &opCall)
 
void spcCloseInventory (OpCall &opCall)
 
void spcInitConversation (OpCall &opCall)
 
void spcClearConversation (OpCall &opCall)
 
void spcClearBlockCounter (OpCall &opCall)
 
void spcResetCursor (OpCall &opCall)
 
void spcSetCursorField90 (OpCall &opCall)
 
void spcFoodCtl (OpCall &opCall)
 
void spcTestFoodCtl (OpCall &opCall)
 
void spcInitMenu (OpCall &opCall)
 
void spcIsCursorHoldingObjectId (OpCall &opCall)
 
void spcInitRadarMicrophone (OpCall &opCall)
 
void spcCreditsCtl (OpCall &opCall)
 
void spcSaladCtl (OpCall &opCall)
 
void spcRunCause (OpCall &opCall)
 
void playSoundEffect (int soundIndex)
 
void hideVerbBubble (uint32 objectId, VerbState *verbState)
 
void startHoldingObjectId (uint32 objectId1, uint32 holdingObjectId, bool doPlaySound)
 
void stopHoldingObjectId (uint32 objectId1, bool doPlaySound)
 
bool isHoldingObjectId (uint32 objectId)
 

Public Attributes

IllusionsEngine_BBDOU_vm
 
Map _map
 
BbdouCursor_cursor
 
BbdouBubble_bubble
 
BbdouInventory_inventory
 
BbdouCredits_credits
 
uint _saladCount
 
uint32 _saladObjectIds [12]
 
ShooterStatus _shooterStatus [2]
 
uint _shooterObjectIdIndex
 
BbdouFoodCtl_foodCtl
 
ObjectInteractModeMap _objectInteractModeMap
 

Protected Member Functions

bool testInteractModeRange (int value)
 
void setCursorControlRoutine (uint32 objectId, int num)
 
Common::Point getBackgroundCursorPos (Common::Point cursorPos)
 
void showBubble (uint32 objectId, uint32 overlappedObjectId, uint32 holdingObjectId, VerbState *verbState, uint32 progResKeywordId)
 
bool findVerbId (VerbState *verbState, uint32 currOverlappedObjectId, int always0, uint32 &outVerbId)
 
void cursorInteractControlRoutine (Control *cursorControl, uint32 deltaTime)
 
void cursorCrosshairControlRoutine (Control *cursorControl, uint32 deltaTime)
 
bool testVerbId (uint32 verbId, uint32 holdingObjectId, uint32 overlappedObjectId)
 
bool getCause (uint32 sceneId, uint32 verbId, uint32 objectId2, uint32 objectId, uint32 &outVerbId, uint32 &outObjectId2, uint32 &outObjectId)
 
bool runCause (Control *cursorControl, CursorData &cursorData, uint32 verbId, uint32 objectId2, uint32 objectId, int soundIndex)
 
uint32 startCauseThread (uint32 cursorObjectId, uint32 sceneId, uint32 verbId, uint32 objectId2, uint32 objectId)
 
void initSalad ()
 
void addSalad (uint32 sequenceId)
 
bool getShooterCause (uint32 sceneId, uint32 verbId, uint32 objectId2, uint32 objectId, uint32 &outSceneId, uint32 &outVerbId, uint32 &outObjectId2, uint32 &outObjectId)
 

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