aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/staticres.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-01-14 21:29:12 +0000
committerEugene Sandulenko2007-01-14 21:29:12 +0000
commite5c7ce83b8c7bb5f7d64c53fa8dcc378f667e902 (patch)
treeb9fa4e43e98a703bb60ef9a375c39d3579f610fd /engines/parallaction/staticres.cpp
parent549f818e3195136ee3fbd7cd7e474f5932deb529 (diff)
downloadscummvm-rg350-e5c7ce83b8c7bb5f7d64c53fa8dcc378f667e902.tar.gz
scummvm-rg350-e5c7ce83b8c7bb5f7d64c53fa8dcc378f667e902.tar.bz2
scummvm-rg350-e5c7ce83b8c7bb5f7d64c53fa8dcc378f667e902.zip
Initial import of Parallaction engine
svn-id: r25083
Diffstat (limited to 'engines/parallaction/staticres.cpp')
-rw-r--r--engines/parallaction/staticres.cpp244
1 files changed, 244 insertions, 0 deletions
diff --git a/engines/parallaction/staticres.cpp b/engines/parallaction/staticres.cpp
new file mode 100644
index 0000000000..3a8a6f73d5
--- /dev/null
+++ b/engines/parallaction/staticres.cpp
@@ -0,0 +1,244 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2006 The ScummVM project
+ *
+ * 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 "parallaction/graphics.h"
+
+namespace Parallaction {
+
+byte Graphics::_mouseArrow[256] = {
+ 0x12, 0x11, 0x11, 0x11, 0x13, 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x11, 0x13, 0x12, 0x12, 0x00,
+ 0x13, 0x12, 0x12, 0x11, 0x13, 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x12,
+ 0x13, 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x13, 0x13, 0x13, 0x12, 0x00,
+ 0x13, 0x00, 0x12, 0x00, 0x13, 0x00, 0x12, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x11, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x11, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00,
+ 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x11, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12,
+ 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00,
+ 0x13, 0x13, 0x12, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x11, 0x11, 0x11, 0x11, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00,
+ 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x11, 0x12, 0x12, 0x12, 0x12,
+ 0x12, 0x12, 0x12, 0x13, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x13, 0x12, 0x12, 0x00,
+ 0x00, 0x12, 0x13, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x11, 0x11, 0x11, 0x00, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x11, 0x00,
+ 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x11,
+ 0x12, 0x12, 0x12, 0x00, 0x12, 0x12, 0x12, 0x00, 0x13, 0x12, 0x12, 0x00, 0x00, 0x12, 0x13, 0x00,
+ 0x00, 0x12, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+};
+
+
+//
+// proportional font glyphs width
+//
+byte _glyphWidths[126] = {
+ 0x04, 0x03, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x04, 0x04, 0x06, 0x06, 0x03, 0x05, 0x03, 0x05,
+ 0x06, 0x06, 0x06, 0x06, 0x07, 0x06, 0x06, 0x06, 0x06, 0x06, 0x03, 0x03, 0x05, 0x04, 0x05, 0x05,
+ 0x03, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x03, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
+ 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x08, 0x07, 0x07, 0x07, 0x05, 0x06, 0x05, 0x08, 0x07,
+ 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x03, 0x04, 0x05, 0x05, 0x06, 0x06, 0x05,
+ 0x05, 0x06, 0x05, 0x05, 0x05, 0x05, 0x06, 0x07, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x07,
+ 0x08, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x04, 0x04, 0x04,
+ 0x05, 0x06, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x04, 0x06, 0x05, 0x05, 0x05, 0x05
+};
+
+char *_zoneFlagNames[] = {
+ "closed",
+ "active",
+ "remove",
+ "acting",
+ "locked",
+ "fixed",
+ "noname",
+ "nomasked",
+ "looping",
+ "added",
+ "character",
+ "nowalk",
+ 0
+};
+char *_zoneTypeNames[] = {
+ "examine",
+ "door",
+ "get",
+ "merge",
+ "taste",
+ "hear",
+ "feel",
+ "speak",
+ "none",
+ "trap",
+ "yourself",
+ "Command",
+ 0
+};
+
+const char _gameNames[10][20] = {
+ "GAME1",
+ "GAME2",
+ "GAME3",
+ "GAME4",
+ "GAME5",
+ "GAME6",
+ "GAME7",
+ "GAME8",
+ "GAME9",
+ "GAME10"
+};
+
+char *commands_names[] = {
+ "set",
+ "clear",
+ "start",
+ "speak",
+ "get",
+ "location",
+ "open",
+ "close",
+ "on",
+ "off",
+ "call",
+ "toggle",
+ "drop",
+ "quit",
+ "move",
+ "stop",
+ 0
+};
+
+char *_instructionNames[] = {
+ "on",
+ "off",
+ "x",
+ "y",
+ "z",
+ "f",
+ "loop",
+ "endloop",
+ "show",
+ "inc",
+ "dec",
+ "set",
+ "put",
+ "call",
+ "wait",
+ "start",
+ "sound",
+ "move",
+ 0
+};
+
+char *_callableNames[] = {
+ "HBOff",
+ "Projector",
+ "StartIntro",
+ "EndIntro",
+ "MoveSheet",
+ "Sketch",
+ "Shade",
+ "Score",
+ "OffSound",
+ "StartMusic",
+ "CloseMusic",
+ "Fade",
+ "HBOn",
+ "MoveSarc",
+ "ContaFoglie",
+ "ZeroFoglie",
+ "Trasformata",
+ "OffMouse",
+ "OnMouse",
+ "SetMask",
+ "EndComment",
+ "Frankenstain",
+ "Finito",
+ "Ridux",
+ "TestResult",
+ 0
+};
+
+
+void _c_play_boogie(void*);
+void _c_play_boogie(void*);
+void _c_startIntro(void*);
+void _c_endIntro(void*);
+void _c_moveSheet(void*);
+void _c_sketch(void*);
+void _c_shade(void*);
+void _c_score(void*);
+void _c_fade(void*);
+void _c_play_boogie(void*);
+void _c_moveSarc(void*);
+void _c_contaFoglie(void*);
+void _c_zeroFoglie(void*);
+void _c_trasformata(void*);
+void _c_offMouse(void*);
+void _c_onMouse(void*);
+void _c_setMask(void*);
+void _c_endComment(void*);
+void _c_frankenstein(void*);
+void _c_finito(void*);
+void _c_ridux(void*);
+void _c_testResult(void*);
+void _c_null(void*);
+
+typedef void (*callable)(void*);
+
+callable _callables[] = {
+ _c_play_boogie,
+ _c_play_boogie,
+ _c_startIntro,
+ _c_endIntro,
+ _c_moveSheet,
+ _c_sketch,
+ _c_shade,
+ _c_score,
+ _c_null,
+ _c_null,
+ _c_null,
+ _c_fade,
+ _c_play_boogie,
+ _c_moveSarc,
+ _c_contaFoglie,
+ _c_zeroFoglie,
+ _c_trasformata,
+ _c_offMouse,
+ _c_onMouse,
+ _c_setMask,
+ _c_endComment,
+ _c_frankenstein,
+ _c_finito,
+ _c_ridux,
+ _c_testResult
+};
+
+
+Credit _credits[] = {
+ {"Music and Sound Effects", "MARCO CAPRELLI"},
+ {"PC Version", "RICCARDO BALLARINO"},
+ {"Project Manager", "LOVRANO CANEPA"},
+ {"Production", "BRUNO BOZ"},
+ {"Special Thanks to", "LUIGI BENEDICENTI - GILDA and DANILO"},
+ {"Copyright 1992 Euclidea s.r.l ITALY", "All rights reserved"},
+ {"CLICK MOUSE BUTTON TO START", 0}
+};
+
+
+
+} // namespace Parallaction