home · contact · privacy
Rename shows_annotations to now more precise shows_info.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 1 Nov 2020 01:39:55 +0000 (02:39 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 1 Nov 2020 01:39:55 +0000 (02:39 +0100)
new2/rogue_chat_nocanvas_monochrome.html

index 578e971912e29ad52991b76d627afdd93da18eaa..3e25304e6cf08df3ee3755330189c23fb2055af7 100644 (file)
@@ -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();