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

Public Member Functions

 SaveGameMenu (NeverhoodEngine *vm, Module *parentModule, SavegameList *savegameList)
 
- Public Member Functions inherited from Neverhood::GameStateMenu
 GameStateMenu (NeverhoodEngine *vm, Module *parentModule, SavegameList *savegameList, const uint32 *buttonFileHashes, const NRect *buttonCollisionBounds, uint32 backgroundFileHash, uint32 fontFileHash, uint32 mouseFileHash, const NRect *mouseRect, uint32 listBoxBackgroundFileHash, int16 listBoxX, int16 listBoxY, const NRect &listBoxRect, uint32 textEditBackgroundFileHash, uint32 textEditCursorFileHash, int16 textEditX, int16 textEditY, const NRect &textEditRect, uint32 textFileHash1, uint32 textFileHash2)
 
NPoint getMousePos ()
 
virtual void setCurrWidget (Widget *newWidget)
 
virtual WidgetgetCurrWidget ()
 
virtual void refreshDescriptionEdit ()
 
- 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 performAction () override
 
- Protected Member Functions inherited from Neverhood::GameStateMenu
uint32 handleMessage (int messageNum, const MessageParam &param, Entity *sender)
 
int scummVMSaveLoadDialog (bool isSave, Common::String &saveDesc)
 
- 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 ()
 

Additional Inherited Members

- Public Attributes inherited from Neverhood::Entity
Common::String _updateHandlerCbName
 
Common::String _messageHandlerCbName
 
- Protected Attributes inherited from Neverhood::GameStateMenu
Widget_currWidget
 
SavegameList_savegameList
 
Common::SharedPtr< FontSurface_fontSurface
 
SavegameListBox_listBox
 
TextEditWidget_textEditWidget
 
Common::String _savegameDescription
 
- 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
 

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