13 Commits

Author SHA1 Message Date
DuvelCorp 0fb52f67ff Add trainer planning and level-up tracking 2026-09-11 13:45:58 +02:00
DuvelCorp ccf9d8b0b6 Unify all option panels through MTH_Layout engine
Add reusable MTH_Layout box/column layout engine (api/options-layout.lua) and route every option panel through it (shell, general, zButtons per-button config, zBar, chronometer, auto buy, profiles, credits, etc.) for consistent, auto-sizing layout. Restore realm gate. README note.
2026-09-10 23:59:37 +02:00
DuvelCorp adb21c336c Add Growl pet auto-teach feature and smooth zButton expand animation
- New Pet Auto-Teach: on tame, offer to teach Growl at the best rank via the
  Beast Training window (Craft API DoCraft), with a General options checkbox
  and /mth growl on|off|status toggle (on by default).
- De-stagger zButton flyout bars and zBar so buttons fade in together.
- Update CHANGELOG.
2026-09-10 21:20:56 +02:00
DuvelCorp 566f3f4925 Add Animations feature + fix own-pet tooltip false positive
Animations (all optional, default on, per-effect toggles):
- New Options -> Animations tab with master switch + per-effect checkboxes
- Embed PizzaSauce animation library (api/PizzaSauce.lua)
- fx-celebrate: firework + banner when a pet learns a new ability/rank,
  triggered from core-scan-beasttraining pet-learn hook
- Hunter's Book: slide + fade on open, results list fade on tab switch
- Options window: slide + fade on open
- All new user-facing strings keyed (ANIM_* namespace)

Fixes:
- Tooltip #19: own-pet lines (mood/loyalty/happiness/XP) no longer
  misfire on party members / targets. Removed the fragile title-name
  fallback in MTH_TT_IsTooltipOnOwnPet; ownership now requires positive
  unit identity.

Temp (remove before release): /mth fx and /mth fxdebug diagnostics.
2026-09-10 14:41:26 +02:00
DuvelCorp 060fc555fe Unify SavedVariables into two clean roots with one-time migration
Collapse all legacy/scattered SavedVariables from absorbed standalone
addons (FeedOMatic, ZHunter/zButtons, SmartAmmo, AutoQuest, AntiDaze,
AutoStrip, MinimapButton) into two persisted globals with clean per-module
nesting under .modules.<id>.

Migration engine (api/savedvariables.lua):
- MTH_SV_EnsureSchema() with schemaVersion gate, idempotent + non-destructive
- Per-module migrators map old locations -> canonical nested stores
- Driven by an ADDON_LOADED("MetaHunt") handler so it runs only AFTER WoW
  loads the real SavedVariables (fixes announce-every-session bug that ran
  the migration on empty pre-load defaults)
- One-time player-facing chat announce, gated on real legacy data present

Framework/config:
- core-framework InitSavedVariables no longer runs migration at file-load;
  unconditionally strips account-root module aliases
- config.lua stops re-creating root[module] aliases (was duplicating data
  onto disk); canonical store stays under .modules.<id>

Modules:
- feedomatic: bind FOM_* globals as runtime aliases into nested store,
  drop persisted duplicates and .legacy blob
- zhunter: ZHunterMod_Saved re-pointed at .modules.zhunter
- smartammo/autoquest/antidaze/autostrip/minimapbutton read nested store

TOC trimmed to MTH_SavedVariables + MTH_CharSavedVariables only.
Profiles unchanged (already snapshot/apply the nested .modules structure).

Also includes pet-scan refinements: canonical pet key derivation and
level-independent pet signature (schema v3).
2026-09-09 22:52:48 +02:00
DuvelCorp da645fa53c Remove empty placeholder init XMLs
init/env.xml, compat.xml, libs.xml, skins.xml contained only comments (no
frames, scripts, or includes) and were loaded as no-ops at startup. Deleted the
files and their MetaHunt.toc include lines. init/ now holds only the three real
XMLs (api, localization, modules).
2026-09-09 16:33:39 +02:00
DuvelCorp 9379668e4b Remove dead code: SmartPet module + orphaned DBC datastores
SmartPet (module never wired into modules.xml) removed entirely — server-side
pet AI on TWoW/OctoWoW makes it useless. Deleted modules/smartpet/ and
api/options-smartpet.lua.

Orphaned .tools DBC extracts (2026-03-20) never loaded via TOC, superseded by
the curated/pfQuest datastores that ship:
- data/ds-zones-dbc.lua, data/ds-zones-new-dbc.lua (bounds come from ds-zones-wma)
- data/ds-stable-prices.lua (never wired to any UI)
- data/ds-pet-spells-acquire.lua (learnMethod set at runtime by init.lua + trainer)

Also removed api/beastlore-scan.lua (8-line deprecation stub) and its
init/api.xml include. No shipped references or player-facing behaviour affected.
2026-09-09 16:29:15 +02:00
DuvelCorp c4911ef9fe 1.5.1 2026-04-04 23:38:34 +02:00
DuvelCorp 8479607a13 v1.4.0 Twow 1.18.1 2026-03-23 22:25:10 +01:00
DuvelCorp b2060e0aab V1.3.0 2026-03-19 16:27:21 +01:00
DuvelCorp 27d37564ce v1.1.0 2026-03-09 13:41:30 +01:00
DuvelCorp 2c94650993 v1.0.4 2026-02-27 18:57:24 +01:00
DuvelCorp ee8328e903 First version 2026-02-24 23:00:59 +01:00