aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-04 19:22:40 +0000
committerMartin Kiewitz2010-02-04 19:22:40 +0000
commit3ce2e229786f1ce81935883ed934d14fbc3444f7 (patch)
tree599c1b816d48c2cad73cb5b4accb150de4c0e6cc /engines/sci/graphics/paint.cpp
parent5dc8f75b68a95e4c6f69921c29d773e902022708 (diff)
downloadscummvm-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.cpp')
-rw-r--r--engines/sci/graphics/paint.cpp46
1 files changed, 46 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint.cpp b/engines/sci/graphics/paint.cpp
new file mode 100644
index 0000000000..40b3ad429a
--- /dev/null
+++ b/engines/sci/graphics/paint.cpp
@@ -0,0 +1,46 @@
+/* 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$
+ *
+ */
+
+#include "common/util.h"
+#include "common/stack.h"
+#include "graphics/primitives.h"
+
+#include "sci/sci.h"
+#include "sci/engine/state.h"
+#include "sci/engine/selector.h"
+#include "sci/graphics/paint.h"
+
+namespace Sci {
+
+GfxPaint::GfxPaint() {
+}
+
+GfxPaint::~GfxPaint() {
+}
+
+void GfxPaint::kernelDrawPicture(GuiResourceId pictureId, int16 animationNr, bool animationBlackoutFlag, bool mirroredFlag, bool addToFlag, int16 EGApaletteNo) {
+}
+
+} // End of namespace Sci