1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-29 22:56:07 -04:00
OpenDiablo2/d2core
juander-ux e5dae4e5d8
Inital skilltree panel implementation (#782)
* d2ui/UIFrame: Refactor into its own class

it's not useful to have the handling of frames for the
inventory/herostate/skilltree/quest panels individually in each of
those.

* d2ui/button: Fix crash when a buttonlayout was not allowing FrameChange

When AllowFrameChange is false we do not create pressedSurface. So if we
press the button the game will crash.

* d2ui/button: Allow label-only buttons

At least for the skillmenu we need buttons were the graphic size does
not match the buttonsize. So let's render the graphic in there and make
the button label only.

* d2hero/hero_state_factory: Give all heroes their class specific skills

* d2player/gamecontrols: Fix wrong inventory/stats layouts for exp chars

For Druid/Assassin the inventory frame was rendered for a 640x480
resolution. This brings it in line with all other characters.

* d2player: Add inital Skilltree panel

* d2player/game_controls: Enable skilltree

Note here, that the inventory panel and skilltree panel can overlap.

* d2player/skilltree: Add skillicon rendering

Note here, that I couldn't figure out how to render them dark if no
skillpoints are invested.

Signed-off-by: juander <juander@rumtueddeln.de>
2020-10-22 12:54:45 -04:00
..
d2asset removed a lot of magic number lint errors (#781) 2020-10-22 10:02:32 -04:00
d2audio Adds error handling everywhere (#743) 2020-09-23 13:30:54 -04:00
d2config Removed Configuration interface (#560) 2020-07-08 09:16:16 -04:00
d2gui fixed all golint type lint errors (#780) 2020-10-21 23:41:21 -07:00
d2hero Inital skilltree panel implementation (#782) 2020-10-22 12:54:45 -04:00
d2input fixed lint errors in d2input (#693) 2020-08-05 13:51:35 -04:00
d2inventory Add belt loader (#757) 2020-09-26 02:13:01 -04:00
d2item removed a lot of magic number lint errors (#781) 2020-10-22 10:02:32 -04:00
d2map removed a lot of magic number lint errors (#781) 2020-10-22 10:02:32 -04:00
d2records Inital skilltree panel implementation (#782) 2020-10-22 12:54:45 -04:00
d2render/ebiten Decouple asset manager from renderer (#730) 2020-09-14 17:31:45 -04:00
d2screen removed gui manager singleton in d2gui (#735) 2020-09-18 16:10:52 -04:00
d2stats fixed all golint type lint errors (#780) 2020-10-21 23:41:21 -07:00
d2term fixed a couple lint errors in d2term (#697) 2020-08-05 22:32:23 -04:00
d2ui Inital skilltree panel implementation (#782) 2020-10-22 12:54:45 -04:00