ScummVM API documentation
game_info.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef BLADERUNNER_GAME_INFO_H
23#define BLADERUNNER_GAME_INFO_H
24
25#include "common/array.h"
26#include "common/str.h"
27
28namespace BladeRunner {
29
30class BladeRunnerEngine;
31
32class GameInfo {
34
35 uint32 _actorCount;
36 uint32 _playerId;
37 uint32 _flagCount;
38 uint32 _clueCount;
39 uint32 _globalVarCount;
40 uint32 _sceneNamesCount;
41 uint32 _initialSceneId;
42 uint32 _initialSetId;
43 uint32 _waypointCount;
44 uint32 _sfxTrackCount;
45 uint32 _musicTrackCount;
46 uint32 _outtakeCount;
47 uint32 _crimeCount;
48 uint32 _suspectCount;
49 uint32 _coverWaypointCount;
50 uint32 _fleeWaypointCount;
51
56
57public:
59
60 bool open(const Common::String &name);
61
62 uint32 getActorCount() const { return _actorCount; }
63 uint32 getPlayerId() const { return _playerId; }
64 uint32 getFlagCount() const { return _flagCount; }
65 uint32 getClueCount() const { return _clueCount; }
66 uint32 getGlobalVarCount() const { return _globalVarCount; }
67 uint32 getSceneNamesCount() const { return _sceneNamesCount; }
68 uint32 getInitialSceneId() const { return _initialSceneId; }
69 uint32 getInitialSetId() const { return _initialSetId; }
70 uint32 getWaypointCount() const { return _waypointCount; }
71 uint32 getSfxTrackCount() const { return _sfxTrackCount; }
72 uint32 getMusicTrackCount() const { return _musicTrackCount; }
73 uint32 getOuttakeCount() const { return _outtakeCount; }
74 uint32 getCrimeCount() const { return _crimeCount; }
75 uint32 getSuspectCount() const { return _suspectCount; }
76 uint32 getCoverWaypointCount() const { return _coverWaypointCount; }
77 uint32 getFleeWaypointCount() const { return _fleeWaypointCount; }
78
79 const Common::String &getSceneName(int i) const;
80 const Common::String &getSfxTrack(int i) const;
81 const Common::String &getMusicTrack(int i) const;
82 const Common::String &getOuttake(int i) const;
83};
84
85} // End of namespace BladeRunner
86
87#endif
Definition: bladerunner.h:113
Definition: game_info.h:32
Definition: str.h:59