aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/graphics.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-12 22:23:57 +1100
committerStrangerke2012-04-06 08:19:36 +0200
commite183f9f055c121d745a130d84dea0fa84a58fc66 (patch)
tree1b36bbce5885131e5a081db817aa440297fb8205 /engines/mortevielle/graphics.h
parent41ddc9958ae4d1256f392b9e92fff241566ab930 (diff)
downloadscummvm-rg350-e183f9f055c121d745a130d84dea0fa84a58fc66.tar.gz
scummvm-rg350-e183f9f055c121d745a130d84dea0fa84a58fc66.tar.bz2
scummvm-rg350-e183f9f055c121d745a130d84dea0fa84a58fc66.zip
MORTEVIELLE: Beginnings of code for picture decoding
Diffstat (limited to 'engines/mortevielle/graphics.h')
-rw-r--r--engines/mortevielle/graphics.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/engines/mortevielle/graphics.h b/engines/mortevielle/graphics.h
new file mode 100644
index 0000000000..d3f64a01fe
--- /dev/null
+++ b/engines/mortevielle/graphics.h
@@ -0,0 +1,54 @@
+/* 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.
+ *
+ */
+
+#ifndef MORTEVIELLE_GRAPHICS_H
+#define MORTEVIELLE_GRAPHICS_H
+
+#include "graphics/surface.h"
+#include "mortevielle/mortevielle.h"
+
+namespace Mortevielle {
+
+class GfxSurface: public Graphics::Surface {
+private:
+ int _var1;
+ int _entryCount;
+ int _var4, _var6;
+ int _xp, _yp;
+ int _varC, _xSize, _ySize, _var12;
+ int _var14, _var15, _var18, _var1A;
+ int _var1C, _var1E, _var20, _var22;
+ int _var24, _var26, _var28;
+ int _width, _height;
+ int _xOffset, _yOffset;
+
+ void majTtxTty();
+ byte suiv(const byte *&pSrc);
+ int desanalyse(const byte *&pSrc);
+ void horizontal(const byte *&pSrc, byte *&pDest);
+public:
+ void decode(const byte *pSrc);
+};
+
+} // End of namespace Mortevielle
+
+#endif