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:
parent
d018d9077d
commit
2a3c59ad33
11 changed files with 750 additions and 978 deletions
|
|
@ -164,6 +164,9 @@ impl GameState for State {
|
|||
new_runstate = *runstate;
|
||||
}
|
||||
// Clear screen
|
||||
ctx.set_active_console(1);
|
||||
ctx.cls();
|
||||
ctx.set_active_console(0);
|
||||
ctx.cls();
|
||||
particle_system::particle_ticker(&mut self.ecs, ctx);
|
||||
|
||||
|
|
@ -559,6 +562,9 @@ impl GameState for State {
|
|||
new_runstate = self.mapgen_next_state.unwrap();
|
||||
}
|
||||
if self.mapgen_history.len() != 0 {
|
||||
ctx.set_active_console(1);
|
||||
ctx.cls();
|
||||
ctx.set_active_console(0);
|
||||
ctx.cls();
|
||||
camera::render_debug_map(&self.mapgen_history[self.mapgen_index], ctx);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue