summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-10-02 23:36:28 +0200
committerest31 <MTest31@outlook.com>2015-10-04 23:59:41 +0200
commitb0523adc5f673208b5414cf49c6640e4fc148b87 (patch)
tree3e6b152a4d16b2a892e829f51cdfb436c8b6d374 /src/nodedef.h
parent5130dbce7b294c392733e93c05e2099786523342 (diff)
downloadminetest-b0523adc5f673208b5414cf49c6640e4fc148b87.tar.gz
minetest-b0523adc5f673208b5414cf49c6640e4fc148b87.tar.bz2
minetest-b0523adc5f673208b5414cf49c6640e4fc148b87.zip
Add new ContentParamType2 "CPT2_DEGROTATE"
This might break some mods, but it is important for all uses of the param2 to be documented. This doesn't need a serialisation version or network protocol version change, as old clients will still work on new servers, and it is bearable to have new clients getting non rotated plants on old servers.
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index a4a7b6e41..7a84b0316 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -63,6 +63,8 @@ enum ContentParamType2
CPT2_WALLMOUNTED,
// Block level like FLOWINGLIQUID
CPT2_LEVELED,
+ // 2D rotation for things like plants
+ CPT2_DEGROTATE,
};
enum LiquidType