From: Christian Heller Date: Fri, 6 Nov 2020 03:13:50 +0000 (+0100) Subject: Widen Square view, too. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/process?a=commitdiff_plain;h=5456d88241c1ede82de12c069bbe7dcd93c6aa39;p=plomrogue2-experiments Widen Square view, too. --- diff --git a/new2/rogue_chat_curses.py b/new2/rogue_chat_curses.py index 1ae5fa2..9eb99c8 100755 --- a/new2/rogue_chat_curses.py +++ b/new2/rogue_chat_curses.py @@ -384,15 +384,14 @@ class TUI: indent = 0 if indent else 1 else: for line in map_lines_split: - map_lines += [''.join(line)] + map_lines += [' '.join(line)] window_center = YX(int(self.size.y / 2), int(self.window_width / 2)) player = self.game.get_thing(self.game.player_id, False) center = player.position if self.mode.shows_info: center = self.explorer - if type(self.game.map_geometry) == MapGeometryHex: - center = YX(center.y, center.x * 2) + center = YX(center.y, center.x * 2) offset = center - window_center if type(self.game.map_geometry) == MapGeometryHex and offset.y % 2: offset += YX(0, 1) diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 16fd834..e983c35 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -8,7 +8,7 @@ movement: -rows: +rows: cols: command character: