1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Migrate existing keycode-based keybindings (#16049)

Co-authored-by: grorp <gregor.parzefall@posteo.de>
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
y5nw 2025-05-14 22:15:15 +02:00 committed by GitHub
parent 600763dffc
commit 57c1ab905c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 140 additions and 13 deletions

View file

@ -18,6 +18,8 @@ struct NoiseParams;
// Global objects
extern Settings *g_settings; // Same as Settings::getLayer(SL_GLOBAL);
extern std::string g_settings_path;
/// Is set to true if the engine runs for the first time
extern bool g_first_run;
// Type for a settings changed callback function
typedef void (*SettingsChangedCallback)(const std::string &name, void *data);