mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Remove unused pos_max_d
This commit is contained in:
parent
9a44d835d6
commit
c00129360e
11 changed files with 29 additions and 79 deletions
|
@ -16,6 +16,7 @@ class GenericCAO;
|
|||
class ClientActiveObject;
|
||||
class ClientEnvironment;
|
||||
class IGameDef;
|
||||
struct CollisionInfo;
|
||||
struct collisionMoveResult;
|
||||
|
||||
enum class LocalPlayerAnimation
|
||||
|
@ -68,11 +69,8 @@ public:
|
|||
|
||||
f32 gravity = 0; // total downwards acceleration
|
||||
|
||||
void move(f32 dtime, Environment *env, f32 pos_max_d);
|
||||
void move(f32 dtime, Environment *env, f32 pos_max_d,
|
||||
std::vector<CollisionInfo> *collision_info);
|
||||
// Temporary option for old move code
|
||||
void old_move(f32 dtime, Environment *env, f32 pos_max_d,
|
||||
void move(f32 dtime, Environment *env);
|
||||
void move(f32 dtime, Environment *env,
|
||||
std::vector<CollisionInfo> *collision_info);
|
||||
|
||||
void applyControl(float dtime, Environment *env);
|
||||
|
@ -174,10 +172,11 @@ private:
|
|||
const f32 max_increase_V, const bool use_pitch);
|
||||
bool updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max);
|
||||
float getSlipFactor(Environment *env, const v3f &speedH);
|
||||
void old_move(f32 dtime, Environment *env,
|
||||
std::vector<CollisionInfo> *collision_info);
|
||||
void handleAutojump(f32 dtime, Environment *env,
|
||||
const collisionMoveResult &result,
|
||||
const v3f &position_before_move, const v3f &speed_before_move,
|
||||
f32 pos_max_d);
|
||||
v3f position_before_move, v3f speed_before_move);
|
||||
|
||||
v3f m_position;
|
||||
v3s16 m_standing_node;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue