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:
parent
8e1af25738
commit
edcbfa31c9
52 changed files with 2802 additions and 1211 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue