Improve physical geometry, fluid solvers, audio, and profiling

This commit is contained in:
max
2026-10-30 18:57:56 +01:00
parent bf8621ad39
commit eb2b6366c2
130 changed files with 14649 additions and 862 deletions

View File

@@ -16,8 +16,13 @@ struct ScenarioExample {
EngineConfig engine{};
std::string category;
int order{};
std::filesystem::path source_path;
};
ScenarioExample load_engine_file(const std::filesystem::path& path);
void migrate_engine_geometry(const std::filesystem::path& path,bool relayout=false);
// Writes a distinct, validated engine file; never overwrites a preset.
std::filesystem::path save_tuned_engine(const ScenarioExample& source,const EngineConfig& tuning,
const std::filesystem::path& directory);
std::vector<ScenarioExample> load_engine_directory(const std::filesystem::path& directory);
// FLUIDSIM_ENGINE_DIR overrides discovery. Otherwise search the working directory,
// beside the executable, then the source tree for developer tools.