1
This commit is contained in:
parent
c5dbb9e6b2
commit
4ff2125d06
3
.gitignore
vendored
3
.gitignore
vendored
@ -28,4 +28,5 @@ x64
|
||||
*.project
|
||||
*.settings/
|
||||
server/gameserver/.gitignore
|
||||
gameserver.cbp
|
||||
gameserver.cbp
|
||||
behaviac_generated
|
@ -11,12 +11,8 @@ else()
|
||||
message("debug mode")
|
||||
endif()
|
||||
|
||||
if (${LIB_DIR})
|
||||
message(LIB_DIR: ${LIB_DIR})
|
||||
else()
|
||||
set(LIB_DIR )
|
||||
message(LIB_DIR: ${LIB_DIR} )
|
||||
endif()
|
||||
set(LIB_DIR "ubuntu20.04_g++-9")
|
||||
message(LIB_DIR: ${LIB_DIR} )
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g -std=gnu++1z -DGAME_ID=${GAME_ID} -DNDEBUG -DNEWGS -DPVE -DMAP3D")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++1z -DGAME_ID=${GAME_ID} -DDEBUG -DNEWGS -DPVE -DMAP3D")
|
||||
@ -34,6 +30,8 @@ include_directories(
|
||||
../../third_party/recastnavigation/Recast/Include
|
||||
../../third_party/recastnavigation/Detour/Include
|
||||
../../third_party/recastnavigation/DetourTileCache/Include
|
||||
behaviac_generated/types
|
||||
behaviac_generated/types/internal
|
||||
.
|
||||
)
|
||||
|
||||
@ -66,6 +64,10 @@ aux_source_directory(../../third_party/recastnavigation/DetourTileCache/Source
|
||||
SRC_LIST
|
||||
)
|
||||
|
||||
aux_source_directory(behaviac_generated/types/internal
|
||||
SRC_LIST
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND touch -a cs_proto.pb.h
|
||||
COMMAND touch -a cs_proto.pb.cc
|
||||
@ -116,7 +118,7 @@ target_link_libraries(
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_link_libraries(
|
||||
gameserver${GAME_ID}
|
||||
behaviac_gcc_release
|
||||
behaviac_gcc_debug
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
13
server/gameserver/android_agent.cc
Normal file
13
server/gameserver/android_agent.cc
Normal file
@ -0,0 +1,13 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "android_agent.h"
|
||||
|
||||
AndroidAgent::AndroidAgent()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
AndroidAgent::~AndroidAgent()
|
||||
{
|
||||
|
||||
}
|
16
server/gameserver/android_agent.h
Normal file
16
server/gameserver/android_agent.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef _BEHAVIAC_ANDROIDAGENT_H_
|
||||
#define _BEHAVIAC_ANDROIDAGENT_H_
|
||||
|
||||
#include "behaviac_headers.h"
|
||||
|
||||
class AndroidAgent : public behaviac::Agent
|
||||
{
|
||||
public:
|
||||
AndroidAgent();
|
||||
|
||||
virtual ~AndroidAgent();
|
||||
|
||||
BEHAVIAC_DECLARE_AGENTTYPE(AndroidAgent, behaviac::Agent)
|
||||
};
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user