|
group2 0.1.0
CSE 125 Group 2
|
Implementation of the server-side game loop, tick logic, and player management. More...
#include "ServerGame.hpp"#include "client/animation/CharacterAnimator.hpp"#include "ecs/AssetCatalog.hpp"#include "ecs/MapConfig.hpp"#include "ecs/abilities/DashAbility.hpp"#include "ecs/abilities/GrappleAbility.hpp"#include "ecs/abilities/GravityAbility.hpp"#include "ecs/abilities/RecallAbility.hpp"#include "ecs/abilities/WallhackAbility.hpp"#include "ecs/components/AbilityState.hpp"#include "ecs/components/AnimSnapshot.hpp"#include "ecs/components/BeamState.hpp"#include "ecs/components/ClientId.hpp"#include "ecs/components/CollisionShape.hpp"#include "ecs/components/DeathInfo.hpp"#include "ecs/components/GrenadeState.hpp"#include "ecs/components/Health.hpp"#include "ecs/components/HealthPackSpawner.hpp"#include "ecs/components/Hitbox.hpp"#include "ecs/components/InputSnapshot.hpp"#include "ecs/components/JumpPad.hpp"#include "ecs/components/Killzone.hpp"#include "ecs/components/LagCompTarget.hpp"#include "ecs/components/Player.hpp"#include "ecs/components/PlayerColor.hpp"#include "ecs/components/PlayerColors.hpp"#include "ecs/components/PlayerMatchStats.hpp"#include "ecs/components/PlayerName.hpp"#include "ecs/components/PlayerNicknames.hpp"#include "ecs/components/PlayerSimState.hpp"#include "ecs/components/Position.hpp"#include "ecs/components/PowerupSpawner.hpp"#include "ecs/components/PowerupState.hpp"#include "ecs/components/Ragdoll.hpp"#include "ecs/components/Renderable.hpp"#include "ecs/components/RespawnPoint.hpp"#include "ecs/components/RespawnTimer.hpp"#include "ecs/components/Velocity.hpp"#include "ecs/components/WeaponConfig.hpp"#include "ecs/components/WeaponSpawner.hpp"#include "ecs/components/WeaponState.hpp"#include "ecs/physics/CollisionEvents.hpp"#include "ecs/physics/PhaseDiagnostic.hpp"#include "ecs/physics/Sleep.hpp"#include "ecs/physics/Solver.hpp"#include "ecs/physics/TitanfallConstants.hpp"#include "ecs/physics/WorldData.hpp"#include "ecs/systems/AbilitySystem.hpp"#include "ecs/systems/CollisionSystem.hpp"#include "ecs/systems/DroppedWeaponSystem.hpp"#include "ecs/systems/DynamicsSystem.hpp"#include "ecs/systems/ExplosionSystem.hpp"#include "ecs/systems/FireSystem.hpp"#include "ecs/systems/HealthPackSpawnerSystem.hpp"#include "ecs/systems/HitboxSystem.hpp"#include "ecs/systems/JumpPadSystem.hpp"#include "ecs/systems/KillzoneSystem.hpp"#include "ecs/systems/MatchSystem.hpp"#include "ecs/systems/MovementSystem.hpp"#include "ecs/systems/PickupGeometry.hpp"#include "ecs/systems/PlayerStatusSystem.hpp"#include "ecs/systems/PowerupSpawnerSystem.hpp"#include "ecs/systems/PowerupSystem.hpp"#include "ecs/systems/RagdollSystem.hpp"#include "ecs/systems/TriggerSystem.hpp"#include "ecs/systems/WeaponSpawnerSystem.hpp"#include "ecs/systems/WeaponSystem.hpp"#include "network/PacketType.hpp"#include "network/RosterEvent.hpp"#include "network/ShotDebugReport.hpp"#include "network/ShotEvent.hpp"#include "perf/Parallel.hpp"#include "perf/Profiler.hpp"#include "perf/ShotLog.hpp"#include "server/game/LagCompMath.hpp"#include "server/systems/HitboxHistorySystem.hpp"#include <SDL3/SDL.h>#include <algorithm>#include <cstddef>#include <cstring>#include <glm/geometric.hpp>#include <random>Implementation of the server-side game loop, tick logic, and player management.