summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index dce167438..4c5939d3d 100644
--- a/src/player.h
+++ b/src/player.h
@@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_bloated.h"
#include "inventory.h"
#include "constants.h" // BS
+#include <list>
#define PLAYERNAME_SIZE 20
@@ -88,6 +89,7 @@ class IGameDef;
struct CollisionInfo;
class PlayerSAO;
struct HudElement;
+class Environment;
class Player
{
@@ -96,7 +98,10 @@ public:
Player(IGameDef *gamedef);
virtual ~Player() = 0;
- virtual void move(f32 dtime, Map &map, f32 pos_max_d)
+ virtual void move(f32 dtime, Environment *env, f32 pos_max_d)
+ {}
+ virtual void move(f32 dtime, Environment *env, f32 pos_max_d,
+ std::list<CollisionInfo> *collision_info)
{}
v3f getSpeed()