mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
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:
parent
d8e2becbaa
commit
47945451be
4 changed files with 435 additions and 129 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue