summaryrefslogtreecommitdiff
path: root/src/gamedef.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2014-10-21 05:12:15 +0200
committerRealBadAngel <maciej.kasatkin@o2.pl>2014-10-21 18:43:29 +0200
commitd221917170c2bb43c66e5e09f2a43350cf28d71b (patch)
treeb76f4ef279a5139756787413a423102b3dd20a68 /src/gamedef.h
parent9029a34cc6a3b19c1a431fe3ba069c30a13321fc (diff)
downloadminetest-d221917170c2bb43c66e5e09f2a43350cf28d71b.tar.gz
minetest-d221917170c2bb43c66e5e09f2a43350cf28d71b.tar.bz2
minetest-d221917170c2bb43c66e5e09f2a43350cf28d71b.zip
Recalculate normals for cached meshes.
Check if mesh is here before adding to meshcollector. Fix deleting the meshes.
Diffstat (limited to 'src/gamedef.h')
-rw-r--r--src/gamedef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gamedef.h b/src/gamedef.h
index 6da288bad..b7830373b 100644
--- a/src/gamedef.h
+++ b/src/gamedef.h
@@ -33,6 +33,7 @@ class MtEventManager;
class IRollbackReportSink;
namespace irr { namespace scene {
class IAnimatedMesh;
+ class ISceneManager;
}}
/*
@@ -63,6 +64,7 @@ public:
virtual MtEventManager* getEventManager()=0;
virtual scene::IAnimatedMesh* getMesh(const std::string &filename)
{ return NULL; }
+ virtual scene::ISceneManager* getSceneManager()=0;
// Only usable on the server, and NOT thread-safe. It is usable from the
// environment thread.