]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
tools: remove daemonmap
authorThomas Debesse <dev@illwieckz.net>
Sat, 14 Jan 2023 18:19:12 +0000 (19:19 +0100)
committerThomas Debesse <dev@illwieckz.net>
Sat, 14 Jan 2023 18:19:12 +0000 (19:19 +0100)
.gitmodules
CMakeLists.txt
README.md
easy-builder
flake.nix
tools/CMakeLists.txt
tools/unvanquished/CMakeLists.txt [deleted file]
tools/unvanquished/daemonmap [deleted submodule]

index f8d6fc747fcc64e60bffbafa291bcd25918c2920..d20f6e35835027edcedd18a4d484cbf4841ded21 100644 (file)
@@ -1,6 +1,3 @@
 [submodule "libs/crunch"]
        path = libs/crunch
        url = https://github.com/DaemonEngine/crunch.git
-[submodule "tools/unvanquished/daemonmap"]
-       path = tools/unvanquished/daemonmap
-       url = https://github.com/DaemonEngine/daemonmap.git
index c2d795c846fde527ec8b323aef6d935047668b02..cd615d48bdee45b435b7bb28f9898087992b2a4c 100644 (file)
@@ -53,12 +53,6 @@ else ()
     set(DEFAULT_BUILD_CRUNCH OFF CACHE INTERNAL "...")
 endif ()
 
-if (EXISTS "${PROJECT_SOURCE_DIR}/tools/unvanquished/daemonmap/tools/quake3/q3map2/main.c")
-    set(DEFAULT_BUILD_DAEMONMAP ON CACHE INTERNAL "...")
-else ()
-    set(DEFAULT_BUILD_DAEMONMAP OFF CACHE INTERNAL "...")
-endif ()
-
 #-----------------------------------------------------------------------
 # Build options
 #-----------------------------------------------------------------------
@@ -66,7 +60,6 @@ endif ()
 option(BUILD_RADIANT "Build the GUI" ON)
 option(BUILD_TOOLS "Build the tools" ON)
 option(BUILD_CRUNCH "Build Crunch image support" ${DEFAULT_BUILD_CRUNCH})
-option(BUILD_DAEMONMAP "Build daemonmap navigation mesh generator" ${DEFAULT_BUILD_DAEMONMAP})
 option(DOWNLOAD_GAMEPACKS "Download game packs" ON)
 option(USE_WERROR "Build with -Werror -pedantic-errors" OFF)
 option(FHS_INSTALL "Install according to Filesystem Hierarchy Standard" OFF)
index 3395423387885c24a3fc3d820a0fbc0112151d41..b6874154a432ec4252dafaf8f357f7aec8eab620 100644 (file)
--- a/README.md
+++ b/README.md
@@ -205,8 +205,6 @@ Options:
   Do not build NetRadiant (default: `ON`, build netradiant graphical editor);
 * `BUILD_TOOLS=OFF`  
   Do not build q3map2 and other tools (default: `ON`, build command line tools);
-* `BUILD_DAEMONMAP=OFF`  
-  Do not build daemonmap tool (default: `ON` if submodule is there, buils daemonmap navigation mesh generator);
 * `BUILD_CRUNCH=OFF`  
   Disable crunch support (default: `ON` if submodule is there, enable crunch support);
 * `RADIANT_ABOUTMSG="Custom build by $(whoami)"`  
@@ -224,8 +222,6 @@ Targets:
      * `quake3`         Compile all the Quake 3 tools:
          - `q3map2`     Compile the Quake 3 map compiler;
          - `q3data`     Compile the q3data tool;
-     * `unvanquished`   Compile all the Unvanquished tools: `daemonmap`, `q3map3`, `q4data`;
-         - `daemonmap`  Compile the daemonmap navigation mesh generator.
 
 Type `make help` to get an exhaustive list of targets.
 
index 220649fd9cf2b8d6d0a4cc2a2c074e87913377d1..47020d2d2d4892c4c0c8151beea9765bc4eccdbb 100755 (executable)
@@ -94,8 +94,7 @@ do
 done
 
 declare -a fetch_submodules_cmd
-for submodule_file in 'libs/crunch/inc/crn_decomp.h' \
-       'tools/unvanquished/daemonmap/tools/quake3/q3map2/main.c'
+for submodule_file in 'libs/crunch/inc/crn_decomp.h'
 do
        if ! [ -f "${project_source_dir}/${submodule_file}" ]
        then
index cdfed9f41dc22acc9df0cc8c8515162eee5d55f9..63ed6c576bdd40abe2c8ea875d3c4b73eacf9d61 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -21,7 +21,6 @@
             "-DDOWNLOAD_GAMEPACKS=OFF"
             "-DBUNDLE_LIBRARIES=OFF"
             "-DBUILD_CRUNCH=OFF"
-            "-DBUILD_DAEMONMAP=OFF"
             "-DBUILD_RADIANT=OFF"
             "-DBUILD_TOOLS=ON"
             "-DFHS_INSTALL=ON"
index 6e30389c35107adcb53c9e16d403b8fc51868aa2..b8f8565418b48968ecb7b4ecd67c1286be83fe1e 100644 (file)
@@ -6,5 +6,3 @@ add_subdirectory(quake3)
 
 add_custom_target(tools)
 add_dependencies(tools quake2 heretic2 quake3)
-
-add_subdirectory(unvanquished)
diff --git a/tools/unvanquished/CMakeLists.txt b/tools/unvanquished/CMakeLists.txt
deleted file mode 100644 (file)
index ed9ed82..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-if (BUILD_DAEMONMAP)
-    # Always keep daemonmap libs/
-    # up-to-date with NetRadiant libs/
-    include_directories(daemonmap/libs)
-    include_directories(daemonmap/tools)
-
-    add_subdirectory(daemonmap/libs)
-    add_subdirectory(daemonmap/tools)
-endif()
diff --git a/tools/unvanquished/daemonmap b/tools/unvanquished/daemonmap
deleted file mode 160000 (submodule)
index f063894..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit f063894efd86504c9d9fa3e248ee1c95395f7951