first steps - extreme wip

1. need to finish curses12x24 first of all
2. bind everything to the viewport, and make scalable
This commit is contained in:
Llywelwyn 2023-09-03 01:45:18 +01:00
parent d018d9077d
commit 2a3c59ad33
11 changed files with 750 additions and 978 deletions

View file

@ -112,6 +112,7 @@ pub enum CharCreateResult {
/// Handles the player character creation screen.
pub fn character_creation(gs: &mut State, ctx: &mut Rltk) -> CharCreateResult {
ctx.set_active_console(1);
let runstate = gs.ecs.fetch::<RunState>();
let mut x = 2;
@ -245,6 +246,7 @@ pub fn character_creation(gs: &mut State, ctx: &mut Rltk) -> CharCreateResult {
}
}
}
ctx.set_active_console(0);
return CharCreateResult::NoSelection { ancestry: Ancestry::Human, class: Class::Fighter };
}