Files
wolf_dart/packages/wolf_3d_dart
Hans Kokx d93f467163 Refactor rasterizer classes to centralize HUD drawing and pixel decoding
- Introduced `decodePixel` method in `VgaImage` to handle pixel mapping for planar VGA images.
- Updated `AsciiRasterizer`, `SixelRasterizer`, and `SoftwareRasterizer` to utilize the new `decodePixel` method for improved clarity and reduced code duplication.
- Centralized HUD drawing logic in the `Rasterizer` base class with `drawStandardVgaHud` method, allowing subclasses to easily implement HUD rendering.
- Removed redundant HUD drawing methods from individual rasterizers, streamlining the codebase.
- Enhanced documentation for clarity on methods and their purposes.

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
2026-03-18 17:25:20 +01:00
..
2026-03-18 02:40:53 +01:00