From fe96eee5db2acbef1ea0f360b180fd9f8f990444 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 28 Dec 2012 22:53:10 +0000 Subject: Addedd core:: support for EntityGlobe rings. --- src/core/entityprojectile.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/core/entityprojectile.h') 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; -- cgit v1.2.3