group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
WeaponSystem.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
8#include "network/ShotDebugReport.hpp" // ShotDebugCapture (PR-20).
10
11#include <vector>
12
14namespace systems
15{
16
36void runWeapon(Registry& registry,
37 float dt,
38 std::vector<NetParticleEvent>& outParticles,
39 std::vector<NetKillEvent>& killEvents,
40 std::vector<net::shotdebug::ShotDebugCapture>* outShotDebug = nullptr);
41
42} // namespace systems
Structure of kill event broadcasted from server to clients.
Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Wire-format types for the PR-20 lag-comp shot debug visualizer.
Wire-format particle effect event broadcast from server to all clients.
Client-only input sampling system — split into two halves so mouse look can run every iterate() (smoo...
Definition DebugUI.hpp:15
void runWeapon(Registry &registry, float dt, std::vector< NetParticleEvent > &outParticles, std::vector< NetKillEvent > &killEvents, std::vector< net::shotdebug::ShotDebugCapture > *outShotDebug)
Run one tick of weapon logic for all armed entities.
Definition WeaponSystem.cpp:1108