This commit is contained in:
aozhiwei 2022-12-12 16:23:51 +08:00
parent 0d6c325181
commit d530cadb27
20 changed files with 33 additions and 32 deletions

View File

@ -19,7 +19,8 @@ set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++1z -DGAME_ID=${GAME_ID} -DDEBUG -D
include_directories(
AFTER
../../third_party/a8engine
../../third_party/a8
../../third_party/f8
/usr/include/mysql
/usr/include/jsoncpp
/usr/include/hiredis
@ -41,15 +42,15 @@ link_directories(
../../third_party/behaviac/lib/${LIB_DIR}
)
aux_source_directory(../../third_party/a8engine/a8
aux_source_directory(../../third_party/a8/a8
SRC_LIST
)
aux_source_directory(../../third_party/framework/cpp
aux_source_directory(../../third_party/f8/f8
SRC_LIST
)
list(REMOVE_ITEM SRC_LIST "../../third_party/framework/cpp/im_msgid.pb.cc")
list(REMOVE_ITEM SRC_LIST "../../third_party/framework/cpp/im_proto.pb.cc")
list(REMOVE_ITEM SRC_LIST "../../third_party/f8/f8/im_msgid.pb.cc")
list(REMOVE_ITEM SRC_LIST "../../third_party/f8/f8/im_proto.pb.cc")
aux_source_directory(../../third_party/recastnavigation/Recast/Source
SRC_LIST

View File

@ -4,8 +4,8 @@
#include <a8/mixedsession.h>
#include <a8/tcplistener.h>
#include "framework/cpp/netmsghandler.h"
#include "framework/cpp/msgqueue.h"
#include "f8/netmsghandler.h"
#include "f8/msgqueue.h"
#include "app.h"
#include "GGListener.h"

View File

@ -7,7 +7,7 @@
#include "android_agent.h"
#include "movehelper.h"
#include "framework/cpp/btmgr.h"
#include "f8/btmgr.h"
Android::Android():Human()
{

View File

@ -12,7 +12,7 @@
#include <a8/uuid.h>
#include <a8/collision.h>
#include "framework/cpp/netmsghandler.h"
#include "f8/netmsghandler.h"
#include "app.h"
#include "jsondatamgr.h"
@ -30,10 +30,10 @@
#include "ss_msgid.pb.h"
#include "ss_proto.pb.h"
#include "framework/cpp/msgqueue.h"
#include "framework/cpp/tglog.h"
#include "framework/cpp/httpclientpool.h"
#include "framework/cpp/btmgr.h"
#include "f8/msgqueue.h"
#include "f8/tglog.h"
#include "f8/httpclientpool.h"
#include "f8/btmgr.h"
#include "collider.h"

View File

@ -6,7 +6,7 @@
#include "human.h"
#include "movehelper.h"
#include "framework/cpp/btmgr.h"
#include "f8/btmgr.h"
void DumpBt(BaseAgent* agent)
{

View File

@ -17,7 +17,7 @@
#include "shot.h"
#include "movehelper.h"
#include "framework/cpp/utils.h"
#include "f8/utils.h"
static int GetTraceTargetId(Creature* c)
{

View File

@ -1,7 +1,7 @@
#include "precompile.h"
#include "gamelog.h"
#include "framework/cpp/utils.h"
#include "framework/cpp/tglog.h"
#include "f8/utils.h"
#include "f8/tglog.h"
#include <a8/mutable_xobject.h>
#include "player.h"
#include "app.h"

View File

@ -2,7 +2,7 @@
#include <a8/basehttpsession.h>
#include "framework/cpp/netmsghandler.h"
#include "f8/netmsghandler.h"
namespace a8
{

View File

@ -8,7 +8,7 @@
#include "jsondatamgr.h"
#include "handlermgr.h"
#include "framework/cpp/httpclientpool.h"
#include "f8/httpclientpool.h"
struct HttpProxyRequest
{

View File

@ -1,6 +1,6 @@
#pragma once
#include "framework/cpp/httpclientpool.h"
#include "f8/httpclientpool.h"
struct HttpProxyRequest;
class HttpProxy : public a8::Singleton<HttpProxy>

View File

@ -6,7 +6,7 @@
#include <a8/mutable_xobject.h>
#include <a8/collision.h>
#include "framework/cpp/utils.h"
#include "f8/utils.h"
#include "human.h"
#include "cs_proto.pb.h"

View File

@ -3,7 +3,7 @@
#include "jsondatamgr.h"
#include "app.h"
#include "framework/cpp/utils.h"
#include "f8/utils.h"
void JsonDataMgr::Init()
{

View File

@ -7,7 +7,7 @@
#include "GGListener.h"
#include "matchteam.h"
#include "framework/cpp/utils.h"
#include "f8/utils.h"
void MatchMgr::Init()
{

View File

@ -8,7 +8,7 @@
#include "metamgr.h"
#include "roommgr.h"
#include "framework/cpp/utils.h"
#include "f8/utils.h"
RawTeamMember::RawTeamMember()
{

View File

@ -6,7 +6,7 @@
#include "metamgr.h"
#include "skillhelper.h"
#include "framework/cpp/utils.h"
#include "f8/utils.h"
namespace MetaData
{

View File

@ -8,7 +8,7 @@
#include "metamgr.h"
#include "matchmgr.h"
#include "framework/cpp/utils.h"
#include "f8/utils.h"
void PlayerMgr::Init()
{

View File

@ -28,6 +28,6 @@ namespace google
}
}
#include "framework/cpp/types.h"
#include "framework/cpp/protoutils.h"
#include "f8/types.h"
#include "f8/protoutils.h"

View File

@ -8,7 +8,7 @@
#include <a8/collision.h>
#include <a8/vec2.h>
#include "framework/cpp/utils.h"
#include "f8/utils.h"
#include "playermgr.h"
#include "player.h"

View File

@ -19,8 +19,8 @@
#include "matchteam.h"
#include "httpproxy.h"
#include "framework/cpp/httpclientpool.h"
#include "framework/cpp/utils.h"
#include "f8/httpclientpool.h"
#include "f8/utils.h"
const int ROOM_NUM_UP_LIMIT = 1000;
const int HUM_NUM_DOWN_LIMIT = 2500;

2
third_party/f8 vendored

@ -1 +1 @@
Subproject commit 1dbae08b6f5d9e4df8325f5170a2355953ff4db8
Subproject commit 37c1840e2e58fd84267cbd4a6d5dfc2d2bcc5478