diff options
author | darkrose <lisa@ltmnet.com> | 2012-07-17 23:00:04 +1000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 08:18:37 +0300 |
commit | cd6becd442a50a6e2f7129108e1c2c495f885764 (patch) | |
tree | 9f013b53ff4ec7d4df6ee26769e397f3defee268 /src/map.h | |
parent | 829f262c7954c4eb82eff3931d065fce8bc7809e (diff) | |
download | minetest-cd6becd442a50a6e2f7129108e1c2c495f885764.tar.gz minetest-cd6becd442a50a6e2f7129108e1c2c495f885764.tar.bz2 minetest-cd6becd442a50a6e2f7129108e1c2c495f885764.zip |
Implement node timers
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -32,6 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "voxel.h" #include "modifiedstate.h" #include "util/container.h" +#include "nodetimer.h" extern "C" { #include "sqlite3.h" @@ -311,6 +312,15 @@ public: void removeNodeMetadata(v3s16 p); /* + Node Timers + These are basically coordinate wrappers to MapBlock + */ + + NodeTimer getNodeTimer(v3s16 p); + void setNodeTimer(v3s16 p, NodeTimer t); + void removeNodeTimer(v3s16 p); + + /* Misc. */ core::map<v2s16, MapSector*> *getSectorsPtr(){return &m_sectors;} |