|
| TextEditWidget (NeverhoodEngine *vm, int16 x, int16 y, GameStateMenu *parentScene, int maxStringLength, const Common::SharedPtr< FontSurface > &fontSurface, uint32 fileHash, const NRect &rect) |
|
void | onClick () override |
|
void | initialize () override |
|
void | enterWidget () override |
|
void | exitWidget () override |
|
void | setCursor (uint32 cursorFileHash, int16 cursorWidth, int16 cursorHeight) |
|
void | drawCursor () |
|
void | updateString () |
|
Common::String & | getString () |
|
void | setString (const Common::String &string) |
|
void | handleAsciiKey (char ch) |
|
void | handleKeyDown (Common::KeyCode keyCode) |
|
void | refresh () |
|
void | setReadOnly (bool value) |
|
bool | isReadOnly () const |
|
bool | isModified () const |
|
| Widget (NeverhoodEngine *vm, int16 x, int16 y, GameStateMenu *parentScene, int baseObjectPriority, int baseSurfacePriority) |
|
virtual void | setPosition (int16 x, int16 y) |
|
virtual void | refreshPosition () |
|
virtual int16 | getWidth () |
|
virtual int16 | getHeight () |
|
| StaticSprite (NeverhoodEngine *vm, int objectPriority) |
|
| StaticSprite (NeverhoodEngine *vm, uint32 fileHash, int surfacePriority, int16 x=kDefPosition, int16 y=kDefPosition) |
|
void | loadSprite (uint32 fileHash, uint flags=0, int surfacePriority=0, int16 x=kDefPosition, int16 y=kDefPosition) |
|
void | updatePosition () |
|
| Sprite (NeverhoodEngine *vm, int objectPriority) |
|
void | init () |
|
Common::SharedPtr< BaseSurface > | getSurface () |
|
virtual Common::SharedPtr< BaseSurface > | getSubtitleSurface () |
|
void | updateBounds () |
|
void | setDoDeltaX (int type) |
|
void | setDoDeltaY (int type) |
|
bool | isPointInside (int16 x, int16 y) |
|
bool | checkCollision (NRect &rect) |
|
int16 | getX () const |
|
int16 | getY () const |
|
void | setX (int16 value) |
|
void | setY (int16 value) |
|
uint16 | getFlags () const |
|
bool | isDoDeltaX () const |
|
bool | isDoDeltaY () const |
|
NRect & | getCollisionBounds () |
|
uint32 | handleMessage (int messageNum, const MessageParam ¶m, Entity *sender) |
|
void | loadDataResource (uint32 fileHash) |
|
int16 | defFilterY (int16 y) |
|
bool | getVisible () const |
|
void | setVisible (bool value) |
|
NDrawRect & | getDrawRect () |
|
NRect & | getClipRect () |
|
void | setClipRect (int16 x1, int16 y1, int16 x2, int16 y2) |
|
void | setClipRect (NRect &clipRect) |
|
void | setClipRect (NDrawRect &drawRect) |
|
| Entity (NeverhoodEngine *vm, int priority) |
|
virtual void | draw () |
|
void | handleUpdate () |
|
uint32 | receiveMessage (int messageNum, const MessageParam ¶m, Entity *sender) |
|
uint32 | sendMessage (Entity *receiver, int messageNum, const MessageParam ¶m) |
|
uint32 | sendMessage (Entity *receiver, int messageNum, uint32 param) |
|
uint32 | sendPointMessage (Entity *receiver, int messageNum, const NPoint ¶m) |
|
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 |
|
|
void | update () |
|
uint32 | handleMessage (int messageNum, const MessageParam ¶m, Entity *sender) |
|
void | update () |
|
uint32 | handleMessage (int messageNum, const MessageParam ¶m, Entity *sender) |
|
void | createSurface (int surfacePriority, int16 width, int16 height) |
|
void | handleSpriteUpdate () |
|
int16 | filterX (int16 x) |
|
int16 | filterY (int16 y) |
|
SoundResource * | getSoundResource (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 () |
|