summaryrefslogtreecommitdiff
path: root/src/cloudparams.h
diff options
context:
space:
mode:
authorBen Deutsch <ben@bendeutsch.de>2017-03-17 10:39:47 +0100
committerparamat <mat.gregory@virginmedia.com>2017-04-30 00:06:13 +0100
commitf1d7a26b7c341b468f34325cec5c3d495f175a8f (patch)
tree9926a816208ec7b9384ba718be739953d9d3d773 /src/cloudparams.h
parent95409da87d009c352f27c737621972c2225796c9 (diff)
downloadminetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.gz
minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.bz2
minetest-f1d7a26b7c341b468f34325cec5c3d495f175a8f.zip
Add clouds API
Diffstat (limited to 'src/cloudparams.h')
-rw-r--r--src/cloudparams.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/cloudparams.h b/src/cloudparams.h
new file mode 100644
index 000000000..dafec4b27
--- /dev/null
+++ b/src/cloudparams.h
@@ -0,0 +1,33 @@
+/*
+Minetest
+Copyright (C) 2017 bendeutsch, Ben Deutsch <ben@bendeutsch.de>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
+#ifndef CLOUDPARAMS_HEADER
+#define CLOUDPARAMS_HEADER
+
+struct CloudParams
+{
+ float density;
+ video::SColor color_bright;
+ video::SColor color_ambient;
+ float thickness;
+ float height;
+ v2f speed;
+};
+
+#endif