mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 05:28:43 -04:00
implement pre-launch ui for configuring iso directory (#301)
UI will automatically open on boot and will not launch the game if there is no valid iso path specified in the config. Can optionally be disabled on future game launches.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
namespace dusk {
|
||||
extern bool IsShuttingDown;
|
||||
extern bool IsGameLaunched;
|
||||
}
|
||||
|
||||
#endif // DUSK_MAIN_H
|
||||
|
||||
@@ -70,6 +70,11 @@ struct UserSettings {
|
||||
// Controls
|
||||
ConfigVar<bool> enableTurboKeybind;
|
||||
} game;
|
||||
|
||||
struct {
|
||||
ConfigVar<std::string> isoPath;
|
||||
ConfigVar<bool> skipPreLaunchUI;
|
||||
} backend;
|
||||
};
|
||||
|
||||
UserSettings& getSettings();
|
||||
|
||||
Reference in New Issue
Block a user