diff --git a/SCsub b/SCsub index e20b498..8e7afaa 100644 --- a/SCsub +++ b/SCsub @@ -41,26 +41,9 @@ env.add_source_files(env.modules_sources,"props/prop_data_entity.cpp") env.add_source_files(env.modules_sources,"level_generator/voxelman_level_generator.cpp") - -env.add_source_files(env.modules_sources,"register_types.cpp") - -env.add_source_files(env.modules_sources,"world_generator/main/dungeon_room.cpp") -env.add_source_files(env.modules_sources,"world_generator/main/dungeon_corridor.cpp") -env.add_source_files(env.modules_sources,"world_generator/main/dungeon.cpp") -env.add_source_files(env.modules_sources,"world_generator/main/biome.cpp") -env.add_source_files(env.modules_sources,"world_generator/main/planet.cpp") - -env.add_source_files(env.modules_sources,"world_generator/data/dungeon_room_data.cpp") -env.add_source_files(env.modules_sources,"world_generator/data/dungeon_corridor_data.cpp") -env.add_source_files(env.modules_sources,"world_generator/data/dungeon_data.cpp") -env.add_source_files(env.modules_sources,"world_generator/data/biome_data.cpp") -env.add_source_files(env.modules_sources,"world_generator/data/planet_data.cpp") -env.add_source_files(env.modules_sources,"world_generator/data/world_generator_prop_data.cpp") - -env.add_source_files(env.modules_sources,"world_generator/world_generator.cpp") - env.add_source_files(env.modules_sources,"areas/world_area.cpp") env.add_source_files(env.modules_sources,"clutter/ground_clutter.cpp") env.add_source_files(env.modules_sources,"clutter/ground_clutter_foliage.cpp") +env.add_source_files(env.modules_sources,"register_types.cpp") diff --git a/register_types.cpp b/register_types.cpp index 9aaca06..7314197 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -34,21 +34,6 @@ #include "level_generator/voxelman_level_generator.h" -#include "world_generator/data/dungeon_room_data.h" -#include "world_generator/data/dungeon_corridor_data.h" -#include "world_generator/data/dungeon_data.h" -#include "world_generator/data/biome_data.h" -#include "world_generator/data/planet_data.h" -#include "world_generator/data/world_generator_prop_data.h" - -#include "world_generator/main/biome.h" -#include "world_generator/main/dungeon.h" -#include "world_generator/main/dungeon_corridor.h" -#include "world_generator/main/dungeon_room.h" -#include "world_generator/main/planet.h" - -#include "world_generator/world_generator.h" - #include "areas/world_area.h" #include "clutter/ground_clutter.h" @@ -91,21 +76,6 @@ void register_voxelman_types() { ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - ClassDB::register_class(); - - ClassDB::register_class(); - ClassDB::register_class(); ClassDB::register_class(); diff --git a/world_generator/data/biome_data.cpp b/world_generator/data/biome_data.cpp deleted file mode 100644 index 56bded9..0000000 --- a/world_generator/data/biome_data.cpp +++ /dev/null @@ -1,377 +0,0 @@ -#include "biome_data.h" - -String BiomeData::get_target_class_name() { - return _target_class_name; -} -void BiomeData::set_target_class_name(String name) { - _target_class_name = name; -} - -Ref