ranged targeting fixes (set_bg doesn't work with fancy console)

currently not using fancy features for anything, so just went back to the simple console
This commit is contained in:
Llywelwyn 2023-07-28 17:58:32 +01:00
parent 6e6d364aa5
commit 1e25d062db
6 changed files with 39 additions and 18 deletions

View file

@ -210,7 +210,7 @@ impl State {
gamelog::Logger::new()
.append("Taking a short rest, you manage to")
.colour((0, 255, 0))
.append("recover some of your strength")
.append_n("recover some of your strength")
.period()
.log();
let mut pools = self.ecs.write_storage::<Pools>();
@ -499,7 +499,7 @@ fn main() -> rltk::BError {
.with_fps_cap(60.0)
.with_font("curses14x16.png", 14, 16)
.with_tile_dimensions(14, 16)
.with_fancy_console(DISPLAYWIDTH, DISPLAYHEIGHT, "curses14x16.png")
.with_simple_console(DISPLAYWIDTH, DISPLAYHEIGHT, "curses14x16.png")
//.with_simple_console_no_bg(DISPLAYWIDTH, DISPLAYHEIGHT, "terminal8x8.jpg")
.build()?;