Moved everything to a monorepo and fixed the CLI app rendering

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-16 15:09:37 +01:00
parent ede2c3fa31
commit 9410916b57
53 changed files with 91 additions and 36 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,15 @@
name: wolf_3d_assets
description: "Shared game assets for Wolfenstein 3D apps."
publish_to: "none"
version: 0.1.0
environment:
sdk: ^3.11.1
resolution: workspace
# This tells Flutter to bundle these files when a dependent app builds!
flutter:
assets:
- assets/retail/
- assets/shareware/

View File

@@ -10,5 +10,6 @@ export 'src/managers/door_manager.dart';
export 'src/managers/pushwall_manager.dart';
export 'src/player/player.dart';
export 'src/rasterizer.dart';
export 'src/silent_renderer.dart';
export 'src/software_rasterizer.dart';
export 'src/wolf_3d_engine_base.dart';

View File

@@ -63,7 +63,8 @@ class Wolf3d {
for (final version in versionsToTry) {
try {
final ext = version.version.fileExtension;
final folder = 'assets/${version.path}';
// final folder = 'assets/${version.path}';
final folder = 'packages/wolf_3d_assets/assets/${version.path}';
final data = WolfensteinLoader.loadFromBytes(
version: version.version,

View File

@@ -18,6 +18,7 @@ dependencies:
wolf_3d_engine: any
wolf_3d_entities: any
wolf_3d_input: any
wolf_3d_assets: any
dev_dependencies:
flutter_test:

View File

@@ -3,5 +3,4 @@
/// More dartdocs go here.
library;
export 'src/silent_renderer.dart' show CliSilentAudio;
export 'src/wolf_3d_audio.dart' show WolfAudio;