From 66fd5337bda32d0ef04fff7514a8249ecb5c3b15 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 9 Dec 2012 23:09:12 +0000 Subject: Improved info text parsing, added specifications to the weapon info, expanded ship specifications info. --- src/game/base/weapon.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/game/base/weapon.h') diff --git a/src/game/base/weapon.h b/src/game/base/weapon.h index b4a790c..746a9ad 100644 --- a/src/game/base/weapon.h +++ b/src/game/base/weapon.h @@ -53,7 +53,7 @@ public: } /** - * @brief speed of projectiles generated by this weapon + * @brief speed of projectiles generated by this weapon, in game units per second * */ inline const float projectile_speed() const { @@ -123,7 +123,12 @@ public: { weapon_projectile_modelname.assign(projectile_modelname); } - + + /** + * @brief generate specifications info. + * */ + void generate_info(); + /* --- static registry functions ---------------------------------- */ static Weapon *find(const std::string & label); -- cgit v1.2.3