Stop using the do-nothing Path class.

Instead use the newly imported PhysicsFS through a wrapper.
This commit is contained in:
King_DuckZ 2014-02-13 00:01:29 +01:00
parent 993311d151
commit 93634da6fa
13 changed files with 214 additions and 87 deletions

View file

@ -15,6 +15,7 @@ include_directories(
src
include
"${PROJECT_BINARY_DIR}"
lib/physfs-2.0.3
)
configure_file(
@ -22,6 +23,8 @@ configure_file(
"${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.h"
)
add_subdirectory(lib/physfs-2.0.3)
add_executable(${PROJECT_NAME}
src/main.cpp
src/texture.cpp
@ -31,9 +34,10 @@ add_executable(${PROJECT_NAME}
src/gamebase.cpp
src/character.cpp
src/placeable.cpp
src/path.cpp
src/physicsfswrapper.cpp
)
target_link_libraries(${PROJECT_NAME}
${SDL2_LIBRARIES}
physfs
)