Commit Graph

16 Commits

Author SHA1 Message Date
3c6a4672f7 Refactor and enhance documentation across the Wolf3D project
- Updated library imports to use the correct package paths for consistency.
- Added detailed documentation comments to various classes and methods, improving code readability and maintainability.
- Refined the GameSelectScreen, SpriteGallery, and VgaGallery classes with clearer descriptions of their functionality.
- Enhanced the CliInput class to better explain the input handling process and its interaction with the engine.
- Improved the SixelRasterizer and Opl2Emulator classes with comprehensive comments on their operations and state management.
- Removed the deprecated wolf_3d.dart file and consolidated its functionality into wolf_3d_flutter.dart for a cleaner architecture.
- Updated the Wolf3dFlutterInput class to clarify its role in merging keyboard and pointer events.
- Enhanced the rendering classes to provide better context on their purpose and usage within the Flutter framework.

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 10:01:12 +01:00
28938f7301 Refactor game loop to await start and enhance Sixel rasterizer terminal support detection
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 02:43:39 +01:00
b040b88d8a Cleaned up cli initialization
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 02:06:07 +01:00
7ee1d0704d Fixes pushwalls and a bunch of ASCII/sixel rasterizer issues
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 02:02:39 +01:00
d7692ea325 Improves ASCII rasterization speed and simplifies API
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 01:37:04 +01:00
309bf5c699 Added ability to swap between ASCII and sixel renderers when pressing tab
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 01:02:46 +01:00
58838a1baa Remove ascii theme switching since we don't need it anymore with the updated ascii rasterizer
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 00:16:07 +01:00
458c0a5d14 Double "resolution" in the CLI
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-17 23:41:05 +01:00
f9e4f08363 Added ability to switch ascii themes by pressing tab
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-17 23:12:35 +01:00
4c28a66554 Corrected enemy entity mapping
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-17 20:06:11 +01:00
0dc75ded62 Migrate all Dart packages to a single wolf_3d_dart package
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-17 10:55:10 +01:00
cd56366366 Draw better CLI HUD
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-16 16:59:47 +01:00
400720a56e Fix ASCII rasterizer scaling for CLI
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-16 16:29:08 +01:00
b702c50d30 Unified game screen and abstracted input
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-16 16:10:12 +01:00
fdfe5d336f Fixed ASCII and cli rendering
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-16 15:26:10 +01:00
9410916b57 Moved everything to a monorepo and fixed the CLI app rendering
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-16 15:09:37 +01:00