diff options
author | Martin Kiewitz | 2010-02-04 19:22:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-02-04 19:22:40 +0000 |
commit | 3ce2e229786f1ce81935883ed934d14fbc3444f7 (patch) | |
tree | 599c1b816d48c2cad73cb5b4accb150de4c0e6cc /engines/sci/graphics/paint.h | |
parent | 5dc8f75b68a95e4c6f69921c29d773e902022708 (diff) | |
download | scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.tar.gz scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.tar.bz2 scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.zip |
SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive
svn-id: r47883
Diffstat (limited to 'engines/sci/graphics/paint.h')
-rw-r--r-- | engines/sci/graphics/paint.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint.h b/engines/sci/graphics/paint.h new file mode 100644 index 0000000000..1e4ad9fa8e --- /dev/null +++ b/engines/sci/graphics/paint.h @@ -0,0 +1,47 @@ +/* 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_PAINT_H +#define SCI_GRAPHICS_PAINT_H + +#include "sci/graphics/gui.h" + +#include "common/hashmap.h" + +namespace Sci { + +class GfxPaint { +public: + GfxPaint(); + virtual ~GfxPaint(); + + virtual void kernelDrawPicture(GuiResourceId pictureId, int16 animationNr, bool animationBlackoutFlag, bool mirroredFlag, bool addToFlag, int16 EGApaletteNo); + +private: +}; + +} // End of namespace Sci + +#endif |