diff options
author | johndoe123 | 2011-06-30 10:08:47 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:30:57 +0200 |
commit | 0614b288cfc38180eddd90a41cf726718d823e13 (patch) | |
tree | 92b0ce2ba388da4c7bf9e3cd272538006fbfb86b /engines | |
parent | aded2a104b35320951fae30f6b6c4aa18887a4f5 (diff) | |
download | scummvm-rg350-0614b288cfc38180eddd90a41cf726718d823e13.tar.gz scummvm-rg350-0614b288cfc38180eddd90a41cf726718d823e13.tar.bz2 scummvm-rg350-0614b288cfc38180eddd90a41cf726718d823e13.zip |
NEVERHOOD: Add default parameters to StaticSprite constructors
Diffstat (limited to 'engines')
-rw-r--r-- | engines/neverhood/sprite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/sprite.h b/engines/neverhood/sprite.h index 5c08e3c66f..c2ed720fb0 100644 --- a/engines/neverhood/sprite.h +++ b/engines/neverhood/sprite.h @@ -76,8 +76,8 @@ protected: class StaticSprite : public Sprite { public: StaticSprite(NeverhoodEngine *vm, int objectPriority); - StaticSprite(NeverhoodEngine *vm, const char *filename, int surfacePriority, int16 x, int16 y, int16 width, int16 height); - StaticSprite(NeverhoodEngine *vm, uint32 fileHash, int surfacePriority, int16 x, int16 y, int16 width, int16 height); + StaticSprite(NeverhoodEngine *vm, const char *filename, int surfacePriority, int16 x = kDefPosition, int16 y = kDefPosition, int16 width = 0, int16 height = 0); + StaticSprite(NeverhoodEngine *vm, uint32 fileHash, int surfacePriority, int16 x = kDefPosition, int16 y = kDefPosition, int16 width = 0, int16 height = 0); void load(uint32 fileHash, bool dimensions, bool position); protected: SpriteResource _spriteResource; |