1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 03:05:29 +02:00

Sound refactor and improvements (#12764)

This commit is contained in:
DS
2023-06-16 20:15:21 +02:00
committed by GitHub
parent 8e1af25738
commit edcbfa31c9
52 changed files with 2802 additions and 1211 deletions

View File

@@ -146,11 +146,13 @@ public:
std::vector<CollisionInfo> *collision_info)
{}
// in BS-space
v3f getSpeed() const
{
return m_speed;
}
// in BS-space
void setSpeed(v3f speed)
{
m_speed = speed;
@@ -223,7 +225,7 @@ public:
protected:
char m_name[PLAYERNAME_SIZE];
v3f m_speed;
v3f m_speed; // velocity; in BS-space
u16 m_wield_index = 0;
PlayerFovSpec m_fov_override_spec = { 0.0f, false, 0.0f };