Refactor SixelRasterizer and SoftwareRasterizer for improved terminal handling and menu rendering

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-18 20:21:35 +01:00
parent 0e143892f0
commit ac6edb030e
3 changed files with 119 additions and 36 deletions

View File

@@ -99,7 +99,9 @@ class Wolf3d {
engineAudio: audio,
input: input,
onGameWon: onGameWon,
onMenuExit: onGameWon,
// In Flutter we keep the renderer screen active while browsing menus,
// so backing out of the top-level menu should not pop the route.
onMenuExit: () {},
onGameSelected: (game) {
_activeGame = game;
audio.activeGame = game;