aboutsummaryrefslogtreecommitdiff
path: root/src/clientobject.h
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2012-10-28 17:07:11 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-11-25 19:14:22 +0200
commitba3fd63e29252987d4904ec3c120bce4b6758160 (patch)
tree7d6a1cdeb146242176a753a494be308168e69087 /src/clientobject.h
parent948b5a8be7b13a346c873c157567a72b4e7e320a (diff)
downloadminetest-ba3fd63e29252987d4904ec3c120bce4b6758160.tar.gz
minetest-ba3fd63e29252987d4904ec3c120bce4b6758160.tar.bz2
minetest-ba3fd63e29252987d4904ec3c120bce4b6758160.zip
Fix some remaining issues with attachments, now they work. Tested with object->player and player->player attachments
Diffstat (limited to 'src/clientobject.h')
-rw-r--r--src/clientobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/clientobject.h b/src/clientobject.h
index 8b0b57147..e08b78c57 100644
--- a/src/clientobject.h
+++ b/src/clientobject.h
@@ -56,6 +56,11 @@ public:
virtual core::aabbox3d<f32>* getSelectionBox(){return NULL;}
virtual core::aabbox3d<f32>* getCollisionBox(){return NULL;}
virtual v3f getPosition(){return v3f(0,0,0);}
+ virtual scene::IMeshSceneNode *getMeshSceneNode(){return NULL;}
+ virtual scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode(){return NULL;}
+ virtual scene::IBillboardSceneNode *getSpriteSceneNode(){return NULL;}
+ virtual bool isPlayer(){return false;}
+ virtual bool isLocalPlayer(){return false;}
virtual bool doShowSelectionBox(){return true;}
// Step object in time