mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-21 13:10:05 +00:00
Add RacingManager
This commit is contained in:
parent
cfc6a94c7a
commit
45b8f8f581
2
Makefile
2
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)
|
||||
|
8
src/RacingManager.cpp
Normal file
8
src/RacingManager.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include "CNShardServer.hpp"
|
||||
#include "CNStructs.hpp"
|
||||
#include "RacingManager.hpp"
|
||||
|
||||
void RacingManager::init() {
|
||||
|
||||
|
||||
}
|
9
src/RacingManager.hpp
Normal file
9
src/RacingManager.hpp
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "CNShardServer.hpp"
|
||||
|
||||
namespace RacingManager {
|
||||
|
||||
void init();
|
||||
|
||||
}
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user