|
| DummyMap (IGameDef *gamedef, v3s16 bpmin, v3s16 bpmax) |
|
| ~DummyMap ()=default |
|
bool | maySaveBlocks () override |
|
| Map (IGameDef *gamedef) |
|
virtual | ~Map () |
|
| DISABLE_CLASS_COPY (Map) |
|
void | addEventReceiver (MapEventReceiver *event_receiver) |
|
void | removeEventReceiver (MapEventReceiver *event_receiver) |
|
void | dispatchEvent (const MapEditEvent &event) |
|
MapSector * | getSectorNoGenerateNoLock (v2s16 p2d) |
|
MapSector * | getSectorNoGenerate (v2s16 p2d) |
|
virtual MapSector * | emergeSector (v2s16 p) |
|
MapBlock * | getBlockNoCreate (v3s16 p) |
|
MapBlock * | getBlockNoCreateNoEx (v3s16 p) |
|
virtual MapBlock * | emergeBlock (v3s16 p, bool create_blank=true) |
|
const NodeDefManager * | getNodeDefManager () |
|
bool | isValidPosition (v3s16 p) |
|
void | setNode (v3s16 p, MapNode n) |
|
MapNode | getNode (v3s16 p, bool *is_valid_position=NULL) |
|
virtual void | addNodeAndUpdate (v3s16 p, MapNode n, std::map< v3s16, MapBlock * > &modified_blocks, bool remove_metadata=true) |
|
void | removeNodeAndUpdate (v3s16 p, std::map< v3s16, MapBlock * > &modified_blocks) |
|
bool | addNodeWithEvent (v3s16 p, MapNode n, bool remove_metadata=true) |
|
bool | removeNodeWithEvent (v3s16 p) |
|
virtual void | beginSave () |
|
virtual void | endSave () |
|
virtual void | save (ModifiedState save_level) |
|
virtual bool | saveBlock (MapBlock *block) |
|
virtual bool | deleteBlock (v3s16 blockpos) |
|
void | timerUpdate (float dtime, float unload_timeout, s32 max_loaded_blocks, std::vector< v3s16 > *unloaded_blocks=NULL) |
|
void | unloadUnreferencedBlocks (std::vector< v3s16 > *unloaded_blocks=NULL) |
|
void | deleteSectors (std::vector< v2s16 > &list) |
|
virtual void | PrintInfo (std::ostream &out) |
|
std::vector< v3s16 > | findNodesWithMetadata (v3s16 p1, v3s16 p2) |
|
NodeMetadata * | getNodeMetadata (v3s16 p) |
|
bool | setNodeMetadata (v3s16 p, NodeMetadata *meta) |
| Sets metadata for a node.
|
|
void | removeNodeMetadata (v3s16 p) |
|
NodeTimer | getNodeTimer (v3s16 p) |
|
void | setNodeTimer (const NodeTimer &t) |
|
void | removeNodeTimer (v3s16 p) |
|
template<typename F > |
void | forEachNodeInArea (v3s16 minp, v3s16 maxp, F func) |
|
bool | isBlockOccluded (MapBlock *block, v3s16 cam_pos_nodes) |
|
bool | isBlockOccluded (v3s16 pos_relative, v3s16 cam_pos_nodes, bool simple_check=false) |
|