Stop using the do-nothing Path class.
Instead use the newly imported PhysicsFS through a wrapper.
This commit is contained in:
parent
993311d151
commit
93634da6fa
13 changed files with 214 additions and 87 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue