Commit Graph

31 Commits

Author SHA1 Message Date
efc9f895bd Work on fixing compile. 2023-01-09 01:16:03 +01:00
65485930a2 Call make_visible(false) instead of just hiding voxel_world_editor. This fixes #7. Thanks. 2022-02-09 14:38:05 +01:00
fe4a83b909 Changed the Voxelman prefix of the classes to just Voxel as suggested by filipworksdev. Closes #5. Thanks. 2022-02-08 12:36:37 +01:00
abe5db00cb Work on fixing compile for 4.0. 2022-02-07 00:15:44 +01:00
9ea3cf8de2 Fixed compile for recent versions of 3.x. Closes #4, thanks! 2022-02-06 18:10:10 +01:00
9a151ffc6c Same treatment to methods in VoxelManLibrary. 2020-10-27 23:24:24 +01:00
cf370025fc Moved the position calculation from the world editor to a virtual method inside VoxelWorld. 2020-10-24 02:41:32 +02:00
e14bc67da8 Implement isolevel support for the voxel editor. 2020-10-12 16:39:52 +02:00
b88e430950 Remove unused import. 2020-06-20 22:07:50 +02:00
1d51be2f0b Moved 4.0 compatibility code into a new defines.h (like in ESS). 2020-05-23 10:34:47 +02:00
edce32b190 Fix compile for 4.0. 2020-05-16 21:32:02 +02:00
21ad01ca80 Removed separate liquid surfaces. They will be contained inside the normal voxel arrays. 2020-04-19 23:35:47 +02:00
4a2321b161 Some settings in world will now get distributed to chunks. is_build_threaded has been moved from coxel chunk default to voxel chunk. ALso fixed a few crashes. 2020-04-18 02:15:01 +02:00
bee499d951 The library now has an initialized bool. Also the world editor will refresh rects in the library if needed. 2020-04-17 19:21:46 +02:00
c382dac3ff Added a new tool to the world editor, it adds a block to the location of the spatial editor's camera. 2020-04-17 18:36:14 +02:00
9cdd107565 Added the surface lists into scroll containers. Also text is now aligned to the left on the buttons. 2020-04-17 02:39:23 +02:00
35863196d7 Now the world editor will use the channel reported by world's get_channel_index_info. Also it now has support for liquid channels (based on the currently selected tab). 2020-04-17 02:09:24 +02:00
f43e4a2cc4 Implemented add and remove tool mode selectors in world editor. Also added shortcuts (a, s). 2020-04-17 01:52:16 +02:00
7c0390de74 The air block is not required anymore. Also Implemented the sidebar for world editor. And fixed a naming error for a virtual method in the merger library. 2020-04-17 00:37:22 +02:00
135b34c8a8 Moved the chunk position calculations from the world editor into VoxelWorld. 2020-04-16 14:44:22 +02:00
c752086bdd A bit more work on the world editor. 2020-04-10 16:28:33 +02:00
fd24639e26 The world editor now won't use right click, as it makes navigation awful. 2020-04-10 16:13:04 +02:00
acf2d2d701 Fix 2 multithreading related crashes. 2020-04-10 15:50:53 +02:00
01c57c30e6 Fix error when the data margins are 0. 2020-04-10 13:43:49 +02:00
17dfbb4cab Fix voxel index calculations in the world editor. 2020-04-10 13:40:07 +02:00
073e1aeb97 Fix build for 4.0. 2020-04-09 12:34:39 +02:00
f63a8910dc Fix coord calculation for the editor plugin. 2020-04-06 19:46:17 +02:00
d717c9886b Fix set_chunks, and enter_tree. 2020-04-06 00:51:25 +02:00
98707674a4 Initial implementation for the voxel world editor. 2020-04-05 21:02:51 +02:00
f7fd0193ea Added an editable property to VoxelWorld, and made the world editor plugin make use of it. 2020-03-31 13:25:31 +02:00
e45e3875f8 Setup for a new VoxelWorldEditor. 2020-02-27 14:27:52 +01:00