fix spaceship rotation fix sync boxes

This commit is contained in:
Vlad committed 2026-02-27 17:37:00 +06:00
1 parent be2aa76f8b
commit 7418bbbe27
5 files changed
+68 -23

No files matched your search

+5 -1
View File
@@ -13,8 +13,8 @@ namespace ZL {
protected:
std::unordered_map<int, ClientStateInterval> remotePlayers;
// Серверные коробки
std::vector<std::pair<Eigen::Vector3f, Eigen::Matrix3f>> serverBoxes_;
std::vector<bool> serverBoxesDestroyed_;
std::vector<ProjectileInfo> pendingProjectiles_;
std::vector<DeathInfo> pendingDeaths_;
@@ -40,6 +40,10 @@ namespace ZL {
return serverBoxes_;
}
std::vector<bool> getServerBoxDestroyedFlags() {
return serverBoxesDestroyed_;
}
std::vector<ProjectileInfo> getPendingProjectiles() override;
std::vector<DeathInfo> getPendingDeaths() override;
std::vector<int> getPendingRespawns() override;