a08af99b6f
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
1.5 KiB
1.5 KiB
wolf_3d_assets
Shared asset package that exposes Wolfenstein 3D game-data trees for workspace apps.
What This Package Is
wolf_3d_assets is a content package used by Flutter hosts to bundle known asset directories.
This package does not expose runtime logic APIs; it exists to provide structured asset roots consumed by hosts and tooling.
Current Asset Layout
Configured asset roots (see pubspec.yaml):
assets/retail/assets/shareware/assets/sod/shareware/
Setup
From this directory:
flutter pub get
How Hosts Consume It
- Dependent Flutter apps/packages include
wolf_3d_assetsas a workspace dependency. - Flutter build tooling includes directories listed in this package
pubspec.yaml. - Runtime data discovery/selection is handled by host and engine packages.
Maintenance Guidelines
When updating assets:
- Preserve directory structure conventions by game/version.
- Update
pubspec.yamlasset entries if new top-level roots are introduced. - Validate that host apps still discover and load the updated data sets.
Verification
Because this is a content package, verification is integration-focused:
- run
apps/wolf_3d_guiand confirm expected data appears, - run
apps/wolf_3d_cliwith explicit--data-directorywhen testing local trees.
Related Modules
- Core runtime:
../wolf_3d_dart/README.md - Flutter integration package:
../wolf_3d_flutter/README.md - Workspace overview:
../../README.md