Add RacingManager

This commit is contained in:
Gent S 2020-11-28 08:29:06 -05:00
parent cfc6a94c7a
commit 45b8f8f581
4 changed files with 21 additions and 0 deletions

View File

@ -50,6 +50,7 @@ CXXSRC=\
src/BuddyManager.cpp\
src/GroupManager.cpp\
src/Monitor.cpp\
src/RacingManager.cpp\
# headers (for timestamp purposes)
CHDR=\
@ -87,6 +88,7 @@ CXXHDR=\
src/BuddyManager.hpp\
src/GroupManager.hpp\
src/Monitor.hpp\
src/RacingManager.hpp\
COBJ=$(CSRC:.c=.o)
CXXOBJ=$(CXXSRC:.cpp=.o)

8
src/RacingManager.cpp Normal file
View File

@ -0,0 +1,8 @@
#include "CNShardServer.hpp"
#include "CNStructs.hpp"
#include "RacingManager.hpp"
void RacingManager::init() {
}

9
src/RacingManager.hpp Normal file
View File

@ -0,0 +1,9 @@
#pragma once
#include "CNShardServer.hpp"
namespace RacingManager {
void init();
}

View File

@ -14,6 +14,7 @@
#include "ChunkManager.hpp"
#include "GroupManager.hpp"
#include "Monitor.hpp"
#include "RacingManager.hpp"
#include "settings.hpp"
@ -101,6 +102,7 @@ int main() {
TransportManager::init();
BuddyManager::init();
GroupManager::init();
RacingManager::init();
Database::open();
switch (settings::EVENTMODE) {