1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-17 18:06:03 -05:00
Commit Graph

332 Commits

Author SHA1 Message Date
Will Roberts
d1c1e8bd26 No forward slashes in filepath.Join to satisfy golangci-lint 2021-03-23 23:30:00 -04:00
Will Roberts
b18a70cef9 Updates more instances of path->filepath 2021-03-23 23:18:19 -04:00
M. Sz
ae77badd18 fixed lint error 2021-02-02 16:57:57 +01:00
M. Sz
d535ae6c2a Merge branch 'hotfix2' of https://github.com/gucio321/OpenDiablo2 into hotfix2 2021-02-02 16:48:01 +01:00
M. Sz
aea1d86690 fixed lint error 2021-02-02 16:46:40 +01:00
Tim Sarbin
42a41d4817
Merge branch 'master' into hotfix2 2021-02-02 08:54:17 -05:00
M. Sz
909a0a9939 lintfix: gomnd 2021-02-02 12:02:11 +01:00
M. Sz
20f2649b65 asset manager: merged TranslateLabel to TranslateString 2021-02-02 10:15:18 +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
a126242f9f main menu: btnServerIPOk label 2021-01-19 19:42:17 +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
gravestench
66cd245eee
Merge branch 'master' into game-control-refactor 2021-01-13 19:58:18 +00:00
M. Sz
7178b8e56c fixed bug, when character created in multiplayer mode but game started in single 2021-01-13 20:37:45 +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
gravestench
87d531814d d2datautil.StreamReader refactor
*`StreamReader.Read` methods now return errors

The other edits in this commit are related to cleaning up lint errors
caused by the changes to StreamReader
2021-01-12 10:26:27 -08: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