1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 };