overhaul: data-driven architecture
This commit is contained in:
parent
062d36f640
commit
f53b767376
19 changed files with 680 additions and 727 deletions
|
|
@ -5,7 +5,7 @@ use std::ops::{Add, Mul};
|
|||
|
||||
const SHOW_BOUNDARIES: bool = false;
|
||||
|
||||
pub fn get_screen_bounds(ecs: &World, ctx: &mut Rltk) -> (i32, i32, i32, i32) {
|
||||
pub fn get_screen_bounds(ecs: &World, _ctx: &mut Rltk) -> (i32, i32, i32, i32) {
|
||||
let player_pos = ecs.fetch::<Point>();
|
||||
//let (x_chars, y_chars) = ctx.get_char_size();
|
||||
let (x_chars, y_chars) = (80, 43);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue