6#ifndef BOMBERMAN_SIM_SIMCONFIG_H
7#define BOMBERMAN_SIM_SIMCONFIG_H
Shared simulation primitives and constants used by both the client and the authoritative server.
Definition Movement.h:21
constexpr int32_t kDefaultServerInputLeadTicks
Default server-side input lead in ticks for authoritative input scheduling.
Definition SimConfig.h:42
constexpr double kPlayerSpeedTilesPerSecond
Player movement speed in tiles per second.
Definition SimConfig.h:26
constexpr uint32_t kDefaultBombFuseTicks
Default authoritative bomb fuse in simulation ticks.
Definition SimConfig.h:23
constexpr float kPlayerHitboxScale
Player hitbox size as a fraction of the tile size.
Definition SimConfig.h:33
constexpr int32_t kDefaultServerSnapshotIntervalTicks
Default server snapshot interval in simulation ticks (1 = every tick / 60 Hz).
Definition SimConfig.h:45
constexpr int16_t kTickRate
Simulation tick rate in Hz.
Definition SimConfig.h:14
constexpr int32_t kMaxStepsPerFrame
Maximum simulation steps taken within a single frame even if the accumulator exceeds the limit.
Definition SimConfig.h:39
constexpr uint8_t kDefaultPlayerBombRange
Default explosion radius in tiles for newly placed bombs.
Definition SimConfig.h:20
constexpr uint8_t kDefaultPlayerMaxBombs
Default number of simultaneously active bombs a player may own.
Definition SimConfig.h:17
constexpr int32_t kMaxFrameClampMs
Maximum milliseconds the fixed-step accumulator will simulate in one frame.
Definition SimConfig.h:36