From: Christian Heller Date: Sun, 1 Nov 2020 01:39:55 +0000 (+0100) Subject: Rename shows_annotations to now more precise shows_info. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/condition?a=commitdiff_plain;h=90d2bbb8700e06f811e0d7cba8a72f30f3ad5438;p=plomrogue2-experiments Rename shows_annotations to now more precise shows_info. --- diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 578e971..3e25304 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -243,10 +243,10 @@ let unparser = { } class Mode { - constructor(name, has_input_prompt=false, shows_annotations=false, is_intro=false) { + constructor(name, has_input_prompt=false, shows_info=false, is_intro=false) { this.name = name; this.has_input_prompt = has_input_prompt; - this.shows_annotations = shows_annotations; + this.shows_info= shows_info; this.is_intro = is_intro; } } @@ -387,7 +387,7 @@ let tui = { center_pos = t; } }; - if (tui.mode.shows_annotations) { + if (tui.mode.shows_info) { map_lines[explorer.position[0]][explorer.position[1]] = '?'; center_pos = explorer.position; } @@ -442,7 +442,7 @@ let tui = { this.draw_map(); this.draw_turn_line(); this.draw_mode_line(); - if (this.mode.shows_annotations) { + if (this.mode.shows_info) { this.draw_info(); } else { this.draw_history();