'dynamic' namespace refactor + sensitivity is a NumberSetting now

This commit is contained in:
MihailRis 2024-03-31 17:30:02 +03:00
parent 398347bd81
commit 48982e3478
14 changed files with 168 additions and 140 deletions

View file

@ -9,6 +9,7 @@
#include "content/Content.h"
#include "content/ContentPack.h"
#include "files/engine_paths.h"
#include "files/settings_io.h"
#include <filesystem>
#include <memory>
@ -37,6 +38,7 @@ public:
class Engine {
EngineSettings& settings;
SettingsHandler settingsHandler;
EnginePaths* paths;
std::unique_ptr<Assets> assets = nullptr;
@ -118,6 +120,8 @@ public:
/// @brief Enqueue function call to the end of current frame in draw thread
void postRunnable(runnable callback);
SettingsHandler& getSettingsHandler();
};
#endif // SRC_ENGINE_H_