Commit Graph

54 Commits

Author SHA1 Message Date
6375b10b5c Added a voxel_ prefix to a bunch of methods. 2021-04-18 22:25:53 +02:00
e42d12b9f3 Same change to Biome. 2021-04-18 22:08:16 +02:00
3d17c8a510 Same change to Planet. 2021-04-18 22:06:01 +02:00
eb7b5788c8 Same change to Dungeon. 2021-04-18 22:03:25 +02:00
70595c6965 Grouped together class variables aswell. 2021-04-18 22:01:03 +02:00
441f548c99 Moved the voxelman specific methods/binds together in DungeonRoom. Also found 2 remaining #else statements. 2021-04-18 21:59:59 +02:00
e3080525e8 Removed the properties which gets created if voxelman isn't present. They weren't that useful. 2021-04-18 20:14:09 +02:00
d12ab222a2 Fix compile for 4.0. 2021-02-06 11:45:52 +01:00
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
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
627a22dc2b Update for the latest Voxelman. 2020-04-19 23:36:05 +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
35a2ab30fe VoxelChunk is now inherited from Resource. 2020-04-02 21:28:58 +02: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
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
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
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
a1aa09ab6d More work on the bindings. 2019-10-18 10:45:02 +02:00
b176ecc7bf More work on the bindings. 2019-10-18 10:22:11 +02:00
6c94bafc8e Compile fix. 2019-10-18 09:45:27 +02:00
2abdb972e0 More work on the bindings. 2019-10-18 09:43:45 +02:00
a6b538f0d0 Added DungeonCorridor. 2019-10-18 09:18:23 +02:00
a0fc4dfef2 Work on the bindings. 2019-10-18 09:00:01 +02:00
e199300fff Added map generation virtual methods. 2019-10-14 21:50:35 +02:00
fc7e054559 -Added environment to everything.
-Destructors will now clean up vectors.
-Fixed a few inheritances.
2019-10-08 00:18:51 +02:00