2016-06-23 00:09:52 +02:00
|
|
|
###########################################################
|
|
|
|
## RWENGINE
|
|
|
|
###########################################################
|
2013-07-21 18:58:03 +02:00
|
|
|
|
2016-06-23 00:09:52 +02:00
|
|
|
set(RWENGINE_SOURCES
|
2016-07-03 17:09:06 +02:00
|
|
|
src/BinaryStream.cpp
|
|
|
|
src/BinaryStream.hpp
|
|
|
|
src/TextureArchive.cpp
|
|
|
|
src/TextureArchive.hpp
|
|
|
|
src/ai/AIGraph.cpp
|
|
|
|
src/ai/AIGraph.hpp
|
|
|
|
src/ai/AIGraphNode.cpp
|
|
|
|
src/ai/AIGraphNode.hpp
|
|
|
|
src/ai/CharacterController.cpp
|
|
|
|
src/ai/CharacterController.hpp
|
|
|
|
src/ai/DefaultAIController.cpp
|
|
|
|
src/ai/DefaultAIController.hpp
|
|
|
|
src/ai/PlayerController.cpp
|
|
|
|
src/ai/PlayerController.hpp
|
|
|
|
src/ai/TrafficDirector.cpp
|
|
|
|
src/ai/TrafficDirector.hpp
|
|
|
|
src/audio/MADStream.cpp
|
|
|
|
src/audio/MADStream.hpp
|
|
|
|
src/audio/SoundManager.cpp
|
|
|
|
src/audio/SoundManager.hpp
|
|
|
|
src/audio/alCheck.cpp
|
|
|
|
src/audio/alCheck.hpp
|
|
|
|
src/core/Logger.cpp
|
|
|
|
src/core/Logger.hpp
|
|
|
|
src/core/Profiler.cpp
|
|
|
|
src/core/Profiler.hpp
|
|
|
|
src/data/Chase.cpp
|
|
|
|
src/data/Chase.hpp
|
|
|
|
src/data/CollisionModel.hpp
|
|
|
|
src/data/CutsceneData.hpp
|
2016-08-16 01:53:27 +02:00
|
|
|
src/data/GameTexts.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/data/GameTexts.hpp
|
|
|
|
src/data/InstanceData.hpp
|
2016-09-03 05:11:55 +02:00
|
|
|
src/data/ModelData.cpp
|
|
|
|
src/data/ModelData.hpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/data/PathData.hpp
|
2017-01-16 00:17:42 +01:00
|
|
|
src/data/PedData.cpp
|
|
|
|
src/data/PedData.hpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/data/Skeleton.cpp
|
|
|
|
src/data/Skeleton.hpp
|
|
|
|
src/data/WeaponData.hpp
|
|
|
|
src/data/ZoneData.hpp
|
|
|
|
src/dynamics/CollisionInstance.cpp
|
|
|
|
src/dynamics/CollisionInstance.hpp
|
|
|
|
src/dynamics/RaycastCallbacks.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/engine/Animator.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/engine/Animator.hpp
|
|
|
|
src/engine/GameData.cpp
|
|
|
|
src/engine/GameData.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/engine/GameState.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/engine/GameState.hpp
|
|
|
|
src/engine/GameWorld.cpp
|
|
|
|
src/engine/GameWorld.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/engine/SaveGame.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/engine/SaveGame.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/engine/ScreenText.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/engine/ScreenText.hpp
|
2016-10-19 03:22:33 +02:00
|
|
|
src/items/Weapon.cpp
|
|
|
|
src/items/Weapon.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/loaders/GenericDATLoader.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/loaders/GenericDATLoader.hpp
|
|
|
|
src/loaders/LoaderCOL.cpp
|
|
|
|
src/loaders/LoaderCOL.hpp
|
|
|
|
src/loaders/LoaderCutsceneDAT.cpp
|
|
|
|
src/loaders/LoaderCutsceneDAT.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/loaders/LoaderGXT.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/loaders/LoaderGXT.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/loaders/LoaderIDE.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/loaders/LoaderIDE.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/loaders/LoaderIFP.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/loaders/LoaderIFP.hpp
|
|
|
|
src/loaders/LoaderIPL.cpp
|
|
|
|
src/loaders/LoaderIPL.hpp
|
|
|
|
src/loaders/WeatherLoader.cpp
|
|
|
|
src/loaders/WeatherLoader.hpp
|
|
|
|
src/objects/CharacterObject.cpp
|
|
|
|
src/objects/CharacterObject.hpp
|
|
|
|
src/objects/CutsceneObject.cpp
|
|
|
|
src/objects/CutsceneObject.hpp
|
|
|
|
src/objects/GameObject.cpp
|
|
|
|
src/objects/GameObject.hpp
|
|
|
|
src/objects/InstanceObject.cpp
|
|
|
|
src/objects/InstanceObject.hpp
|
|
|
|
src/objects/ItemPickup.cpp
|
|
|
|
src/objects/ItemPickup.hpp
|
|
|
|
src/objects/ObjectTypes.hpp
|
|
|
|
src/objects/PickupObject.cpp
|
|
|
|
src/objects/PickupObject.hpp
|
|
|
|
src/objects/ProjectileObject.cpp
|
|
|
|
src/objects/ProjectileObject.hpp
|
|
|
|
src/objects/VehicleInfo.hpp
|
|
|
|
src/objects/VehicleObject.cpp
|
|
|
|
src/objects/VehicleObject.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/render/DebugDraw.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/render/DebugDraw.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/render/GameRenderer.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/render/GameRenderer.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/render/GameShaders.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/render/GameShaders.hpp
|
|
|
|
src/render/MapRenderer.cpp
|
|
|
|
src/render/MapRenderer.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
src/render/ObjectRenderer.cpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/render/ObjectRenderer.hpp
|
|
|
|
src/render/OpenGLRenderer.cpp
|
|
|
|
src/render/OpenGLRenderer.hpp
|
|
|
|
src/render/TextRenderer.cpp
|
|
|
|
src/render/TextRenderer.hpp
|
|
|
|
src/render/ViewCamera.hpp
|
|
|
|
src/render/ViewFrustum.hpp
|
|
|
|
src/render/VisualFX.cpp
|
|
|
|
src/render/VisualFX.hpp
|
|
|
|
src/render/WaterRenderer.cpp
|
|
|
|
src/render/WaterRenderer.hpp
|
|
|
|
src/script/SCMFile.cpp
|
|
|
|
src/script/SCMFile.hpp
|
|
|
|
src/script/ScriptDisassembly.cpp
|
|
|
|
src/script/ScriptDisassembly.hpp
|
2016-07-05 00:34:26 +02:00
|
|
|
src/script/ScriptFunctions.cpp
|
|
|
|
src/script/ScriptFunctions.hpp
|
2016-07-03 17:09:06 +02:00
|
|
|
src/script/ScriptMachine.cpp
|
|
|
|
src/script/ScriptMachine.hpp
|
|
|
|
src/script/ScriptModule.cpp
|
|
|
|
src/script/ScriptModule.hpp
|
|
|
|
src/script/ScriptTypes.cpp
|
|
|
|
src/script/ScriptTypes.hpp
|
2016-08-07 22:58:34 +02:00
|
|
|
src/script/modules/GTA3Module.cpp
|
|
|
|
src/script/modules/GTA3Module.hpp
|
2016-06-23 00:09:52 +02:00
|
|
|
)
|
2013-07-21 18:58:03 +02:00
|
|
|
|
2014-01-26 04:45:55 +01:00
|
|
|
add_library(rwengine
|
2016-06-23 00:09:52 +02:00
|
|
|
${RWENGINE_SOURCES}
|
2013-07-02 08:06:03 +02:00
|
|
|
)
|
|
|
|
|
2016-08-16 19:15:05 +02:00
|
|
|
if(MINGW)
|
|
|
|
target_link_libraries(rwengine
|
|
|
|
mman)
|
|
|
|
endif()
|
|
|
|
|
2014-08-17 00:02:34 +02:00
|
|
|
target_link_libraries(rwengine
|
2016-04-07 02:13:46 +02:00
|
|
|
rwlib
|
2016-05-19 23:28:12 +02:00
|
|
|
${MAD_LIBRARY}
|
2016-05-24 19:49:19 +02:00
|
|
|
${LIBSNDFILE_LIBRARY}
|
|
|
|
${OPENAL_LIBRARY}
|
2016-06-22 12:29:39 +02:00
|
|
|
${OPENRW_PLATFORM_LIBS}
|
2016-06-22 23:28:05 +02:00
|
|
|
${SDL2_LIBRARY})
|
2013-07-02 00:33:21 +02:00
|
|
|
|
2016-04-28 01:54:42 +02:00
|
|
|
include_directories(SYSTEM
|
|
|
|
${BULLET_INCLUDE_DIR}
|
2016-05-19 23:28:12 +02:00
|
|
|
${MAD_INCLUDE_DIR}
|
2016-05-24 19:49:19 +02:00
|
|
|
${LIBSNDFILE_INCLUDE_DIR}
|
|
|
|
${OPENAL_INCLUDE_DIR}
|
2016-04-28 01:54:42 +02:00
|
|
|
)
|
|
|
|
|
2016-07-03 17:09:06 +02:00
|
|
|
target_include_directories(
|
|
|
|
rwengine
|
|
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
|
2016-04-28 01:54:42 +02:00
|
|
|
)
|