mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-01 03:27:56 +02:00
Moved the TerrainWorldEditor to a new folder. Also make sure it's only compiled in tools builds.
This commit is contained in:
parent
d345ddb9e1
commit
3610209f54
@ -5,7 +5,6 @@ Import('env')
|
|||||||
module_env = env.Clone()
|
module_env = env.Clone()
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
|
|
||||||
"register_types.cpp",
|
"register_types.cpp",
|
||||||
|
|
||||||
"library/terrain_library.cpp",
|
"library/terrain_library.cpp",
|
||||||
@ -41,8 +40,6 @@ sources = [
|
|||||||
|
|
||||||
"areas/terrain_world_area.cpp",
|
"areas/terrain_world_area.cpp",
|
||||||
|
|
||||||
"world/terrain_world_editor.cpp",
|
|
||||||
|
|
||||||
"world/jobs/terrain_job.cpp",
|
"world/jobs/terrain_job.cpp",
|
||||||
"world/jobs/terrain_terrain_job.cpp",
|
"world/jobs/terrain_terrain_job.cpp",
|
||||||
"world/jobs/terrain_mesher_job_step.cpp",
|
"world/jobs/terrain_mesher_job_step.cpp",
|
||||||
@ -50,6 +47,9 @@ sources = [
|
|||||||
"world/jobs/terrain_prop_job.cpp",
|
"world/jobs/terrain_prop_job.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if env["tools"]:
|
||||||
|
sources.append("editor/terrain_world_editor.cpp")
|
||||||
|
|
||||||
if env["module_texture_packer_enabled"]:
|
if env["module_texture_packer_enabled"]:
|
||||||
sources.append("library/terrain_library_merger.cpp")
|
sources.append("library/terrain_library_merger.cpp")
|
||||||
sources.append("library/terrain_library_merger_pcm.cpp")
|
sources.append("library/terrain_library_merger_pcm.cpp")
|
||||||
|
@ -41,11 +41,11 @@
|
|||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/flow_container.h"
|
#include "scene/gui/flow_container.h"
|
||||||
#include "scene/main/control.h"
|
#include "scene/main/control.h"
|
||||||
#include "terrain_world.h"
|
#include "../world/terrain_world.h"
|
||||||
|
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
|
|
||||||
#include "terrain_chunk.h"
|
#include "../world/terrain_chunk.h"
|
||||||
|
|
||||||
#include "../library/terrain_library.h"
|
#include "../library/terrain_library.h"
|
||||||
#include "../library/terrain_surface.h"
|
#include "../library/terrain_surface.h"
|
@ -64,7 +64,9 @@
|
|||||||
|
|
||||||
#include "areas/terrain_world_area.h"
|
#include "areas/terrain_world_area.h"
|
||||||
|
|
||||||
#include "world/terrain_world_editor.h"
|
#ifdef TOOLS_ENABLED
|
||||||
|
#include "editor/terrain_world_editor.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "meshers/blocky/terrain_mesher_blocky.h"
|
#include "meshers/blocky/terrain_mesher_blocky.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user