Rewrite minimap to use pre-baked BLP tile textures from MPQ archives

Replace the 3D top-down rendered minimap with WoW's native pre-rendered
BLP tile textures loaded via md5translate.trs. Tiles are composited into
a 3x3 grid FBO with proper axis transposition matching the ADT terrain
convention. The screen shader provides camera-rotation, circular mask,
directional player arrow, and 20% transparency. Minimap is now on by
default with the N toggle key removed.
This commit is contained in:
Kelsi 2026-02-04 20:06:27 -08:00
parent d8e2becbaa
commit 47945451be
4 changed files with 435 additions and 129 deletions

View file

@ -236,12 +236,6 @@ void Application::run() {
LOG_INFO("Performance HUD: ", enabled ? "ON" : "OFF");
}
}
// N: Toggle minimap
else if (event.key.keysym.scancode == SDL_SCANCODE_N) {
if (renderer && renderer->getMinimap()) {
renderer->getMinimap()->toggle();
}
}
// T: Toggle teleporter panel
else if (event.key.keysym.scancode == SDL_SCANCODE_T) {
if (state == AppState::IN_GAME && uiManager) {