If -DSTANDALONE=ON option is set filesystem will look for content/ instead of base/

This commit is contained in:
Robert Beckebans 2023-04-13 22:04:34 +02:00
parent d5473c51f1
commit 97c302f761
2 changed files with 6 additions and 2 deletions

View file

@ -12,7 +12,7 @@ if(CMAKE_MAJOR_VERSION EQUAL 3 AND CMAKE_MINOR_VERSION GREATER_EQUAL 6)
endif()
option(STANDALONE
"Skip DOOM-3-BFG base/ folder and use assets/ instead" OFF)
"Skip DOOM-3-BFG base/ folder and use content/ instead" OFF)
option(DOOM_CLASSIC
"Build with Doom 1 & 2" ON)

View file

@ -47,7 +47,11 @@ If you have questions concerning this license or the applicable additional terms
#define ENGINE_BRANCH "master"
// jmarshall end
#define BASE_GAMEDIR "base"
#ifdef STANDALONE
#define BASE_GAMEDIR "content"
#else
#define BASE_GAMEDIR "base"
#endif
#define CONFIG_FILE "D3BFGConfig.cfg"