aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/background.h
diff options
context:
space:
mode:
authorStrangerke2013-09-29 17:54:03 +0200
committerStrangerke2013-09-29 17:54:03 +0200
commitde12f46db5d636c005118db2743bbb7b8a8e6287 (patch)
tree480a2e6a47f50b9c8e1e436c419f8cb0327a270b /engines/avalanche/background.h
parent063bc8d8c95e74732e1b78f2dc62f36b43e03fc1 (diff)
downloadscummvm-rg350-de12f46db5d636c005118db2743bbb7b8a8e6287.tar.gz
scummvm-rg350-de12f46db5d636c005118db2743bbb7b8a8e6287.tar.bz2
scummvm-rg350-de12f46db5d636c005118db2743bbb7b8a8e6287.zip
AVALANCHE: Rename Graphics to avoid confusion, add drawBackgroundSprite(), set _background private
Diffstat (limited to 'engines/avalanche/background.h')
-rw-r--r--engines/avalanche/background.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/avalanche/background.h b/engines/avalanche/background.h
index 8d88cb36a4..1ce70e858c 100644
--- a/engines/avalanche/background.h
+++ b/engines/avalanche/background.h
@@ -39,6 +39,16 @@
namespace Avalanche {
class AvalancheEngine;
+enum PictureType {kEga, kBgi, kNaturalImage};
+
+struct SpriteType {
+ PictureType _type;
+ int16 _x, _y;
+ int16 _xl, _yl;
+ int32 _size;
+ Graphics::Surface _picture;
+};
+
class Background {
public:
Background(AvalancheEngine *vm);
@@ -54,16 +64,6 @@ public:
void draw(int16 destX, int16 destY, byte sprId);
private:
- enum PictureType {kEga, kBgi, kNaturalImage};
-
- struct SpriteType {
- PictureType _type;
- int16 _x, _y;
- int16 _xl, _yl;
- int32 _size;
- ::Graphics::Surface _picture;
- };
-
AvalancheEngine *_vm;
int32 _offsets[40];