#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>
Macros | |
#define | BOXESPUSHBACK(c) |
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 [] |
#define BOXESPUSHBACK | ( | c | ) |
Referenced by transformNodeBox().
|
inlinestatic |
References Map::getNode(), NodeDefManager::nodeboxConnects(), and p().
Referenced by MapNode::getNeighbors().
void transformNodeBox | ( | const MapNode & | n, |
const NodeBox & | nodebox, | ||
const NodeDefManager * | nodemgr, | ||
std::vector< aabb3f > * | p_boxes, | ||
u8 | neighbors = 0 ) |
References BOXESPUSHBACK, 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().
|
static |
Referenced by MapNode::rotateAlongYAxis().
|
static |
Referenced by MapNode::rotateAlongYAxis().