diff --git a/Makefile b/Makefile index dd14850..9690dc9 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/src/RacingManager.cpp b/src/RacingManager.cpp new file mode 100644 index 0000000..80e64ca --- /dev/null +++ b/src/RacingManager.cpp @@ -0,0 +1,8 @@ +#include "CNShardServer.hpp" +#include "CNStructs.hpp" +#include "RacingManager.hpp" + +void RacingManager::init() { + + +} diff --git a/src/RacingManager.hpp b/src/RacingManager.hpp new file mode 100644 index 0000000..63651fc --- /dev/null +++ b/src/RacingManager.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include "CNShardServer.hpp" + +namespace RacingManager { + + void init(); + +} diff --git a/src/main.cpp b/src/main.cpp index d0b7f11..6178124 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {