From 6cff0839fdb11fd021b45eeb7bb4e73d57826e19 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 1 Dec 2024 12:43:31 +0100 Subject: [PATCH] unlock_all flag --- config.cpp | 5 +++++ geom-exp.cpp | 2 +- menus.cpp | 6 +++--- yendor.cpp | 2 ++ 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/config.cpp b/config.cpp index b5284063..e924c78b 100644 --- a/config.cpp +++ b/config.cpp @@ -22,6 +22,8 @@ EX bool return_false() { return false; } EX bool use_bool_dialog; +EX bool unlock_all; + /** set to true if a parameter was changed as a consequence of changing linked parameters */ EX bool linked_consequence; @@ -1777,6 +1779,9 @@ EX void initConfig() { param_i(stamplen, "stamplen"); param_f(anims::period, "animperiod"); + param_b(unlock_all, "unlock_all") + -> editable("allow access to all unlockable contant", 'U'); + param_b(use_custom_land_list, "customland_use")->be_non_editable(); for(int i=0; i= 20; }