Add game_config.cfg's show_*_orb to the schema, rename show_partly_orb
These keys are supported in game_config.cfg, but currently they're not used in that file, instead falling back to the defaults in the C++. The name show_partly_orb is inconsistent - in other places, including the WML that's stored in the user's preferences file, it's called show_partial_orb.
This commit is contained in:
parent
88f13f32ff
commit
8e90a2616b
2 changed files with 8 additions and 1 deletions
|
@ -42,6 +42,13 @@
|
|||
{SIMPLE_KEY footprint_teleport_exit string}
|
||||
{SIMPLE_KEY fog_prefix string}
|
||||
{SIMPLE_KEY shroud_prefix string}
|
||||
{SIMPLE_KEY show_ally_orb bool}
|
||||
{SIMPLE_KEY show_disengaged_orb bool}
|
||||
{SIMPLE_KEY show_enemy_orb bool}
|
||||
{SIMPLE_KEY show_moved_orb bool}
|
||||
{SIMPLE_KEY show_partial_orb bool}
|
||||
{SIMPLE_KEY show_status_on_ally_orb bool}
|
||||
{SIMPLE_KEY show_unmoved_orb bool}
|
||||
[tag]
|
||||
name="server"
|
||||
max=infinite
|
||||
|
|
|
@ -319,7 +319,7 @@ void load_config(const config &v)
|
|||
show_ally_orb = v["show_ally_orb"].to_bool(true);
|
||||
show_enemy_orb = v["show_enemy_orb"].to_bool(false);
|
||||
show_moved_orb = v["show_moved_orb"].to_bool(true);
|
||||
show_partial_orb = v["show_partly_orb"].to_bool(true);
|
||||
show_partial_orb = v["show_partial_orb"].to_bool(true);
|
||||
show_status_on_ally_orb = v["show_status_on_ally_orb"].to_bool(true);
|
||||
show_unmoved_orb = v["show_unmoved_orb"].to_bool(true);
|
||||
show_disengaged_orb = v["show_disengaged_orb"].to_bool(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue