From 2a646f8cc287a98f90e561ce8072c2af4322fd22 Mon Sep 17 00:00:00 2001 From: Thomas Fach-Pedersen Date: Sat, 17 Mar 2018 16:14:48 +0100 Subject: BLADERUNNER: Save game methods --- engines/bladerunner/combat.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'engines/bladerunner/combat.h') diff --git a/engines/bladerunner/combat.h b/engines/bladerunner/combat.h index ab289cca5c..670f580011 100644 --- a/engines/bladerunner/combat.h +++ b/engines/bladerunner/combat.h @@ -30,6 +30,8 @@ namespace BladeRunner { class BladeRunnerEngine; +class SaveFile; +class Vector3; class Combat { static const int kSoundCount = 9; @@ -38,10 +40,10 @@ class Combat { bool _active; bool _enabled; - int _hitSoundId[kSoundCount]; - int _missSoundId[kSoundCount]; -// int _random1; -// int _random2; + int _hitSoundId[kSoundCount]; + int _missSoundId[kSoundCount]; + // int _random1; + // int _random2; public: int _ammoDamage[3]; @@ -87,6 +89,8 @@ public: int findFleeWaypoint(int setId, int enemyId, const Vector3& position) const; int findCoverWaypoint(int waypointType, int actorId, int enemyId) const; + + void save(SaveFile &f); }; } // End of namespace BladeRunner -- cgit v1.2.3