1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

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.
This commit is contained in:
paramat 2017-10-08 21:08:52 +01:00 committed by paramat
parent 17016090e3
commit 0c9ca27ffc
4 changed files with 17 additions and 3 deletions

View file

@ -84,6 +84,7 @@ public:
s16 deco_height;
s16 deco_height_max;
u8 deco_param2;
u8 deco_param2_max;
};