summaryrefslogtreecommitdiff
path: root/src/mg_decoration.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-10-08 21:08:52 +0100
committerparamat <mat.gregory@virginmedia.com>2017-10-09 18:27:17 +0100
commit0c9ca27ffce7d53ede74bd6ccbf590d1cbe94b7b (patch)
treeb0e569ad1509bce616083e38794a64cf4017c226 /src/mg_decoration.h
parent17016090e38cc44e58517129278c28dd7943b4cc (diff)
downloadminetest-0c9ca27ffce7d53ede74bd6ccbf590d1cbe94b7b.tar.gz
minetest-0c9ca27ffce7d53ede74bd6ccbf590d1cbe94b7b.tar.bz2
minetest-0c9ca27ffce7d53ede74bd6ccbf590d1cbe94b7b.zip
Simple decorations: Add 'param2_max' parameter for random param2
If 'param2_max' is not used, parameter 'param2' works as before for compatibility. If 'param2_max' is used, 'param2' and 'param2_max' become the lower and upper bounds of a per-decoration random param2.
Diffstat (limited to 'src/mg_decoration.h')
-rw-r--r--src/mg_decoration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mg_decoration.h b/src/mg_decoration.h
index 31f6871d9..b63e62eff 100644
--- a/src/mg_decoration.h
+++ b/src/mg_decoration.h
@@ -84,6 +84,7 @@ public:
s16 deco_height;
s16 deco_height_max;
u8 deco_param2;
+ u8 deco_param2_max;
};