diff options
Diffstat (limited to 'src/game/base/weapon.h')
-rw-r--r-- | src/game/base/weapon.h | 9 |
1 files changed, 7 insertions, 2 deletions
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); |