Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
PlayerPhysicsOverride Struct Reference

#include <player.h>

Public Member Functions

bool operator== (const PlayerPhysicsOverride &other) const
 
bool operator!= (const PlayerPhysicsOverride &other) const
 

Public Attributes

float speed = 1.f
 
float jump = 1.f
 
float gravity = 1.f
 
bool sneak = true
 
bool sneak_glitch = false
 
bool new_move = true
 
float speed_climb = 1.f
 
float speed_crouch = 1.f
 
float liquid_fluidity = 1.f
 
float liquid_fluidity_smooth = 1.f
 
float liquid_sink = 1.f
 
float acceleration_default = 1.f
 
float acceleration_air = 1.f
 
float speed_fast = 1.f
 
float acceleration_fast = 1.f
 
float speed_walk = 1.f
 

Member Function Documentation

◆ operator!=()

bool PlayerPhysicsOverride::operator!= ( const PlayerPhysicsOverride & other) const
inline

◆ operator==()

bool PlayerPhysicsOverride::operator== ( const PlayerPhysicsOverride & other) const

References tie().

+ Here is the call graph for this function:

Member Data Documentation

◆ acceleration_air

float PlayerPhysicsOverride::acceleration_air = 1.f

Referenced by LocalPlayer::applyControl(), and tie().

◆ acceleration_default

float PlayerPhysicsOverride::acceleration_default = 1.f

Referenced by LocalPlayer::applyControl(), and tie().

◆ acceleration_fast

float PlayerPhysicsOverride::acceleration_fast = 1.f

Referenced by LocalPlayer::applyControl(), and tie().

◆ gravity

float PlayerPhysicsOverride::gravity = 1.f

◆ jump

◆ liquid_fluidity

float PlayerPhysicsOverride::liquid_fluidity = 1.f

Referenced by ClientEnvironment::step(), and tie().

◆ liquid_fluidity_smooth

float PlayerPhysicsOverride::liquid_fluidity_smooth = 1.f

Referenced by ClientEnvironment::step(), and tie().

◆ liquid_sink

float PlayerPhysicsOverride::liquid_sink = 1.f

Referenced by ClientEnvironment::step(), and tie().

◆ new_move

bool PlayerPhysicsOverride::new_move = true

Referenced by LocalPlayer::move(), and tie().

◆ sneak

bool PlayerPhysicsOverride::sneak = true

◆ sneak_glitch

bool PlayerPhysicsOverride::sneak_glitch = false

◆ speed

float PlayerPhysicsOverride::speed = 1.f

◆ speed_climb

float PlayerPhysicsOverride::speed_climb = 1.f

◆ speed_crouch

float PlayerPhysicsOverride::speed_crouch = 1.f

◆ speed_fast

float PlayerPhysicsOverride::speed_fast = 1.f

◆ speed_walk

float PlayerPhysicsOverride::speed_walk = 1.f

The documentation for this struct was generated from the following files: