|
d717c9886b
|
Fix set_chunks, and enter_tree.
|
2020-04-06 00:51:25 +02:00 |
|
|
9da5d2e2d0
|
VoxelChunk now inherits from Resource instead of from Spatial. This is to make the scene cleaner (especially after I implement the world editor plugin). As a small bonus this should also make multithreading-related crashes harder to create, as manipulating the Scenetree from a thread by accident is now a lot harder.
|
2020-04-02 21:28:19 +02:00 |
|
|
599b3eb8ea
|
Fixed 2 warnings.
|
2020-03-31 13:32:06 +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 |
|
|
666695a220
|
Now VoxelChunkDefault will move it's meshes if it's transform changes, free them on EXIT_TREE, and sets their visibility. Also added a few missing break statements.
|
2020-03-15 19:33:10 +01:00 |
|
|
080e8f2437
|
Broke up VoxelChunk into VoxelChunk and VoxelChunkDefault.
|
2020-03-12 23:23:38 +01:00 |
|
|
59291a9417
|
Fix math in is_position_walkable.
|
2020-03-04 18:35:09 +01:00 |
|
|
fbd2903477
|
Added is_position_walkable query to World, also a few related things.
|
2020-03-04 15:21:32 +01:00 |
|
|
dec4fcd402
|
Added get_max_frame_chunk_build_steps to be able to limit the chunk build steps launched per frame. Also a few smaller improvements.
|
2020-03-04 14:59:34 +01:00 |
|
|
d431ca4daa
|
Added index-based remove chunk function, also fixed remove_chunk, now it properly removes the given chunk from the chunk map.
|
2020-03-04 10:48:53 +01:00 |
|
|
a457ed400c
|
Added data margin start, and end property to VoxelWorld for easy access. Improved set_voxel, and get_voxel in VoxelChunk to accomodate for margins as originally intended (e.g. if start_margin is 1, indexes go from -1 to size + end margin). Fixed/updated indexing in VoxelMesherCubic.
|
2020-02-14 03:19:15 +01:00 |
|
|
fd1ff4b4ff
|
Better chunk building setup. And smaller fixes and tweaks.
|
2020-02-10 23:39:57 +01:00 |
|
|
db77530ec1
|
Updated the license for 2020, and added it to the top of my cpp files.
|
2020-01-31 19:52:37 +01:00 |
|
|
a67d0393ca
|
Clang format.
|
2020-01-09 04:29:05 +01:00 |
|
|
edec04cfdc
|
Chunk now supports threaded builds. Also small fixes.
|
2019-11-19 20:39:45 +01:00 |
|
|
a377c994e9
|
Fixes.
|
2019-11-19 19:14:46 +01:00 |
|
|
ffb154a4fe
|
More work.
|
2019-11-19 16:42:38 +01:00 |
|
|
1003a393e6
|
More work.
|
2019-11-19 16:33:06 +01:00 |
|
|
d2566ab82b
|
gdscript->c++ conversions.
|
2019-11-19 14:42:21 +01:00 |
|
|
d5acb28a90
|
More work on fixing compile.
|
2019-11-18 22:22:41 +01:00 |
|
|
f0cd4008fc
|
Added WorldArea.
|
2019-11-10 01:03:48 +01:00 |
|
|
3f7b422662
|
VoxelChunk is s Spatial now (again).
|
2019-11-06 03:37:22 +01:00 |
|
|
5eb5249147
|
Level generator skeleton class.
|
2019-09-03 13:52:32 +02:00 |
|
|
34e109a54b
|
Moved more properties.
|
2019-08-12 20:40:05 +02:00 |
|
|
b0dc290c20
|
Started moving common things in VoxelWorld to c++.
|
2019-08-12 13:12:42 +02:00 |
|
|
ba05f93aa2
|
-Removed Voxel, not needed.
-Huge cleanup.
-Moved the voxel query to a new folder, also it's not in the build anymore. Will be removed shortly.
|
2019-06-07 19:13:07 +02:00 |
|
|
9fb6a4e1c1
|
Progress on getting voxelman to work again, also cleanups.
|
2019-06-07 01:33:41 +02:00 |
|