◆ TestVoxelManipulator()
| TestVoxelManipulator::TestVoxelManipulator |
( |
| ) |
|
|
inline |
◆ getName()
| const char * TestVoxelManipulator::getName |
( |
| ) |
|
|
inlinevirtual |
◆ runTests()
| void TestVoxelManipulator::runTests |
( |
IGameDef * | gamedef | ) |
|
|
virtual |
◆ testBasic()
| void TestVoxelManipulator::testBasic |
( |
const NodeDefManager * | nodedef | ) |
|
◆ testBlitBack()
| void TestVoxelManipulator::testBlitBack |
( |
IGameDef * | gamedef | ) |
|
References MMVManip::clone(), CONTENT_AIR, CONTENT_IGNORE, VoxelManipulator::exists(), DummyMap::fill(), MMVManip::initialEmerge(), VoxelManipulator::setNodeNoEmerge(), t_CONTENT_GRASS, t_CONTENT_STONE, UASSERT, and UASSERTEQ.
Referenced by runTests().
◆ testBlitBack2()
| void TestVoxelManipulator::testBlitBack2 |
( |
IGameDef * | gamedef | ) |
|
References VoxelManipulator::addArea(), MMVManip::blitBackAll(), CONTENT_AIR, CONTENT_IGNORE, DummyMap::fill(), MMVManip::getCoveredBlocks(), MAP_BLOCKSIZE, VoxelManipulator::setFlags(), VoxelManipulator::setNodeNoEmerge(), t_CONTENT_LAVA, t_CONTENT_TORCH, UASSERT, UASSERTEQ, VOXELFLAG_NO_DATA, x, y, and z.
Referenced by runTests().
◆ testEmerge()
| void TestVoxelManipulator::testEmerge |
( |
IGameDef * | gamedef | ) |
|
References VoxelManipulator::clear(), CONTENT_AIR, CONTENT_IGNORE, VoxelManipulator::exists(), DummyMap::fill(), MapNode::getContent(), VoxelArea::getExtent(), VoxelManipulator::getNodeNoExNoEmerge(), VoxelArea::hasEmptyExtent(), MMVManip::initialEmerge(), MMVManip::isOrphan(), VoxelManipulator::m_area, MAP_BLOCKSIZE, VoxelArea::MaxEdge, VoxelArea::MinEdge, t_CONTENT_BRICK, UASSERT, and UASSERTEQ.
Referenced by runTests().
The documentation for this class was generated from the following file: