|
group2 0.1.0
CSE 125 Group 2
|
Explosion request processing and radial damage. More...
#include "ecs/registry/Registry.hpp"#include "ecs/systems/PlayerStatusSystem.hpp"#include "network/NetKillEvent.hpp"#include "network/ShotEvent.hpp"#include <glm/vec3.hpp>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | systems |
| Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent). | |
Functions | |
| void | systems::queueExplosion (Registry ®istry, glm::vec3 position, float radius, float maxDamage, entt::entity owner, float falloffExponent=1.0f, float selfDamageMultiplier=1.0f, float maxKnockback=0.0f, float knockbackFalloffExponent=1.0f, entt::entity directKillTarget=entt::null, WeaponType weaponType=WeaponType::Rocket) |
| Create an explosion entity at the given position. | |
| void | systems::runExplosion (Registry ®istry, std::vector< NetParticleEvent > &outParticles, std::vector< NetKillEvent > &killEvents) |
| Process all pending explosions: apply radial damage and emit particle events. | |
Explosion request processing and radial damage.