group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
MovementSystem.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
8
9struct PlayerVisState;
10struct PlayerSimState;
12
22namespace systems
23{
24
30void runMovement(Registry& registry, float dt, const physics::WorldGeometry& world);
31
40float currentWishSpeed(const PlayerVisState& vis);
41
42} // namespace systems
Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Swept AABB and sphere collision queries against world geometry.
Client-only input sampling system — split into two halves so mouse look can run every iterate() (smoo...
Definition DebugUI.hpp:15
float currentWishSpeed(const PlayerVisState &vis)
Determine the current ground wish speed based on movement mode and stance.
Definition MovementSystem.cpp:232
void runMovement(Registry &registry, float dt, const physics::WorldGeometry &world)
Apply one tick of player movement physics to all eligible entities.
Definition MovementSystem.cpp:1256
Read-only counterpart of PlayerStateRef, for const consumers.
Definition PlayerSimState.hpp:133
Server-only locomotion bookkeeping.
Definition PlayerSimState.hpp:29
Replicated subset of player locomotion state.
Definition PlayerVisState.hpp:39