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/cloudparams.h | |
parent | 95409da87d009c352f27c737621972c2225796c9 (diff) | |
download | hax-minetest-server-f1d7a26b7c341b468f34325cec5c3d495f175a8f.tar.gz hax-minetest-server-f1d7a26b7c341b468f34325cec5c3d495f175a8f.zip |
Add clouds API
Diffstat (limited to '')
-rw-r--r-- | src/cloudparams.h | 33 |
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 |