2016-03-31 02:44:43 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${BOO_INCLUDE_DIR}
|
|
|
|
${ZLIB_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/DataSpec)
|
2015-08-18 22:51:54 +00:00
|
|
|
|
|
|
|
add_subdirectory(Audio)
|
|
|
|
add_subdirectory(Character)
|
|
|
|
add_subdirectory(Graphics)
|
|
|
|
add_subdirectory(GuiSys)
|
|
|
|
add_subdirectory(Input)
|
|
|
|
add_subdirectory(Particle)
|
|
|
|
|
2015-08-23 06:42:29 +00:00
|
|
|
if(WIN32)
|
|
|
|
list(APPEND PLAT_SRCS CMemoryCardSysWin.cpp)
|
|
|
|
elseif(APPLE)
|
2015-09-02 19:10:11 +00:00
|
|
|
list(APPEND PLAT_SRCS CMemoryCardSysOSX.cpp)
|
2015-08-23 06:42:29 +00:00
|
|
|
else()
|
2015-08-23 18:53:43 +00:00
|
|
|
list(APPEND PLAT_SRCS CMemoryCardSysNix.cpp CCallStackNix.cpp)
|
2015-08-23 06:42:29 +00:00
|
|
|
endif()
|
|
|
|
|
2015-08-18 22:51:54 +00:00
|
|
|
add_library(RuntimeCommon
|
|
|
|
CMemory.hpp CMemory.cpp
|
2015-08-23 06:42:29 +00:00
|
|
|
CMemoryCardSys.hpp
|
2015-08-18 22:51:54 +00:00
|
|
|
IAllocator.hpp IAllocator.cpp
|
|
|
|
CGameAllocator.hpp CGameAllocator.cpp
|
2016-03-16 19:53:06 +00:00
|
|
|
CPathFindArea.hpp CPathFindArea.cpp
|
2015-08-18 22:51:54 +00:00
|
|
|
CBasics.hpp CBasicsPC.cpp
|
2015-08-27 00:23:46 +00:00
|
|
|
CIOWin.hpp
|
2015-08-18 22:51:54 +00:00
|
|
|
CIOWinManager.hpp CIOWinManager.cpp
|
|
|
|
CStateManager.hpp CStateManager.cpp
|
|
|
|
CGameState.hpp CGameState.cpp
|
|
|
|
CScriptMailbox.hpp CScriptMailbox.cpp
|
|
|
|
CMapWorldInfo.hpp CMapWorldInfo.cpp
|
|
|
|
CPlayerState.hpp CPlayerState.cpp
|
|
|
|
CWorldTransManager.hpp CWorldTransManager.cpp
|
|
|
|
CRandom16.hpp CRandom16.cpp
|
|
|
|
CResFactory.hpp CResFactory.cpp
|
2015-08-23 06:42:29 +00:00
|
|
|
CResLoader.hpp CResLoader.cpp
|
2016-03-07 03:12:32 +00:00
|
|
|
CDvdRequest.hpp
|
|
|
|
CDvdFile.hpp CDvdFile.cpp
|
2015-11-02 18:45:39 +00:00
|
|
|
CVirtualDvdFile.hpp CVirtualDvdFile.cpp
|
2015-08-22 01:58:41 +00:00
|
|
|
IObjectStore.hpp
|
2015-08-18 22:51:54 +00:00
|
|
|
CSimplePool.hpp CSimplePool.cpp
|
|
|
|
CAi.hpp CAi.cpp
|
|
|
|
CGameOptions.hpp CGameOptions.cpp
|
2015-08-20 02:52:07 +00:00
|
|
|
CStaticInterference.hpp
|
2015-08-18 22:51:54 +00:00
|
|
|
CCRC32.hpp CCRC32.cpp
|
2015-08-19 05:48:57 +00:00
|
|
|
CEntity.hpp CEntity.cpp
|
2015-08-18 22:51:54 +00:00
|
|
|
IFactory.hpp
|
2015-08-19 05:48:57 +00:00
|
|
|
ScriptObjectSupport.hpp ScriptObjectSupport.cpp
|
2015-08-20 02:52:07 +00:00
|
|
|
CObjectList.hpp
|
|
|
|
CArchitectureMessage.hpp
|
|
|
|
CArchitectureQueue.hpp CArchitectureQueue.cpp
|
2015-08-21 00:06:39 +00:00
|
|
|
IObj.hpp
|
2015-08-22 01:58:41 +00:00
|
|
|
IVParamObj.hpp
|
2015-10-28 04:45:02 +00:00
|
|
|
CTimeProvider.hpp CTimeProvider.cpp
|
2015-08-21 00:06:39 +00:00
|
|
|
CToken.hpp
|
|
|
|
CAreaOctTree.hpp CAreaOctTree.cpp
|
2015-08-22 01:58:41 +00:00
|
|
|
CActor.hpp CActor.cpp
|
|
|
|
CPhysicsActor.hpp CPhysicsActor.cpp
|
2015-08-23 06:42:29 +00:00
|
|
|
CFactoryMgr.hpp CFactoryMgr.cpp
|
|
|
|
CPakFile.hpp CPakFile.cpp
|
|
|
|
CStringExtras.hpp
|
2015-08-23 18:53:43 +00:00
|
|
|
CCallStack.hpp
|
2015-08-23 23:58:07 +00:00
|
|
|
IOStreams.hpp IOStreams.cpp
|
2015-08-27 00:23:46 +00:00
|
|
|
CMainFlowBase.hpp CMainFlowBase.cpp
|
|
|
|
CMFGameBase.hpp
|
|
|
|
CInGameTweakManagerBase.hpp
|
|
|
|
CPlayMovieBase.hpp
|
|
|
|
CGameDebug.hpp CGameDebug.cpp
|
2015-08-22 01:58:41 +00:00
|
|
|
rstl.hpp rstl.cpp
|
2015-08-18 22:51:54 +00:00
|
|
|
GameGlobalObjects.hpp
|
2015-08-19 05:48:57 +00:00
|
|
|
RetroTypes.hpp
|
2015-08-23 06:42:29 +00:00
|
|
|
GCNTypes.hpp
|
|
|
|
${PLAT_SRCS})
|
2015-08-18 22:51:54 +00:00
|
|
|
|
2015-08-18 19:45:28 +00:00
|
|
|
add_subdirectory(MP1)
|
|
|
|
add_subdirectory(MP2)
|
|
|
|
add_subdirectory(MP3)
|