aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint32.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-04 17:57:44 +0000
committerMartin Kiewitz2010-02-04 17:57:44 +0000
commit6664d26db791866d231e40da1da49a7c5a9ee2fc (patch)
tree0b8321d807d6f7a2b9d48ed4d5e4612669e5f259 /engines/sci/graphics/paint32.h
parent354543890044ae6ab0f9deb982ef6915b6b2de64 (diff)
downloadscummvm-rg350-6664d26db791866d231e40da1da49a7c5a9ee2fc.tar.gz
scummvm-rg350-6664d26db791866d231e40da1da49a7c5a9ee2fc.tar.bz2
scummvm-rg350-6664d26db791866d231e40da1da49a7c5a9ee2fc.zip
SCI: adding GfxPaint32 class, adding back support for planes, minor change in GfxPaint16 (using #def instead of fixed value)
svn-id: r47880
Diffstat (limited to 'engines/sci/graphics/paint32.h')
-rw-r--r--engines/sci/graphics/paint32.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint32.h b/engines/sci/graphics/paint32.h
new file mode 100644
index 0000000000..9bdcc8a61f
--- /dev/null
+++ b/engines/sci/graphics/paint32.h
@@ -0,0 +1,55 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+#ifndef SCI_GRAPHICS_PAINT16_H
+#define SCI_GRAPHICS_PAINT16_H
+
+#include "sci/graphics/gui.h"
+
+#include "common/hashmap.h"
+
+namespace Sci {
+
+class GfxPorts;
+
+class GfxPaint32 {
+public:
+ GfxPaint32(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, GfxCache *cache, GfxScreen *screen, GfxPalette *palette);
+ ~GfxPaint32();
+
+ void fillRect(Common::Rect rect, byte color);
+
+private:
+ ResourceManager *_resMan;
+ SegManager *_segMan;
+ Kernel *_kernel;
+ GfxCache *_cache;
+ GfxScreen *_screen;
+ GfxPalette *_palette;
+};
+
+} // End of namespace Sci
+
+#endif