23 lines
636 B
C++
23 lines
636 B
C++
#pragma once
|
|
|
|
#include <iostream>
|
|
|
|
namespace Config {
|
|
|
|
|
|
struct Config {
|
|
unsigned char maxPlayers = 16; // maximum players that can fit on the server.
|
|
// original quake specs say up to 16, glquake slist
|
|
// can show up to 255 (standard calls for uchar).
|
|
|
|
std::string serverName = "MPFWTESTSRV"; // left column in slist
|
|
std::string serverBanner = "oh yeah this a mfing server!";
|
|
std::string ip = "192.168.56.1";
|
|
char unknownMagic[2] = {'x', 'D'}; // unknown short sent at the end of accepted connection request replies
|
|
|
|
int udpControl = 26000; // port to which clients will connect for control
|
|
|
|
};
|
|
|
|
|
|
} |