Minor fixes to make initializing the terminal more consistent and to remove a magic number for wall limits.
This commit is contained in:
parent
2d5490131d
commit
ae43dad499
12 changed files with 47 additions and 42 deletions
2
gui.cpp
2
gui.cpp
|
@ -63,7 +63,7 @@ void GUI::save_world() {
|
|||
}
|
||||
|
||||
void GUI::create_renderer() {
|
||||
Terminal::SetColorSupport(Terminal::Color::TrueColor);
|
||||
$renderer.init_terminal();
|
||||
auto player = $world.get_the<Player>();
|
||||
|
||||
$map_view.set_renderer(Renderer([&] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue