- improve voice chat smoothness

- fixed the position of the speaker indicator. constant aspect ratio added
- fixed voice chat functionality to work with the latest commits
- add support for cross compiling windows64 builds on linux
This commit is contained in:
haxi0
2026-03-23 00:58:13 +03:00
parent 8be27511bb
commit 784242fcf7
1320 changed files with 361482 additions and 116 deletions
+9
View File
@@ -38,6 +38,15 @@
Random PlayerConnection::random;
namespace
{
// Server-authoritative movement/interact tolerances (squared distances).
constexpr double kMoveBaseAllowanceSq = 100.0;
constexpr double kMoveVelocityAllowanceScale = 1.0;
constexpr double kInteractReachSq = 36.0;
constexpr double kInteractBlockedReachSq = 9.0;
}
PlayerConnection::PlayerConnection(MinecraftServer *server, Connection *connection, shared_ptr<ServerPlayer> player)
{