diff options
author | Stijn Buys <ingar@osirion.org> | 2012-12-28 22:53:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-12-28 22:53:10 +0000 |
commit | fe96eee5db2acbef1ea0f360b180fd9f8f990444 (patch) | |
tree | e4c2c65b20ca652861a30fa6b73673e73a07bb59 /src/core/entityprojectile.h | |
parent | 92dafc75bba246aed3f20a558a9c4eed13a1e8a9 (diff) |
Addedd core:: support for EntityGlobe rings.
Diffstat (limited to 'src/core/entityprojectile.h')
-rw-r--r-- | src/core/entityprojectile.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/core/entityprojectile.h b/src/core/entityprojectile.h index 6bbcdfd..cfd534b 100644 --- a/src/core/entityprojectile.h +++ b/src/core/entityprojectile.h @@ -65,13 +65,21 @@ public: } /** - * @brief return the projectile modelname + * @brief return the projectile model name * */ inline const std::string & projectile_modelname() const { return projectile_modelname_str; } + /** + * @brief return the projectile sound name + * */ + inline const std::string & projectile_soundname() const + { + return projectile_soundname_str; + } + /*----- serializers ----------------------------------------------- */ /** @@ -124,10 +132,15 @@ public: } /** - * @brief set the projectile modelname + * @brief set the projectile model name * */ void set_projectile_modelname(const std::string modelname); + /** + * @brief set the projectile sound name + * */ + void set_projectile_soundname(const std::string soundname); + private: unsigned long projectile_timestamp; @@ -135,6 +148,8 @@ private: std::string projectile_modelname_str; + std::string projectile_soundname_str; + float projectile_damage; unsigned int projectile_ownerid; |