declare map_visible to make editors compile

Please forgive me
This commit is contained in:
2025-04-09 22:40:11 -05:00
parent 98e87b155d
commit 6f2ae680de
2 changed files with 4 additions and 0 deletions

View File

@@ -83,6 +83,8 @@ char start_name[256];
// This is just to make location.hpp compile, and represents nothing:
location center;
bool map_visible = false;
static void process_args(int argc, char* argv[]) {
preprocess_args(argc, argv);
clara::Args args(argc, argv);

View File

@@ -101,6 +101,8 @@ fs::path game_dir;
fs::path game_binary;
extern std::string last_load_file;
bool map_visible = false;
enum class eLaunchType {LOC,START,ENTRANCE};
static void launch_scenario(eLaunchType type) {