Commit Graph

65 Commits

Author SHA1 Message Date
805928da18 Update for the newest voxelman. 2020-10-27 23:24:45 +01:00
c7a98e704d Added data variants of the dungeon room properties to the dungeon class. 2020-08-23 00:55:35 +02:00
2b17341ac2 Fix compile without Voxelman. 2020-08-01 11:37:38 +02:00
bc2ee7171a Now instance() will create the proper class instance, and also set up the script on it. 2020-07-22 01:59:53 +02:00
eed7f40e51 Fix call parameters. 2020-07-21 22:53:09 +02:00
bc7b040fc3 Automatically setup scripts aswell in the base classes. 2020-07-21 22:44:14 +02:00
457de8cb4c Don't try to duplicate non valid resources. 2020-07-21 22:27:51 +02:00
cf3c6db8c4 Add "p_" prefix to the virtual _instance()'s parameters, as in gdscript seed, and instance are both seen as methods. 2020-07-21 22:19:25 +02:00
a1b988e154 Add instance() methods as an easy and scriptable way of duplicating planets, biomes etc. Also removed a few unused members. 2020-07-21 22:03:59 +02:00
e7acee7614 Same thing with DungonRooms and Corridors. 2020-07-21 19:32:21 +02:00
3911f42894 Did the same to Dungeon and DungeonData. 2020-07-21 18:41:52 +02:00
9ccdac99c2 Also merged together BiomeData and Biome. 2020-07-21 18:06:47 +02:00
733f754783 Merged PlanetData into Planet. 2020-07-21 17:28:28 +02:00
59dde526b9 Complete some of the _setup_library methods. 2020-07-20 18:30:39 +02:00
882008ac7f Remove a few unneeded class variables. Also hide a few properties from the editor/serialization. 2020-07-18 18:23:36 +02:00
358a62d919 Don't call setup() in set_data. 2020-07-18 14:36:14 +02:00
873a5f3e4a Fix property type information. 2020-07-18 12:44:35 +02:00
9f696b50ab Fix 2 typos. 2020-07-18 12:09:28 +02:00
b70154cbdd Add instance() helper to the data classes. 2020-07-17 20:53:40 +02:00
9a4f9f9809 Replaced target script and target class names with proper classes. 2020-07-10 02:37:40 +02:00
44add0a26e Biome, Dungeon, DungeonRoom and Planet are now Resources. 2020-07-10 01:59:09 +02:00
c10d7b7b8c Fix compile when the props module isn't present. 2020-06-27 18:25:51 +02:00
97f10512f8 Sync classref with current source. 2020-04-20 17:37:18 +02:00
627a22dc2b Update for the latest Voxelman. 2020-04-19 23:36:05 +02:00
9d946f1623 Sync classref with the current source. 2020-04-14 17:00:18 +02:00
4fe75fd30b Clang format. 2020-04-10 13:56:08 +02:00
52f7bcdd12 Fix build for 4.0. 2020-04-09 12:35:10 +02:00
ccd54e340b Fix compile without dependencies. 2020-04-06 22:35:30 +02:00
b03cbf18f7 Props are now PackedScenes. 2020-04-04 17:22:40 +02:00
eef846860c Sync classref with the current source. 2020-04-03 09:36:30 +02:00
9471551987 Fix compile after the last Voxelman change. 2020-04-03 09:33:23 +02:00
35a2ab30fe VoxelChunk is now inherited from Resource. 2020-04-02 21:28:58 +02:00
533c25e96f Update the class list in config.py, and sync classref to the current source. 2020-03-22 01:09:53 +01:00
a08917370c Cleanups to the api, also props will now get added to VoxelmanLibrary. 2020-02-16 02:50:35 +01:00
09372b1469 Updated the license for 2020, and added it to the top of the cpp files (Except the files in the ququed folder, as most of it will be deleted). 2020-01-31 19:57:03 +01:00
e5f5d205f8 Clang format everything. 2020-01-09 04:28:08 +01:00
459538d6b9 Fix shared module detection. 2020-01-03 21:06:06 +01:00
ddc91f7f08 The module can now be built as a shared library. 2020-01-03 16:55:12 +01:00
63da1cc4a2 Doc setup. 2019-12-25 14:08:42 +01:00
58e38c07bd Now this module can be compiled without voxelman. Will detect if present automatically. (see the SCub file) Also added guards for ESS, but compiling without ESS was not tested. 2019-12-19 18:49:32 +01:00
290d973ea9 Quick and dirty Readme.md. 2019-11-22 00:57:24 +01:00
335495eebd The project has MIT license now. 2019-11-22 00:55:42 +01:00
851d09ef15 Fix compile. 2019-11-16 23:56:56 +01:00
42b7cecec6 Brought back the changes from the voxelman Repository. 2019-11-16 23:43:46 +01:00
572d7c7493 Typo fix and update. 2019-11-07 21:31:58 +01:00
128f40a6f6 Renamed PropData to WorldGeneratorPropData. 2019-11-07 19:47:59 +01:00
72fdb52731 Update for Voxelman's changes. 2019-11-06 03:38:02 +01:00
2956e67f60 Added level ranges. 2019-11-01 15:42:03 +01:00
b6b5708003 Fix mistake with bindings. 2019-10-31 01:53:45 +01:00
c110bea4c5 Added a spawn_mobs bool To the genetarion methods, also work on bindings. 2019-10-31 01:50:26 +01:00