diff options
author | Vladimir Menshakov | 2009-11-17 21:42:56 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-11-17 21:42:56 +0000 |
commit | 43f23ee523b05d77a61d4a0335edcc89d6ca1229 (patch) | |
tree | 6e763bcc7ccb02490ce5175ed6145953e372d5f8 /engines/teenagent/surface.h | |
parent | f2a704cb4f3e719cd4b08fc803fc5fe4a99a2fd7 (diff) | |
download | scummvm-rg350-43f23ee523b05d77a61d4a0335edcc89d6ca1229.tar.gz scummvm-rg350-43f23ee523b05d77a61d4a0335edcc89d6ca1229.tar.bz2 scummvm-rg350-43f23ee523b05d77a61d4a0335edcc89d6ca1229.zip |
added SurfaceList, ported overlay to it, fixed many z-order issues. (found meaning of the flags in overlay resources)
svn-id: r45960
Diffstat (limited to 'engines/teenagent/surface.h')
-rw-r--r-- | engines/teenagent/surface.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/teenagent/surface.h b/engines/teenagent/surface.h index 732e39073d..d740fc4007 100644 --- a/engines/teenagent/surface.h +++ b/engines/teenagent/surface.h @@ -22,8 +22,8 @@ * $Id$ */ -#ifndef TAGET_SURFACE_H -#define TAGET_SURFACE_H +#ifndef TEENAGENT_SURFACE_H +#define TEENAGENT_SURFACE_H #include "graphics/surface.h" #include "common/stream.h" @@ -33,14 +33,13 @@ namespace TeenAgent { class Pack; class Surface : public Graphics::Surface { public: - enum Type {kTypeOn, kTypeOns, kTypeLan}; + enum Type {kTypeOns, kTypeLan}; - uint16 flags[255]; uint16 x, y; Surface(); - void load(Common::SeekableReadStream *stream, Type type, int sub_hack = 0); - Common::Rect render(Graphics::Surface *surface, int dx = 0, int dy = 0, bool mirror = false, Common::Rect src_rect = Common::Rect()); + void load(Common::SeekableReadStream *stream, Type type); + Common::Rect render(Graphics::Surface *surface, int dx = 0, int dy = 0, bool mirror = false, Common::Rect src_rect = Common::Rect()) const; bool empty() const { return pixels == NULL; } }; |