diff options
author | Peter Kohaut | 2018-03-06 00:07:42 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-03-06 00:29:20 +0100 |
commit | e232f13f5dd7c9119d0355cb93ff1cc2c705d16e (patch) | |
tree | ccf3189fd328d8535eb44218da6fc30b26475611 /engines/bladerunner/game_info.cpp | |
parent | 225cad379f2af109c84220ddb998035551ee29b2 (diff) | |
download | scummvm-rg350-e232f13f5dd7c9119d0355cb93ff1cc2c705d16e.tar.gz scummvm-rg350-e232f13f5dd7c9119d0355cb93ff1cc2c705d16e.tar.bz2 scummvm-rg350-e232f13f5dd7c9119d0355cb93ff1cc2c705d16e.zip |
BLADERUNNER: Added Zuben actor
Fixed animation position update
Added goal & anim commands to console
Diffstat (limited to 'engines/bladerunner/game_info.cpp')
-rw-r--r-- | engines/bladerunner/game_info.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/engines/bladerunner/game_info.cpp b/engines/bladerunner/game_info.cpp index f3395d150a..db664c0f2d 100644 --- a/engines/bladerunner/game_info.cpp +++ b/engines/bladerunner/game_info.cpp @@ -135,4 +135,36 @@ bool GameInfo::open(const Common::String &name) { return !err; } +const char *GameInfo::getSceneName(int i) const { + if (i < 0 || i >= (int)_sceneNamesCount) { + warning("GameInfo::getSceneName: unknown id \"%i\"", i); + return nullptr; + } + return _sceneNames[i]; +} + +const char *GameInfo::getSfxTrack(int i) const { + if (i < 0 || i >= (int)_sfxTrackCount) { + warning("GameInfo::getSfxTrack: unknown id \"%i\"", i); + return nullptr; + } + return _sfxTracks[i]; +} + +const char *GameInfo::getMusicTrack(int i) const { + if (i < 0 || i >= (int)_musicTrackCount) { + warning("GameInfo::getMusicTrack: unknown id \"%i\"", i); + return nullptr; + } + return _musicTracks[i]; +} + +const char *GameInfo::getOuttake(int i) const { + if (i < 0 || i >= (int)_outtakeCount) { + warning("GameInfo::getOuttake: unknown id \"%i\"", i); + return nullptr; + } + return _outtakes[i]; +} + } // End of namespace BladeRunner |