aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/combat.h
diff options
context:
space:
mode:
authorThomas Fach-Pedersen2018-03-17 16:14:48 +0100
committerPeter Kohaut2018-03-24 17:07:06 +0100
commit2a646f8cc287a98f90e561ce8072c2af4322fd22 (patch)
tree8511469fd92c125a91c71b246bf122c45b425030 /engines/bladerunner/combat.h
parenta70c59f90d43ce31c548c68416bf0ab5385f15a9 (diff)
downloadscummvm-rg350-2a646f8cc287a98f90e561ce8072c2af4322fd22.tar.gz
scummvm-rg350-2a646f8cc287a98f90e561ce8072c2af4322fd22.tar.bz2
scummvm-rg350-2a646f8cc287a98f90e561ce8072c2af4322fd22.zip
BLADERUNNER: Save game methods
Diffstat (limited to 'engines/bladerunner/combat.h')
-rw-r--r--engines/bladerunner/combat.h12
1 files changed, 8 insertions, 4 deletions
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