Skip to content

Commit

Permalink
support maps with NODES in compressed or uncompressed ZDBSP format or…
Browse files Browse the repository at this point in the history
… DeePBSP format (#67)

* support maps with NODES in compressed or uncompressed ZDBSP format or DeePBSP format (Fixes #63)

* move some stuff around

* fix loading DeepBSP nodes

* support maps with NODES in compressed or uncompressed ZDBSP format or DeePBSP format

* move some stuff around

* fix loading DeepBSP nodes
  • Loading branch information
fabiangreffrath authored Feb 28, 2020
1 parent 4ad5a3b commit 0a690dc
Show file tree
Hide file tree
Showing 6 changed files with 547 additions and 15 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ option("${PROJECT_NAME}_RANGECHECK" "Enable bounds-checking of performance-sensi
# Compiler environment requirements.
check_library_exists(m pow "" m_FOUND)
check_library_exists(dl dlopen "" dl_FOUND)
check_library_exists(z inflate "" z_FOUND)

# Library requirements.
find_package(SDL2)
Expand Down
4 changes: 4 additions & 0 deletions Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ set(WOOF_SOURCES
p_ceilng.c
p_doors.c
p_enemy.c p_enemy.h
p_extnodes.c p_extnodes.h
p_floor.c
p_genlin.c
p_inter.c p_inter.h
Expand Down Expand Up @@ -91,6 +92,9 @@ endif()
if(dl_FOUND)
list(APPEND WOOF_LIBRARIES dl)
endif()
if(z_FOUND)
list(APPEND WOOF_LIBRARIES z)
endif()

if(WIN32)
# Stamp out and compile resource file on Windows.
Expand Down
Loading

0 comments on commit 0a690dc

Please sign in to comment.