action w/ direction, and mapgen ctd fix

This commit is contained in:
Llywelwyn 2023-09-25 16:06:45 +01:00
parent 030bda215a
commit 093f9df86e
8 changed files with 3995 additions and 3552 deletions

View file

@ -279,7 +279,9 @@ impl State {
// RunState::ShowTargeting
// RunState::ShowRemoveCurse
// RunState::ShowIdentify
// RunState::ActionWithDirection
RunState::ActionWithDirection { function } => {
new_runstate = gui::get_input_direction(&mut self.ecs, ctx, function);
}
// RunState::MainMenu
// RunState::CharacterCreation
RunState::SaveGame => {
@ -645,7 +647,7 @@ impl State {
}
}
RunState::ActionWithDirection { function } => {
new_runstate = gui::get_input_direction(&mut self.ecs, ctx, function);
new_runstate = RunState::AwaitingInput; //gui::get_input_direction(&mut self.ecs, ctx, function);
}
RunState::MainMenu { .. } => {
let result = gui::main_menu(self, ctx);