diff options
author | Ben Deutsch <ben@bendeutsch.de> | 2017-03-17 10:39:47 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-04-30 00:06:13 +0100 |
commit | f1d7a26b7c341b468f34325cec5c3d495f175a8f (patch) | |
tree | 9926a816208ec7b9384ba718be739953d9d3d773 /src/remoteplayer.h | |
parent | 95409da87d009c352f27c737621972c2225796c9 (diff) | |
download | minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.gz minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.bz2 minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.zip |
Add clouds API
Diffstat (limited to 'src/remoteplayer.h')
-rw-r--r-- | src/remoteplayer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/remoteplayer.h b/src/remoteplayer.h index 4b96835fc..b9d9c74f5 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define REMOTEPLAYER_HEADER #include "player.h" +#include "cloudparams.h" class PlayerSAO; @@ -99,6 +100,16 @@ public: *params = m_sky_params; } + void setCloudParams(const CloudParams &cloud_params) + { + m_cloud_params = cloud_params; + } + + const CloudParams &getCloudParams() const + { + return m_cloud_params; + } + bool checkModified() const { return m_dirty || inventory.checkModified(); } void setModified(const bool x) @@ -154,6 +165,7 @@ private: std::string m_sky_type; video::SColor m_sky_bgcolor; std::vector<std::string> m_sky_params; + CloudParams m_cloud_params; }; #endif |