Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
server_main.cpp File Reference

Dedicated-server process bootstrap, run loop, and shutdown. More...

#include <csignal>
#include <chrono>
#include <ctime>
#include <cstdlib>
#include <filesystem>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <string_view>
#include <enet/enet.h>
#include "Net/NetCommon.h"
#include "Server/ServerEvents.h"
#include "Server/ServerState.h"
#include "Util/CliCommon.h"
#include "Util/Log.h"
#include "Sim/SimConfig.h"

Functions

int main (int argc, char **argv)
 Entry point for the Bomberman dedicated server.
 

Detailed Description

Dedicated-server process bootstrap, run loop, and shutdown.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Entry point for the Bomberman dedicated server.

Initializes logging and ENet, creates the server host, and runs the event-drain loop until interrupted by SIGINT / SIGTERM.