summaryrefslogtreecommitdiff
path: root/src/mapgen_v6.cpp
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-04-27 21:31:46 -0400
committerShadowNinja <shadowninja@minetest.net>2014-05-07 17:05:44 -0400
commite17f140be00e9bf4674aa7e8b2338cefc1a6375b (patch)
treef68f8c021d2f8fee0da1ef9ba62cda0f0e90eeb1 /src/mapgen_v6.cpp
parentd3ee617f37984b380ebe32cd37ef1cda66d96c48 (diff)
downloadminetest-e17f140be00e9bf4674aa7e8b2338cefc1a6375b.tar.gz
minetest-e17f140be00e9bf4674aa7e8b2338cefc1a6375b.tar.bz2
Add a limit to node meta data resolving recursion
Diffstat (limited to 'src/mapgen_v6.cpp')
0 files changed, 0 insertions, 0 deletions
TNESS 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. */ #pragma once #include "irrlichttypes.h" #include "irr_v3d.h" extern const v3s16 g_6dirs[6]; extern const v3s16 g_7dirs[7]; extern const v3s16 g_26dirs[26]; // 26th is (0,0,0) extern const v3s16 g_27dirs[27]; extern const u8 wallmounted_to_facedir[6]; /// Direction in the 6D format. g_27dirs contains corresponding vectors. /// Here P means Positive, N stands for Negative. enum Direction6D { // 0 D6D_ZP, D6D_YP, D6D_XP, D6D_ZN, D6D_YN, D6D_XN, // 6 D6D_XN_YP, D6D_XP_YP, D6D_YP_ZP, D6D_YP_ZN, D6D_XN_ZP, D6D_XP_ZP, D6D_XN_ZN, D6D_XP_ZN, D6D_XN_YN, D6D_XP_YN, D6D_YN_ZP, D6D_YN_ZN, // 18 D6D_XN_YP_ZP, D6D_XP_YP_ZP, D6D_XN_YP_ZN, D6D_XP_YP_ZN, D6D_XN_YN_ZP, D6D_XP_YN_ZP, D6D_XN_YN_ZN, D6D_XP_YN_ZN, // 26 D6D, // aliases D6D_BACK = D6D_ZP, D6D_TOP = D6D_YP, D6D_RIGHT = D6D_XP, D6D_FRONT = D6D_ZN, D6D_BOTTOM = D6D_YN, D6D_LEFT = D6D_XN, }; /// Direction in the wallmounted format. /// P is Positive, N is Negative. enum DirectionWallmounted { DWM_YP, DWM_YN, DWM_XP, DWM_XN, DWM_ZP, DWM_ZN, };