ScummVM API documentation
Neverhood::Scene1201 Class Reference
Inheritance diagram for Neverhood::Scene1201:
Neverhood::Scene Neverhood::Entity

Public Member Functions

 Scene1201 (NeverhoodEngine *vm, Module *parentModule, int which)
 
- Public Member Functions inherited from Neverhood::Scene
 Scene (NeverhoodEngine *vm, Module *parentModule)
 
void draw () override
 
void addEntity (Entity *entity)
 
bool removeEntity (Entity *entity)
 
void addSurface (const Common::SharedPtr< BaseSurface > &surface)
 
bool removeSurface (const Common::SharedPtr< BaseSurface > &surface)
 
void printSurfaces (Console *con)
 
SpriteaddSprite (Sprite *sprite)
 
void removeSprite (Sprite *sprite)
 
void setSurfacePriority (const Common::SharedPtr< BaseSurface > &surface, int priority)
 
void setSpriteSurfacePriority (Sprite *sprite, int priority)
 
void deleteSprite (Sprite **sprite)
 
BackgroundaddBackground (Background *background)
 
void setBackground (uint32 fileHash)
 
void changeBackground (uint32 fileHash)
 
void setBackgroundY (int16 y)
 
int16 getBackgroundY ()
 
void setPalette (uint32 fileHash=0)
 
void setHitRects (uint32 id)
 
SpriteinsertStaticSprite (uint32 fileHash, int surfacePriority)
 
void insertScreenMouse (uint32 fileHash, const NRect *mouseRect=NULL)
 
void insertPuzzleMouse (uint32 fileHash, int16 x1, int16 x2)
 
void insertNavigationMouse (uint32 fileHash, int type)
 
void showMouse (bool visible)
 
void changeMouseCursor (uint32 fileHash)
 
SmackerPlayeraddSmackerPlayer (SmackerPlayer *smackerPlayer)
 
void update ()
 
void leaveScene (uint32 result)
 
HitRectfindHitRectAtPos (int16 x, int16 y)
 
void addCollisionSprite (Sprite *sprite)
 
void removeCollisionSprite (Sprite *sprite)
 
void checkCollision (Sprite *sprite, uint16 flags, int messageNum, uint32 messageParam)
 
template<class T >
void insertKlaymen ()
 
template<class T , class Arg1 >
void insertKlaymen (Arg1 arg1)
 
template<class T , class Arg1 , class Arg2 >
void insertKlaymen (Arg1 arg1, Arg2 arg2)
 
