returns the option for scanlines, cleans up config
This commit is contained in:
parent
e62a081103
commit
ff344ccee4
6 changed files with 40 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue