#include "player.h"#include <cmath>#include "threading/mutex_auto_lock.h"#include "util/numeric.h"#include "hud.h"#include "constants.h"#include "gamedef.h"#include "settings.h"#include "log.h"#include "porting.h"#include <tuple>
Include dependency graph for player.cpp:Functions | |
| bool | is_valid_player_name (std::string_view name) |
| static auto | tie (const PlayerPhysicsOverride &o) |
| bool is_valid_player_name | ( | std::string_view | name | ) |
References PLAYERNAME_ALLOWED_CHARS, PLAYERNAME_SIZE, and string_allowed().
Referenced by ModApiUtil::Initialize(), ModApiUtil::l_is_valid_player_name(), ObjectRef::l_set_observers(), and run_dedicated_server().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References PlayerPhysicsOverride::acceleration_air, PlayerPhysicsOverride::acceleration_default, PlayerPhysicsOverride::acceleration_fast, PlayerPhysicsOverride::gravity, PlayerPhysicsOverride::jump, PlayerPhysicsOverride::liquid_fluidity, PlayerPhysicsOverride::liquid_fluidity_smooth, PlayerPhysicsOverride::liquid_sink, PlayerPhysicsOverride::new_move, PlayerPhysicsOverride::sneak, PlayerPhysicsOverride::sneak_glitch, PlayerPhysicsOverride::speed, PlayerPhysicsOverride::speed_climb, PlayerPhysicsOverride::speed_crouch, PlayerPhysicsOverride::speed_fast, and PlayerPhysicsOverride::speed_walk.