|
|
Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
|
Authoritative server-side bomb placement, explosion, and lifecycle logic. More...
#include "ServerBombs.h"#include <algorithm>#include <array>#include <optional>#include <utility>#include "Net/NetSend.h"#include "ServerPowerups.h"#include "Util/Log.h"Namespaces | |
| namespace | bomberman::server |
| Authoritative dedicated-server state, match flow, and fixed-tick simulation support. | |
Functions | |
| void | bomberman::server::clearBombsAndReleaseOwnership (ServerState &state) |
| Clears all active bombs and releases per-player active-bomb ownership counters. | |
| void | bomberman::server::tryPlaceBomb (ServerState &state, MatchPlayerState &matchPlayer) |
| Attempts to place one authoritative bomb for a match player on the current server tick. | |
| void | bomberman::server::resolveExplodingBombs (ServerState &state) |
| Resolves all bombs whose fuse expires on the current authoritative tick. | |
Authoritative server-side bomb placement, explosion, and lifecycle logic.