template<class T , class Arg1 , class Arg2 , class Arg3 >
void insertKlaymen (Arg1 arg1, Arg2 arg2, Arg3 arg3)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
void insertKlaymen (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
void insertKlaymen (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
void insertKlaymen (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
 
template<class T >
T * insertSprite ()
 
template<class T , class Arg1 >
T * insertSprite (Arg1 arg1)
 
template<class T , class Arg1 , class Arg2 >
T * insertSprite (Arg1 arg1, Arg2 arg2)
 
template<class T , class Arg1 , class Arg2 , class Arg3 >
T * insertSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
T * insertSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
T * insertSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
T * insertSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
 
template<class T >
T * createSprite ()
 
template<class T , class Arg1 >
T * createSprite (Arg1 arg1)
 
template<class T , class Arg1 , class Arg2 >
T * createSprite (Arg1 arg1, Arg2 arg2)
 
template<class T , class Arg1 , class Arg2 , class Arg3 >
T * createSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
T * createSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
T * createSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 
template<class T , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 >
T * createSprite (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
 
uint32 getBackgroundFileHash () const
 
uint32 getCursorFileHash () const
 
- Public Member Functions inherited from Neverhood::Entity
 Entity (NeverhoodEngine *vm, int priority)
 
void handleUpdate ()
 
uint32 receiveMessage (int messageNum, const MessageParam &param, Entity *sender)
 
uint32 sendMessage (Entity *receiver, int messageNum, const MessageParam &param)
 
uint32 sendMessage (Entity *receiver, int messageNum, uint32 param)
 
uint32 sendPointMessage (Entity *receiver, int messageNum, const NPoint &param)
 
uint32 sendEntityMessage (Entity *receiver, int messageNum, Entity *param)
 
uint32 getGlobalVar (uint32 nameHash)
 
void setGlobalVar (uint32 nameHash, uint32 value)
 
uint32 getSubVar (uint32 nameHash, uint32 subNameHash)
 
void setSubVar (uint32 nameHash, uint32 subNameHash, uint32 value)
 
void incGlobalVar (uint32 nameHash, int incrValue)
 
void incSubVar (uint32 nameHash, uint32 subNameHash, int incrValue)
 
int getPriority () const
 
bool hasMessageHandler () const
 

Protected Member Functions

void update ()
 
uint32 handleMessage (int messageNum, const MessageParam &param, Entity *sender)
 
- Protected Member Functions inherited from Neverhood::Scene
uint32 handleMessage (int messageNum, const MessageParam &param, Entity *sender)
 
bool queryPositionSprite (int16 mouseX, int16 mouseY)
 
bool queryPositionRectList (int16 mouseX, int16 mouseY)
 
void setMessageList (uint32 id, bool canAcceptInput=true, bool doConvertMessages=false)
 
void setMessageList (MessageList *messageList, bool canAcceptInput=true, bool doConvertMessages=false)
 
bool setMessageList2 (uint32 id, bool canAcceptInput=true, bool doConvertMessages=false)
 
bool setMessageList2 (MessageList *messageList, bool canAcceptInput=true, bool doConvertMessages=false)
 
bool isMessageList2 (uint32 id)
 
void processMessageList ()
 
void setRectList (uint32 id)
 
void setRectList (RectList *rectList)
 
void clearRectList ()
 
void loadHitRectList ()
 
void cancelMessageList ()
 
void loadDataResource (uint32 fileHash)
 
uint16 convertMessageNum (uint32 messageNum)
 
void setHitRects (HitRectList *hitRects)
 
void clearHitRects ()
 
void clearCollisionSprites ()
 
void insertMouse (Mouse *mouseCursor)
 
- Protected Member Functions inherited from Neverhood::Entity
SoundResourcegetSoundResource (uint index)
 
void loadSound (uint index, uint32 fileHash)
 
void playSound (uint index, uint32 fileHash=0)
 
void stopSound (uint index)
 
bool isSoundPlaying (uint index)
 
void setSoundVolume (uint index, int volume)
 
void setSoundPan (uint index, int pan)
 
void deleteSoundResources ()
 

Protected Attributes

Sprite_asMatch
 
AsScene1201TntMan_asTntMan
 
Sprite_asCreature
 
Sprite_asTntManRope
 
Sprite_asLeftDoor
 
Sprite_asRightDoor
 
Sprite_asTape
 
Sprite_asKlaymenHead
 
bool _creatureExploded
 
- Protected Attributes inherited from Neverhood::Scene
Module_parentModule
 
Common::Array< Entity * > _entities
 
Common::Array< Common::SharedPtr< BaseSurface > > _surfaces
 
Klaymen_klaymen
 
Background_background
 
Palette_palette
 
SmackerPlayer_smackerPlayer
 
MessageList_messageList
 
MessageList_messageList2
 
int _messageListStatus
 
uint _messageListCount
 
uint _messageListIndex
 
bool _doConvertMessages
 
bool _canAcceptInput
 
bool _isKlaymenBusy
 
bool _isMessageListBusy
 
Mouse_mouseCursor
 
NPoint _mouseClickPos
 
bool _mouseClicked
 
bool _mouseCursorWasVisible
 
int _rectType
 
RectList_rectList
 
DataResource _dataResource
 
HitRectList _hitRectList
 
HitRectList_hitRects
 
Common::Array< Sprite * > _collisionSprites
 
uint32 _backgroundFileHash
 
uint32 _cursorFileHash
 
int _messageValue
 
- Protected Attributes inherited from Neverhood::Entity
void(Entity::* _updateHandlerCb )()
 
uint32(Entity::* _messageHandlerCb )(int messageNum, const MessageParam &param, Entity *sender)
 
NeverhoodEngine_vm
 
int _priority
 
SoundResource ** _soundResources
 

Additional Inherited Members

- Public Attributes inherited from Neverhood::Entity
Common::String _updateHandlerCbName
 
Common::String _messageHandlerCbName
 

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