#include "irr_v3d.h"
#include "irr_aabb3d.h"
#include "light.h"
+#include <string>
#include <vector>
class INodeDefManager;
there is enough room for dummy node IDs, which are created when
a MapBlock containing unknown node names is loaded from disk.
*/
-#define MAX_REGISTERED_CONTENT 0xfffU
+#define MAX_REGISTERED_CONTENT 0x7fffU
/*
A solid walkable node with the texture unknown_node.png.
void rotateAlongYAxis(INodeDefManager *nodemgr, Rotation rot);
/*
- Gets list of node boxes (used for rendering (NDT_NODEBOX)
- and collision)
+ Gets list of node boxes (used for rendering (NDT_NODEBOX))
*/
std::vector<aabb3f> getNodeBoxes(INodeDefManager *nodemgr) const;
*/
std::vector<aabb3f> getSelectionBoxes(INodeDefManager *nodemgr) const;
+ /*
+ Gets list of collision boxes
+ */
+ std::vector<aabb3f> getCollisionBoxes(INodeDefManager *nodemgr) const;
+
/* Liquid helpers */
u8 getMaxLevel(INodeDefManager *nodemgr) const;
u8 getLevel(INodeDefManager *nodemgr) const;