Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-12-09 23:09:12 +0000
committerStijn Buys <ingar@osirion.org>2012-12-09 23:09:12 +0000
commit66fd5337bda32d0ef04fff7514a8249ecb5c3b15 (patch)
tree8c187a18452c0f6a8f48520f3c855997ef142108 /src/game/base/weapon.h
parent2c1c377312f9c63c1bd586fb0fd290f677cd0089 (diff)
Improved info text parsing,
added specifications to the weapon info, expanded ship specifications info.
Diffstat (limited to 'src/game/base/weapon.h')
-rw-r--r--src/game/base/weapon.h9
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);