add f8
This commit is contained in:
parent
0d6c325181
commit
d530cadb27
@ -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
|
||||
|
@ -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"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "android_agent.h"
|
||||
#include "movehelper.h"
|
||||
|
||||
#include "framework/cpp/btmgr.h"
|
||||
#include "f8/btmgr.h"
|
||||
|
||||
Android::Android():Human()
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "human.h"
|
||||
#include "movehelper.h"
|
||||
|
||||
#include "framework/cpp/btmgr.h"
|
||||
#include "f8/btmgr.h"
|
||||
|
||||
void DumpBt(BaseAgent* agent)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "shot.h"
|
||||
#include "movehelper.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
#include "f8/utils.h"
|
||||
|
||||
static int GetTraceTargetId(Creature* c)
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <a8/basehttpsession.h>
|
||||
|
||||
#include "framework/cpp/netmsghandler.h"
|
||||
#include "f8/netmsghandler.h"
|
||||
|
||||
namespace a8
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "jsondatamgr.h"
|
||||
#include "handlermgr.h"
|
||||
|
||||
#include "framework/cpp/httpclientpool.h"
|
||||
#include "f8/httpclientpool.h"
|
||||
|
||||
struct HttpProxyRequest
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "framework/cpp/httpclientpool.h"
|
||||
#include "f8/httpclientpool.h"
|
||||
|
||||
struct HttpProxyRequest;
|
||||
class HttpProxy : public a8::Singleton<HttpProxy>
|
||||
|
@ -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"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "jsondatamgr.h"
|
||||
#include "app.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
#include "f8/utils.h"
|
||||
|
||||
void JsonDataMgr::Init()
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "GGListener.h"
|
||||
#include "matchteam.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
#include "f8/utils.h"
|
||||
|
||||
void MatchMgr::Init()
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "metamgr.h"
|
||||
#include "roommgr.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
#include "f8/utils.h"
|
||||
|
||||
RawTeamMember::RawTeamMember()
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "metamgr.h"
|
||||
#include "skillhelper.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
#include "f8/utils.h"
|
||||
|
||||
namespace MetaData
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "metamgr.h"
|
||||
#include "matchmgr.h"
|
||||
|
||||
#include "framework/cpp/utils.h"
|
||||
#include "f8/utils.h"
|
||||
|
||||
void PlayerMgr::Init()
|
||||
{
|
||||
|
@ -28,6 +28,6 @@ namespace google
|
||||
}
|
||||
}
|
||||
|
||||
#include "framework/cpp/types.h"
|
||||
#include "framework/cpp/protoutils.h"
|
||||
#include "f8/types.h"
|
||||
#include "f8/protoutils.h"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
2
third_party/f8
vendored
@ -1 +1 @@
|
||||
Subproject commit 1dbae08b6f5d9e4df8325f5170a2355953ff4db8
|
||||
Subproject commit 37c1840e2e58fd84267cbd4a6d5dfc2d2bcc5478
|
Loading…
x
Reference in New Issue
Block a user