* move common server files

* update includes with move

* create participant, move code

* fix linker errors

* fix regressions

* mark function as override to make clang happy

* split out spectator to new file

* forgot to add to cmakelists

* autocompleter picking wrong casing for var name

* clean up forwards declarations in player

* fix includes in game
This commit is contained in:
ebbit1q 2025-09-20 14:37:12 +02:00 committed by GitHub
parent 17dcaf9afa
commit f0c3860032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 1283 additions and 866 deletions

View file

@ -0,0 +1,11 @@
#include "server_spectator.h"
Server_Spectator::Server_Spectator(Server_Game *_game,
int _playerId,
const ServerInfo_User &_userInfo,
bool _judge,
Server_AbstractUserInterface *_userInterface)
: Server_AbstractParticipant(_game, _playerId, _userInfo, _judge, _userInterface)
{
spectator = true;
}