mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +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/BuddyManager.cpp\
|
||||||
src/GroupManager.cpp\
|
src/GroupManager.cpp\
|
||||||
src/Monitor.cpp\
|
src/Monitor.cpp\
|
||||||
|
src/RacingManager.cpp\
|
||||||
|
|
||||||
# headers (for timestamp purposes)
|
# headers (for timestamp purposes)
|
||||||
CHDR=\
|
CHDR=\
|
||||||
@ -87,6 +88,7 @@ CXXHDR=\
|
|||||||
src/BuddyManager.hpp\
|
src/BuddyManager.hpp\
|
||||||
src/GroupManager.hpp\
|
src/GroupManager.hpp\
|
||||||
src/Monitor.hpp\
|
src/Monitor.hpp\
|
||||||
|
src/RacingManager.hpp\
|
||||||
|
|
||||||
COBJ=$(CSRC:.c=.o)
|
COBJ=$(CSRC:.c=.o)
|
||||||
CXXOBJ=$(CXXSRC:.cpp=.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 "ChunkManager.hpp"
|
||||||
#include "GroupManager.hpp"
|
#include "GroupManager.hpp"
|
||||||
#include "Monitor.hpp"
|
#include "Monitor.hpp"
|
||||||
|
#include "RacingManager.hpp"
|
||||||
|
|
||||||
#include "settings.hpp"
|
#include "settings.hpp"
|
||||||
|
|
||||||
@ -101,6 +102,7 @@ int main() {
|
|||||||
TransportManager::init();
|
TransportManager::init();
|
||||||
BuddyManager::init();
|
BuddyManager::init();
|
||||||
GroupManager::init();
|
GroupManager::init();
|
||||||
|
RacingManager::init();
|
||||||
Database::open();
|
Database::open();
|
||||||
|
|
||||||
switch (settings::EVENTMODE) {
|
switch (settings::EVENTMODE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user