Commit Graph

227 Commits

Author SHA1 Message Date
gucio321 c938b745a2 all: fix lint errors 2021-05-12 08:30:28 +02:00
M. Sz 909a0a9939 lintfix: gomnd 2021-02-02 12:02:11 +01:00
Tim Sarbin 987a2f5094
Merge branch 'master' into inventory_tooltips_fixes 2021-01-25 09:54:57 -05:00
Tim Sarbin b4e6880cca
Merge branch 'master' into fix/close_panel_viewport 2021-01-25 09:53:12 -05:00
sz33psz 220f0febaa Linter error fixes
Fixed inventory display bugs
- Tooltip doesn't hide when was visible and inventory window was closed using keyboard
2021-01-23 18:08:03 +01:00
sz33psz ac572e3bf5 Fixed inventory display bugs
- No tooltips for equipped items
- Item tooltips are rendered before UI Frames
2021-01-23 13:50:04 +01:00
cardoso 7dd00645cd Fix mini panel not moving back on panel close button pressed 2021-01-22 15:50:03 -03:00
cardoso f83c74ffde Fix layout/viewport not updated when panel is closed from UI button 2021-01-22 15:14:24 -03:00
M. Sz 67525c8f4d game control: fixed panics on game start, when single player (party panel wasn't created) 2021-01-20 08:48:55 +01:00
M. Sz c9859f25d3 party panel: party panel is created only, when game isn't singlePlayer game 2021-01-19 19:36:16 +01:00
M. Sz 27ca1c84ef party panel: removed unnecessary test data 2021-01-19 17:59:58 +01:00
M. Sz b25bbe31f4 d2ui: rename NewCustomButton -> NewDefaultButton; lintfix 2021-01-19 17:47:42 +01:00
M. Sz 07eeec4827 party panel: rearranged constants (moved part of them into d2enum) 2021-01-19 17:39:40 +01:00
M. Sz 57bf4078b6 party panel: tooltip over players' names, players' colors, invite button, level -> lvl, relationships button has gets ret if disabled; d2ui improvement: addeded switcher's enabled methods 2021-01-19 14:09:22 +01:00
M. Sz 9a7f27ae83 party panel: party panel & multiplayer init 2021-01-18 21:11:50 +01:00
M. Sz 151ed22c7c party panel: "seeing" and "listening" buttons' tooltips; d2ui improvement: added missed methods to switchable button widget 2021-01-18 15:17:18 +01:00
M. Sz 74f7705165 party panel: moved colors to panel's constants, removed index requirement from AddPlayer method 2021-01-18 13:08:51 +01:00
M. Sz bdf640c2b1 party panel: party index refactor 2021-01-18 12:39:41 +01:00
M. Sz 63ef18c178 party panel: party-index management methods 2021-01-18 10:08:33 +01:00
M. Sz 81ebabeeff party panel: bar positioning 2021-01-17 21:00:21 +01:00
M. Sz 71e4470c25 party panel: colored labels; d2ui improvement: SwitchableButton.SetState() method; lintfix 2021-01-17 20:47:40 +01:00
M. Sz 6e82942b1f party panel: level label 2021-01-17 18:46:38 +01:00
M. Sz ebfee273ac lintfix: fixed lint errors 2021-01-16 21:59:44 +01:00
M. Sz bd3fc4bb25 party panel: switchers creator, party indexes (name, classs labels and switchers) 2021-01-16 21:59:44 +01:00
M. Sz dbacb63fae party panel: removed commented out code 2021-01-16 21:59:44 +01:00
M. Sz 877da921bf lintfix: fixed lint errors 2021-01-16 21:59:44 +01:00
M. Sz 0de3aeabd3 Rename partyScreen->partyPanel 2021-01-16 21:59:44 +01:00
M. Sz d67454140a party screen: shortcut, whitch opens the panel 2021-01-16 21:59:44 +01:00
M. Sz d74e171313 Party screen: frame, panel, close btn 2021-01-16 21:59:44 +01:00
M. Sz 3ced5ab99d fixed bug, when we was able to open panel, when esc menu was open 2021-01-13 13:24:28 +01:00
gucio321 5cd404e4a5
d2ui.Frame refactor (#994)
* d2ui.Frame refactor

* removed unneccessery d2asset.AssetManager argument from d2ui.NewUIFrame

* d2ui.Frame refactor

* removed unneccessery d2asset.AssetManager argument from d2ui.NewUIFrame

Co-authored-by: M. Sz <mszeptuch@protonmail.com>
Co-authored-by: Tim Sarbin <tim.sarbin@gmail.com>
Co-authored-by: gravestench <dknuth0101@gmail.com>
2021-01-06 21:53:01 -08:00
gucio321 0e95fd44ce
removed unused fields from d2player.GameControl.actionableRegions (#997)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
Co-authored-by: gravestench <dknuth0101@gmail.com>
2021-01-06 21:51:36 -08:00
gucio321 6addf7a243
removed links to closed issues from code (#1005)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
Co-authored-by: gravestench <dknuth0101@gmail.com>
2021-01-06 21:48:12 -08:00
ThomasChr db87175872 Render HUD before Panels (in this Case 'Panels' only does mean Inventory Panel). This is to avoid Entity Labels to be renderd above the Inventory Panel. Fixes #936 2021-01-01 20:49:49 +01:00
Tim Sarbin 427170e2e8
Merge pull request #1001 from gucio321/game-control-refactor
Game control refactor
2020-12-28 20:27:33 -05:00
Intyre 5f9e06c09c Fixed gocritic linter issues 2020-12-23 11:02:58 +01:00
M. Sz 0e2ca7d851 removed unnecessary switch-case statments from onKeyUp and onEscKey 2020-12-22 15:00:24 +01:00
M. Sz 3a5175f034 fixed build and lint errors 2020-12-22 14:28:29 +01:00
M. Sz 8700d63f67 game-controls refactor 2020-12-22 14:21:34 +01:00
Tim Sarbin 0f658d5dec
Merge pull request #999 from Intyre/term
Cleaned up d2term
2020-12-21 20:21:20 -05:00
Intyre 570ec238ff Fixed linter issues 2020-12-21 22:22:27 +01:00
Intyre 04ec879035 Cleaned up d2term 2020-12-21 21:46:58 +01:00
M. Sz 0c04e9b3d5 skill select menu dependencies (when we open skillselect menu, other panels are closed) 2020-12-21 17:37:59 +01:00
M. Sz 178703f280 level-up buttons tooltips 2020-12-17 18:58:12 +01:00
Tim Sarbin c79c2a8c89
Merge pull request #983 from gucio321/quest-log-part2
Quest Log - quest completion animation
2020-12-17 11:35:25 -05:00
M. Sz d58ed6202f fixed quest descr bug & added code description 2020-12-17 12:04:37 +01:00
M. Sz 8a027eb48d animation stops playing, when quest log is closed & quest socket gets highlighted, when animation is playing & fixed highlight bug 2020-12-17 11:02:39 +01:00
M. Sz 856138daca animation is played and last frame is completedFrame 2020-12-16 19:06:12 +01:00
M. Sz cf439ede2f skill tre - remaining points label 2020-12-16 16:49:50 +01:00
M. Sz be8b3e3157 stats changing: hero stats panel 2020-12-16 16:49:50 +01:00