Commit Graph

25 Commits

Author SHA1 Message Date
232aae5726 Updated the modules to the latest. I changed the Terra and Terraman class prefixes to Terrain. 2022-02-08 14:44:37 +01:00
f3c9129171 Implemented undo redo support for world generator's DataList. 2022-01-21 23:57:37 +01:00
e13be6f3f5 Added a class and script property by default to the property inspector. 2021-12-27 22:20:09 +01:00
1dd6aa25f4 Add the locked property to the property inspector. 2021-12-27 22:05:08 +01:00
1cb11ca32a Fix hit stack calculation. 2021-12-27 14:27:33 +01:00
82435d4c59 Added parent pos setup to the world generator resources. 2021-12-27 03:48:55 +01:00
808c8e97d3 Now terra chunks are actually properly generated by placing chunks on the world generator's grid. 2021-12-27 02:38:05 +01:00
0c96328005 Ported the current world generator to the new addon. Now the world in-game uses the new world generator's resource to generate the terrain. 2021-12-26 21:14:41 +01:00
3adfad40a2 Added a seed parameter to the world generation methods. 2021-12-26 19:08:45 +01:00
47c49b56ab Added the needed methods for terrain generation. 2021-12-26 19:05:48 +01:00
4ff14380a1 Added a new WorldGeneratorSettings resource which can store and load in world generator related classes from folders. 2021-12-26 18:51:46 +01:00
9cac983ff5 Added a new get_editor_class to the WoirldGeneratorBaseResource, and now the RectViewNode will also render it if it's not an empty string. 2021-12-26 18:50:09 +01:00
f739cca1f4 Now the added resource's rect gets recalculated on add_content() instead in create_content() 2021-12-26 18:48:29 +01:00
cc6669bb12 Implemented delete and duplicate buttons in world. Also made sure that the inspectors update properly after the edited resources change. 2021-12-26 00:25:30 +01:00
829b01b72f Set up proper drawing for RectViewNode. it grabs the required parameters from new methods in WorldGenBaseResource. 2021-12-26 00:03:17 +01:00
200a030882 Zero the positions of the created contents. 2021-12-25 11:30:22 +01:00
c21970b82f Also add the initial rect size setup code to Continent and Zone. 2021-12-25 03:26:33 +01:00
87e4318e06 Implemented editing the names of resources in the DataList widget. 2021-12-25 02:15:17 +01:00
4cc9baf23b When adding a continent the world will set up a base size now. 2021-12-25 01:55:52 +01:00
1a3a95809a Ported drag and resize code from godot's window dialog as a base for RectViewNode. 2021-12-24 22:20:30 +01:00
c2e75ef147 Added a rect2 property. And started working on the rect editor. 2021-12-23 00:45:32 +01:00
3f7f5c0e07 Implement basic data list node. Also fix error spam. 2021-12-22 16:52:06 +01:00
e44d367c0e Now world generator's resources inherit from a new base resource. 2021-12-22 16:14:26 +01:00
855b1120ab Add some exports to world generator's resources. 2021-12-22 10:03:55 +01:00
5723a11825 Initial class and plugin setup. 2021-12-21 21:50:22 +01:00