1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-16 09:25:57 -05:00
Commit Graph

425 Commits

Author SHA1 Message Date
Will Roberts
b18a70cef9 Updates more instances of path->filepath 2021-03-23 23:18:19 -04:00
Will Roberts
222b916002 Use filepath instead of path for Windows support 2021-03-23 23:08:32 -04:00
gucio321
ab14168f50
Merge branch 'master' into anim-data-encoder 2021-02-26 21:04:14 +01:00
M. Sz
00e26fb862 animdata: the game now uses animation data manager from d2fileformats/d2animdata (instead of d2data/animation_data.go) 2021-02-26 11:56:49 +01:00
M. Sz
c933e4b891 fixed build error & tbl: removed version check (because of error screen; we don't need to check version) 2021-02-25 14:11:19 +01:00
M. Sz
2859eae91c Revert "data encoding: tbl"
This reverts commit 5a0571763e.
2021-02-25 10:02:10 +01:00
gravestench
298fc786b8
Merge branch 'master' into date-encoder-font 2021-02-10 12:14:41 -08:00
M. Sz
d9cfe7f435 d2font: removed d2interface.Animation argument from d2font.Load; added height reading in glyphs loader 2021-02-09 08:53:34 +01:00
gucio321
98c38b0dbf
Merge branch 'master' into data-encoder-dt1 2021-02-08 18:40:27 +01:00
gucio321
51833ed2de
Merge branch 'master' into date-encoder-font 2021-02-08 18:40:07 +01:00
Tim Sarbin
a85a7a18c1
Merge branch 'master' into master 2021-02-08 12:37:46 -05:00
M. Sz
e2ec1c6613 d2font: fixed lint errors 2021-02-08 17:25:02 +01:00
M. Sz
721a67b404 font table interpreter: moved d stuff responsible for font table into d2fileformats/d2font 2021-02-08 13:21:50 +01:00
gucio321
ac8794015e Merge branch 'master' into data-encoder-dt1 2021-02-06 17:30:10 +01:00
gravestench
248eaf9d79 Minor refactor of d2cof
* Changed `Load` to `Unmarshal`
* made `Marshal` and `Unmarshal` into methods of `COF`
* added `New` function which creates a new, empty COF instance
* added helper functions `Marshal` and `Unmarshal`
* Changed `StreamReader.ReadBytes` to account for edge case of reading 0
bytes (this was returning an error when it should not have)
* added really simple unit tests for COF
2021-02-05 14:43:42 -08:00
M. Sz
9f56574066 data encoder: ds1 2021-02-05 12:52:51 +01:00
gucio321
1b8da9ec8e
Merge branch 'master' into data-encoding2 2021-02-03 16:28:10 +01:00
gucio321
5aded8de66
Merge branch 'master' into data-encoding2 2021-02-02 17:00:19 +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
M. Sz
5a0571763e data encoding: tbl 2021-02-02 10:08:32 +01:00
M. Sz
931df47607 d2ui: completed ButtonTypePartyBUtton's layout literal 2021-01-19 18:50:07 +01:00
M. Sz
b25bbe31f4 d2ui: rename NewCustomButton -> NewDefaultButton; lintfix 2021-01-19 17:47:42 +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
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
71e4470c25 party panel: colored labels; d2ui improvement: SwitchableButton.SetState() method; lintfix 2021-01-17 20:47:40 +01:00
M. Sz
9fb6c17d62 rename: *dezactivate* -> *deactivate* 2021-01-16 22:04:05 +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
877da921bf lintfix: fixed lint errors 2021-01-16 21:59:44 +01:00
M. Sz
4575df572f d2ui improvement: added switchable button widget to d2ui 2021-01-16 21:59:44 +01:00
M. Sz
abee77968d d2ui improvement: added NewCustomButton method to d2ui 2021-01-16 21:59:44 +01:00
gravestench
1fc787023d fixed lint errors 2021-01-11 01:31:57 -08:00
gravestench
2c0f3d9cd9 d2tbl.LoadTextDictionary now returns an error 2021-01-11 01:12:46 -08:00
Tim Sarbin
c99810ad0e Fixed various bugs, crashes, and slowdowns. 2021-01-10 02:44:42 -05: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
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
gucio321
b77d793698
added label-button widget (#989)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2021-01-06 21:45:05 -08:00
Ziemas
826b1224f6 This DCC frame size calculation seems useless
TBH there some to be some other overcomplicated things going on in
DCCAnimation but too tired to use brain right now.
2021-01-02 01:56:09 +01:00
Intyre
9ce9c2f848 Reduce GetTiles slice allocation 2020-12-23 22:03:57 +01:00
Intyre
5f9e06c09c Fixed gocritic linter issues 2020-12-23 11:02:58 +01:00
M. Sz
e6dd0bc35d fixed bug with terminal's logLevel 2020-12-22 15:18:14 +01:00
Intyre
570ec238ff Fixed linter issues 2020-12-21 22:22:27 +01:00
Intyre
74a006c252 A wild } appeared 2020-12-21 22:00:07 +01:00
Intyre
04ec879035 Cleaned up d2term 2020-12-21 21:46:58 +01:00
M. Sz
40c2fac4f8 Revert "fixed onHover bug in d2ui.Sprite"
This reverts commit 8b557062fb.
2020-12-20 13:51:29 +01:00
gucio321
5409dc4ef2
fixed onHover bug in d2ui.Label (#991)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2020-12-19 12:28:40 -08:00
gucio321
fbfea917cb
added static checks to d2ui (#990)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2020-12-19 12:28:07 -08:00
gucio321
540f285468
fixed onHover bug in d2ui.Sprite (#992)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2020-12-19 12:05:41 -08:00
Intyre
ec91203782 Renamed MonStat2Record 2020-12-18 19:03:13 +01:00