1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

c55sound continued

This commit is contained in:
Perttu Ahola
2012-03-23 15:29:30 +02:00
parent 0ac2ce7dea
commit 8c2f3bb378
9 changed files with 266 additions and 52 deletions

View File

@@ -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;