#include "irrlichttypes_bloated.h"#include "mapnode.h"#include "porting.h"#include "nodedef.h"#include "map.h"#include "content_mapnode.h"#include "serialization.h"#include "util/serialize.h"#include "log.h"#include "util/directiontables.h"#include "util/numeric.h"#include <string>#include <sstream>
Include dependency graph for mapnode.cpp:Functions | |
| void | transformNodeBox (const MapNode &n, const NodeBox &nodebox, const NodeDefManager *nodemgr, std::vector< aabb3f > *p_boxes, u8 neighbors=0) |
| static void | getNeighborConnectingFace (const v3s16 &p, const NodeDefManager *nodedef, Map *map, MapNode n, u8 bitmask, u8 *neighbors) |
Variables | |
| static const Rotation | wallmounted_to_rot [] |
| static const u8 | rot_to_wallmounted [] |
|
inlinestatic |
References Map::getNode(), NodeDefManager::nodeboxConnects(), and p().
Referenced by MapNode::getNeighbors().
Here is the call graph for this function:
Here is the caller graph for this function:| void transformNodeBox | ( | const MapNode & | n, |
| const NodeBox & | nodebox, | ||
| const NodeDefManager * | nodemgr, | ||
| std::vector< aabb3f > * | p_boxes, | ||
| u8 | neighbors = 0 ) |
References BS, NodeBoxConnected::connect_top, dir(), DWM_S1, DWM_S2, NodeBox::fixed, NodeBox::getConnected(), MapNode::getFaceDir(), MapNode::getLevel(), MapNode::getWallMounted(), MapNode::getWallMountedDir(), NODEBOX_CONNECTED, NODEBOX_FIXED, NODEBOX_LEVELED, NODEBOX_WALLMOUNTED, NodeBox::type, NodeBox::wall_bottom, NodeBox::wall_side, and NodeBox::wall_top.
Referenced by MapNode::getCollisionBoxes(), MapNode::getNodeBoxes(), and MapNode::getSelectionBoxes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by MapNode::rotateAlongYAxis().
|
static |
Referenced by MapNode::rotateAlongYAxis().