diff options
author | Strangerke | 2013-09-25 07:18:08 +0200 |
---|---|---|
committer | Strangerke | 2013-09-25 07:18:08 +0200 |
commit | 929dcd42f5a3dfb233df545ee6434a71511e5174 (patch) | |
tree | e29003e8923f625835ed6d17c6fa5f53697de744 /engines/avalanche/background.h | |
parent | b4a81fc2ac46484f9111eccb099562c3cfa5fc0f (diff) | |
download | scummvm-rg350-929dcd42f5a3dfb233df545ee6434a71511e5174.tar.gz scummvm-rg350-929dcd42f5a3dfb233df545ee6434a71511e5174.tar.bz2 scummvm-rg350-929dcd42f5a3dfb233df545ee6434a71511e5174.zip |
AVALANCHE: Reduce verbosity in Background, remove a useless variable
Diffstat (limited to 'engines/avalanche/background.h')
-rw-r--r-- | engines/avalanche/background.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/avalanche/background.h b/engines/avalanche/background.h index d38106d38f..8d88cb36a4 100644 --- a/engines/avalanche/background.h +++ b/engines/avalanche/background.h @@ -44,14 +44,14 @@ public: Background(AvalancheEngine *vm); ~Background(); - void updateBackgroundSprites(); - void loadBackgroundSprites(byte number); - void forgetBackgroundSprites(); + void update(); + void load(byte number); + void release(); // Setting the destination to negative coordinates means the picture should be drawn to it's original position. // If you give it positive values, the picture will be plotted to the desired coordinates on the screen. // By that we get rid of show_one_at(), which would be almost identical and cause a lot of code duplication. - void drawBackgroundSprite(int16 destX, int16 destY, byte sprId); + void draw(int16 destX, int16 destY, byte sprId); private: enum PictureType {kEga, kBgi, kNaturalImage}; |