Skip to content

Version v0.9.4 - #18

Open
dimspell wants to merge 70 commits into
masterfrom
staging-094
Open

dimspell wants to merge 70 commits into
masterfrom
staging-094

Conversation

@dimspell

@dimspell dimspell commented Sep 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

- New shared helper dispel_core::map::types::tiled_object_sort_key(anchor_y, stack_index) = anchor_y + level*32 + 32
- GUI + CLI + legacy plot_objects: one interlaced item per stack tile, each sorting at its own screen band; entities now sandwich correctly between a tall building's lower and upper tiles
- CLI keys unified to map-local space in both occlusion and full-map modes
- Deleted dead plot_single_tiled_object
- Remove dead code from map_editor
- --light-template <png> / --camera x,y for map render: the game rewrites
  every tile's light level from a 500-byte viewport template each frame;
  the map file's own light bits are dead data, so dark maps rendered
  wrongly without the template (map-render-lit Makefile target added).
- map atlas --opaque <bool>: the GTL pass is an opaque row-copy (black
  pixels drawn); the BTL pass blits per-ref (byte0==0 opaque, else
  skip-zero). Emits both BTL atlases for the Godot renderer.
- fogdata format corrections + docs for fogdata.dat/Map.btl/Map.gtl.
- .gitignore: local-only artifacts (saves, decompiler output, binaries,
  Ghidra state, session transcripts) — never redistributed.
- Traps found in ExtraRef and sound effects
…aths

Consolidate the #[extractor] field AST, patcher-key parsing, layout metadata
and codegen path configuration into one shared dispel-macros schema module.
All derives now consume the same schema/config, with 18 new macro unit tests.

Also neutralize RE-tool wording in .gitignore comments.
Add the dispel-encodings crate as the single source of truth for encoding
spellings/labels/mappings, used by both derive macros and core at runtime.
Route all enum-aware derives through one WireValue::from_wire fallback so
parse and patch agree, without changing on-disk bytes.
Add dispel_core::decode as the single owner of RGB555/RGB565 conversion and
62x32 tile geometry, exposing version-agnostic RGBA buffers. Rewire core and
GUI rendering to consume it and remove duplicated pixel math.
Unify the iced fork pins/features across manifests with an enforced config
check, collapse the gui-widgets facade, and replace hexedit's internal-message
save callback with a domain-level SavePort.
Drop unreachable Extractor members and nested macro grammar, remove dead
SQL artifacts, correct Makefile targets, and surface localization truncation
warnings instead of discarding them.
Replace the hand-maintained drop list with a derived manifest, consolidate
all import stages behind database::import_all, normalize insert conflict
policy, and add in-memory boundary tests.
Single source of truth for file keys, detection, record types, fields and
GUI editor mapping. Remove the hand-written field list and name-based JSON
type guessing; add #[patcher(alias)] to single-source the MulMagic.db alias.
…patch

Replace hand-written clap wiring with one define_commands! spec generating
the command enum, COMMAND_SPECS and owning dispatch(); shrink main.rs, drop
no-op wrappers, fix Makefile drift and re-enable the release test gate.
Replace the distributed EditorType switchboard with a descriptor table that
derives capabilities and view/save/load dispatch, remove silent catch-alls,
introduce a typed TabId, and replace stale test lists with one exhaustive test.
…port

Add one Modding facade and filesystem port, share FieldKey/FieldChange across
core and GUI, preserve verbatim EventScript ACT lines on patch, and route
localization packaging and hexedit saves through core modding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant