aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/gameinfo.h
diff options
context:
space:
mode:
authorThomas Fach-Pedersen2014-05-16 21:58:49 +0200
committerEugene Sandulenko2016-09-29 22:21:00 +0200
commit2e3fd7cf050e24b9f6363b1a38c6ff45847c6d6f (patch)
tree225c2535e8f6ac3dd21ccc082c9d7e0d9573380f /engines/bladerunner/gameinfo.h
parentc48dfb70718f971a76049061a1c2f8bc2f37bb46 (diff)
downloadscummvm-rg350-2e3fd7cf050e24b9f6363b1a38c6ff45847c6d6f.tar.gz
scummvm-rg350-2e3fd7cf050e24b9f6363b1a38c6ff45847c6d6f.tar.bz2
scummvm-rg350-2e3fd7cf050e24b9f6363b1a38c6ff45847c6d6f.zip
BLADERUNNER: Start port to scummvm engine
Just shows the splash for now. VQA decoder partially ported but without audio and some minor special features.
Diffstat (limited to 'engines/bladerunner/gameinfo.h')
-rw-r--r--engines/bladerunner/gameinfo.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/engines/bladerunner/gameinfo.h b/engines/bladerunner/gameinfo.h
new file mode 100644
index 0000000000..64153beb35
--- /dev/null
+++ b/engines/bladerunner/gameinfo.h
@@ -0,0 +1,82 @@
+/* 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 BLADERUNNER_GAMEINFO_H
+#define BLADERUNNER_GAMEINFO_H
+
+#include "common/str.h"
+
+#include "common/str.h"
+
+namespace BladeRunner {
+
+class BladeRunnerEngine;
+
+class GameInfo {
+ BladeRunnerEngine *_vm;
+
+ uint32 _actor_count;
+ uint32 _flag_count;
+ uint32 _global_var_count;
+ uint32 _set_names_count;
+ uint32 _initial_scene_id;
+ uint32 _initial_set_id;
+ uint32 _waypoint_count;
+ uint32 _sfx_track_count;
+ uint32 _music_track_count;
+ uint32 _outtake_count;
+ uint32 _cover_waypoint_count;
+ uint32 _flee_waypoint_count;
+
+ char (*_set_names)[5];
+ char (*_sfx_tracks)[13];
+ char (*_music_tracks)[13];
+ char (*_outtakes)[13];
+
+public:
+ GameInfo(BladeRunnerEngine *vm);
+ ~GameInfo();
+
+ bool open(const Common::String &name);
+
+ uint32 getActorCount() { return _actor_count; }
+ uint32 getFlagCount() { return _flag_count; }
+ uint32 getGlobalVarCount() { return _global_var_count; }
+ uint32 getSetNamesCount() { return _set_names_count; }
+ uint32 getInitialSceneId() { return _initial_scene_id; }
+ uint32 getInitialSetId() { return _initial_set_id; }
+ uint32 getWaypointCount() { return _waypoint_count; }
+ uint32 getSfxTrackCount() { return _sfx_track_count; }
+ uint32 getMusicTrackCount() { return _music_track_count; }
+ uint32 getOuttakeCount() { return _outtake_count; }
+ uint32 getCoverWaypointCount() { return _cover_waypoint_count; }
+ uint32 getFleeWaypointCount() { return _flee_waypoint_count; }
+
+ char *getSetName(int i) { return _set_names[i]; }
+ char *getSfxTrack(int i) { return _sfx_tracks[i]; }
+ char *getMusicTrack(int i) { return _music_tracks[i]; }
+ char *getOuttake(int i) { return _outtakes[i]; }
+};
+
+} // End of namespace Blade Runner
+
+#endif