summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 21:00:39 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:44 +0200
commitba762bcd49c9f3ffa3cc4ecac73b13365c2047ec (patch)
tree434f3a74df5dd382434df5b655fee7843e45e004 /src/mapnode.h
parent6da8cb00e27106221e013aa6d93965b95e630a18 (diff)
downloadminetest-ba762bcd49c9f3ffa3cc4ecac73b13365c2047ec.tar.gz
minetest-ba762bcd49c9f3ffa3cc4ecac73b13365c2047ec.tar.bz2
minetest-ba762bcd49c9f3ffa3cc4ecac73b13365c2047ec.zip
Clean mapnode.h and fix other files accordingly
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 7fe205463..12dbf45c5 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -20,14 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef MAPNODE_HEADER
#define MAPNODE_HEADER
-#include <iostream>
#include "irrlichttypes.h"
#include "light.h"
-#include "exceptions.h"
-#include "serialization.h"
-#ifndef SERVER
-#include "tile.h"
-#endif
class INodeDefManager;
@@ -215,18 +209,6 @@ struct MapNode
return mix;
}*/
- // In mapnode.cpp
-#ifndef SERVER
- /*
- Get tile of a face of the node.
- dir: direction of face
- Returns: TileSpec. Can contain miscellaneous texture coordinates,
- which must be obeyed so that the texture atlas can be used.
- */
- TileSpec getTile(v3s16 dir, ITextureSource *tsrc,
- INodeDefManager *nodemgr) const;
-#endif
-
/*
Gets mineral content of node, if there is any.
MINERAL_NONE if doesn't contain or isn't able to contain mineral.