mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
feat: async pathfinding
This commit is contained in:
parent
be3fb8346f
commit
a78931205f
7 changed files with 168 additions and 112 deletions
|
|
@ -85,6 +85,11 @@ struct GraphicsSettings {
|
|||
IntegerSetting denseRenderDistance {56, 0, 10'000};
|
||||
};
|
||||
|
||||
struct PathfindingSettings {
|
||||
/// @brief Max visited blocks by an agent per async tick
|
||||
IntegerSetting stepsPerAsyncAgent {256, 1, 2048};
|
||||
};
|
||||
|
||||
struct DebugSettings {
|
||||
/// @brief Turns off chunks saving/loading
|
||||
FlagSetting generatorTestMode {false};
|
||||
|
|
@ -109,4 +114,5 @@ struct EngineSettings {
|
|||
DebugSettings debug;
|
||||
UiSettings ui;
|
||||
NetworkSettings network;
|
||||
PathfindingSettings pathfinding;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue