summaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-23 15:29:30 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-24 04:24:25 +0200
commit8c2f3bb378640c921a0ad40c4577687b0c7c37f3 (patch)
tree35d97d6c21b4b2207ec9fc8f21dc38b2435c9542 /src/camera.h
parent0ac2ce7dea133fd0b71a12ca3c2f3ce463d48440 (diff)
downloadminetest-8c2f3bb378640c921a0ad40c4577687b0c7c37f3.tar.gz
minetest-8c2f3bb378640c921a0ad40c4577687b0c7c37f3.tar.bz2
minetest-8c2f3bb378640c921a0ad40c4577687b0c7c37f3.zip
c55sound continued
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/camera.h b/src/camera.h
index 168863c3e..0180d99e2 100644
--- a/src/camera.h
+++ b/src/camera.h
@@ -39,7 +39,8 @@ class IGameDef;
class Camera
{
public:
- Camera(scene::ISceneManager* smgr, MapDrawControl& draw_control);
+ Camera(scene::ISceneManager* smgr, MapDrawControl& draw_control,
+ IGameDef *gamedef);
~Camera();
// Get player scene node.
@@ -116,7 +117,7 @@ public:
void setDigging(s32 button);
// Replace the wielded item mesh
- void wield(const ItemStack &item, IGameDef *gamedef);
+ void wield(const ItemStack &item);
// Draw the wielded tool.
// This has to happen *after* the main scene is drawn.
@@ -136,6 +137,8 @@ private:
// draw control
MapDrawControl& m_draw_control;
+
+ IGameDef *m_gamedef;
// Absolute camera position
v3f m_camera_position;