Marc Gilleron
994aa50126
Comments
2022-05-02 14:50:27 +01:00
Marc Gilleron
5965bcf98f
FileLocker doesn't depend on Godot
2022-04-19 00:58:29 +01:00
Marc Gilleron
4e3d4d4ed8
Threading classes wrappers
2022-04-19 00:32:37 +01:00
Marc Gilleron
bfa24402ac
Renamed util/funcs.h => container_funcs.h
2022-04-14 21:43:45 +01:00
Marc Gilleron
87d98e9162
Engine-agnostic error macros
2022-04-11 02:10:44 +01:00
Marc Gilleron
0cc3801655
Define smart pointers default allocator in a single place
2022-04-10 20:10:33 +01:00
Marc Gilleron
219c7bfda3
Changed prefix of profiling macros
2022-04-09 15:33:08 +01:00
Marc Gilleron
259a914cbf
Return a ref instead of pointer, it must not be null
2022-04-09 15:05:04 +01:00
Marc Gilleron
ab5d3a22d3
Abstract logging for verbose print
2022-04-09 15:00:34 +01:00
Marc Gilleron
ca83c720ff
Return reference, pointer must not be null
2022-04-08 23:54:04 +01:00
Marc Gilleron
f58199e7de
Added class to schedule custom tasks from scripts
2022-04-07 22:34:07 +01:00
Marc Gilleron
7517ec9a10
Merge branch 'expression_node'
...
# Conflicts:
# server/load_all_blocks_data_task.cpp
2022-04-07 20:18:20 +01:00
Marc Gilleron
5519054c01
Unify macro prefixes
2022-04-06 23:26:54 +01:00
Marc Gilleron
c9aa295b03
Fix unused variables
2022-04-06 01:31:51 +01:00
Marc Gilleron
57357df658
Fix Variant conversion for MacOS clang
2022-04-06 01:31:34 +01:00
Marc Gilleron
f90960d596
Hack something to allow using different depth than default in some cases
2022-04-03 23:15:34 +01:00
Marc Gilleron
61b27491f9
Initial implementation of binary search in Transvoxel.
...
It is very slow but seems to be working. It affines vertex positions,
but normals are not improved. Maybe more work will be done in the future
if that technique becomes more relevant.
Partly based on a prior experiment:
11f716f79d0ade59c0e9547a2333183e96b17b43
2022-03-27 21:36:30 +01:00
Marc Gilleron
3d747f6525
Schedule tasks in batches to reduce locking when many are sent
2022-03-22 20:51:56 +00:00
Marc Gilleron
5ddcbc2065
Added optional threaded execution of VoxelLodTerrain's process function
2022-03-15 00:29:39 +00:00
Marc Gilleron
36ad5a75a2
Fix non-initialized variable
2022-02-13 16:20:08 +00:00
Marc Gilleron
e958739759
Fix some narrowing conversions
2022-02-13 16:19:54 +00:00
Marc Gilleron
b3faec2bef
Removed voxel_block_request.h, use specialized structs
2022-02-12 23:37:02 +00:00
Marc Gilleron
f1c59d452a
Removed more Vector<T> usages.
...
Remaining uses are necessary to communicate with Godot APIs.
2022-02-06 22:26:30 +00:00
Marc Gilleron
392f2d94bf
Don't assign unused fields
2022-02-06 13:48:34 +00:00
Marc Gilleron
320cc7422c
Rename tasks:
...
- As verbs for the task they do
- Suffixed with Task instead of Request,
to avoid confusion with network stuff
2022-02-06 13:45:51 +00:00
Marc Gilleron
ff6bd7b82d
Fix GCC initializer list reorder warnings
2022-02-05 17:32:36 +00:00
Marc Gilleron
5aeb6a69e7
Fix shadowing declaration
2022-02-05 17:22:25 +00:00
Marc Gilleron
c6199563c8
Split data request
2022-02-02 23:12:59 +00:00
Marc Gilleron
b7e56c6bec
Moved other tasks out of VoxelServer
2022-02-02 21:03:09 +00:00
Marc Gilleron
0ad7be9281
Moved BlockMeshRequest out of VoxelServer
2022-02-02 01:11:28 +00:00
Marc Gilleron
14fc940491
Moved StructDB to utils
2022-01-31 21:33:12 +00:00
Marc Gilleron
d1250ef0ad
Added support functions to help setting up basic multiplayer with VoxelTerrain
.
...
These might change in the future. Will have to test that later,
when Godot 4 gets more stable.
2022-01-31 21:23:39 +00:00
Marc Gilleron
f838adf26a
Renamed emerge/imerge_block => load_voxel_block/save_voxel_block
2022-01-16 04:21:02 +00:00
Marc Gilleron
9c6118806f
Namespaced remaining stuff
2022-01-09 22:46:26 +00:00
Marc Gilleron
b67ca3d903
Namespaced every registered class
2022-01-09 22:16:44 +00:00
Marc Gilleron
774adfca3c
VoxelServer no longer inherits Object.
...
The Godot-facing singleton is now a different class in gd:: namespace.
Moved the updater to its own file.
2022-01-09 04:53:33 +00:00
Marc Gilleron
e53dcf7c84
Re-namespaced VoxelConstants
2022-01-09 03:06:58 +00:00
Marc Gilleron
9c653b8a9f
Namespaced FixedArray
2022-01-09 02:53:21 +00:00
Marc Gilleron
38baeae2d9
Namespaced VoxelBufferInternal
2022-01-08 22:49:59 +00:00
Marc Gilleron
64415a3c86
Configure clang-format to put a newline after template declarations
2022-01-04 22:15:57 +00:00
Marc Gilleron
0c290082ff
Namespaced StructDB
2022-01-04 21:44:06 +00:00
Marc Gilleron
5ece3b840e
Namespace VoxelMemoryPool
2022-01-03 23:20:38 +00:00
Marc Gilleron
e20684ce69
Namespaced math funcs
2022-01-03 23:14:18 +00:00
Marc Gilleron
30feecaa46
Don't crash if mesh requests are created without mesher (need to fix this in VoxelLodTerrain)
2021-12-31 19:02:46 +00:00
Marc Gilleron
66fb239d80
Renamed VoxelFileLocker => FileLocker and namespaced
2021-12-29 19:22:59 +00:00
Marc Gilleron
0be0fb19b0
Moved task stuff to utilities
2021-12-29 19:08:23 +00:00
Marc Gilleron
39d949f345
AsyncDependencyTracker does not depend on VoxelServer
2021-12-29 18:54:45 +00:00
Marc Gilleron
12caefe577
Renamed VoxelThreadPool => ThreadedTaskRunner and namespace it
2021-12-29 18:25:47 +00:00
Marc Gilleron
8bf7a3695f
Mark profiler frame inside frame_post_draw
signal
2021-12-29 17:31:31 +00:00
Marc Gilleron
4d2fe30661
Use Time singleton
2021-12-29 17:06:24 +00:00