From 929dcd42f5a3dfb233df545ee6434a71511e5174 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 25 Sep 2013 07:18:08 +0200 Subject: AVALANCHE: Reduce verbosity in Background, remove a useless variable --- engines/avalanche/background.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/avalanche/background.h') 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}; -- cgit v1.2.3