From ac27c37a57bd24cba693dbb77a3b8bc34c6c40ec Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 2 Mar 2024 08:17:20 +0100 Subject: [PATCH] Layered tile map build script setup. --- modules/layered_tile_map/SCsub | 12 ++++++------ modules/layered_tile_map/config.py | 8 +++++++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/modules/layered_tile_map/SCsub b/modules/layered_tile_map/SCsub index ef2de7a57..3d215a264 100644 --- a/modules/layered_tile_map/SCsub +++ b/modules/layered_tile_map/SCsub @@ -1,11 +1,11 @@ Import('env') +Import("env_modules") -env.add_source_files(env.modules_sources,"register_types.cpp") -env.add_source_files(env.modules_sources,"tile_map.cpp") -env.add_source_files(env.modules_sources,"tile_set.cpp") -env.add_source_files(env.modules_sources, "geometry_parser/*.cpp") +env_layered_tile_map = env_modules.Clone() + +env_layered_tile_map.add_source_files(env.modules_sources, "geometry_parser/*.cpp") +env_layered_tile_map.add_source_files(env.modules_sources, "*.cpp") if env["tools"]: - env.add_source_files(env.modules_sources, "tile_map_editor_plugin.cpp") - env.add_source_files(env.modules_sources, "tile_set_editor_plugin.cpp") + env.add_source_files(env.modules_sources, "editor/*.cpp") diff --git a/modules/layered_tile_map/config.py b/modules/layered_tile_map/config.py index 66fbdd210..bc398bd0e 100644 --- a/modules/layered_tile_map/config.py +++ b/modules/layered_tile_map/config.py @@ -7,8 +7,14 @@ def configure(env): def get_doc_classes(): return [ + "LayeredTileData", "LayeredTileMap", - "LayeredTileSet" + "LayeredTileMapLayerGroup", + "LayeredTileMapPattern", + "LayeredTileSet", + "LayeredTileSetAtlasSource", + "LayeredTileSetScenesCollectionSource", + "LayeredTileSetSource", ] def get_doc_path():