From 6664d26db791866d231e40da1da49a7c5a9ee2fc Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 4 Feb 2010 17:57:44 +0000 Subject: SCI: adding GfxPaint32 class, adding back support for planes, minor change in GfxPaint16 (using #def instead of fixed value) svn-id: r47880 --- engines/sci/graphics/paint32.h | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 engines/sci/graphics/paint32.h (limited to 'engines/sci/graphics/paint32.h') 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 -- cgit v1.2.3