returns the option for scanlines, cleans up config

This commit is contained in:
Llywelwyn 2023-08-23 21:14:07 +01:00
parent e62a081103
commit ff344ccee4
6 changed files with 40 additions and 25 deletions

View file

@ -7,7 +7,6 @@ const SHOW_BOUNDARIES: bool = false;
pub fn get_screen_bounds(ecs: &World, _ctx: &mut Rltk) -> (i32, i32, i32, i32, i32, i32) {
let player_pos = ecs.fetch::<Point>();
//let (x_chars, y_chars) = ctx.get_char_size();
let (x_chars, y_chars, x_offset, y_offset) = (69, 41, 1, 10);
let centre_x = (x_chars / 2) as i32;