1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-07-03 03:55:22 +00:00
Commit Graph

1490 Commits

Author SHA1 Message Date
gucio321
cffa34103d
Merge branch 'master' into hotfix 2021-03-03 20:04:54 +01:00
gucio321
fb8d97dba7
Merge branch 'master' into data-encoding2 2021-03-03 20:04:02 +01:00
gravestench
f1b625e23e
Merge pull request #1081 from OpenDiablo2/dependabot/github_actions/golangci/golangci-lint-action-v2.5.1
build(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1
2021-03-03 11:03:00 -08:00
M. Sz
e311d76c41 build.sh: upgrade go 1.13.4 => 1.16 2021-03-02 14:17:00 +01:00
M. Sz
547b8cd53b circleci: upgrade go 1.15.8 -> 1.16 2021-03-02 09:55:51 +01:00
M. Sz
12f9efded7 bugfix: d2util.Logger.Fatal() didn't return any value, when d2util.Logger.level < LogLevelFatal 2021-03-01 13:49:20 +01:00
dependabot[bot]
db5efa15b0
build(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2.4.0 to v2.5.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.4.0...d9f0e73c0497685d68af8c58280f49fcaf0545ff)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 06:37:35 +00:00
M. Sz
b43da8f083 text dictionary: added no-named string check as separated test function 2021-02-28 20:35:35 +01:00
M. Sz
3b41f9e89b text dictionary: removed #2 string from test 2021-02-28 20:31:44 +01:00
M. Sz
4104d9d9ae text dictionary: added support for non-name (#??) strings 2021-02-28 16:29:05 +01:00
M. Sz
287fb2bf4d hotfix: lintfix 2021-02-28 14:14:47 +01:00
M. Sz
de1c0ebe5d hotfix: string table: fixed bug, when sometimes encoded end decoded table wasn't the same 2021-02-28 12:25:08 +01:00
M. Sz
90f13724cf animation data: methods for editing 2021-02-27 17:08:24 +01:00
gravestench
fa4276156c
Merge pull request #1078 from gucio321/anim-data-encoder
animation data engine + encoder
2021-02-26 12:09:08 -08:00
gucio321
ab14168f50
Merge branch 'master' into anim-data-encoder 2021-02-26 21:04:14 +01:00
gravestench
a96170561f
Merge pull request #1075 from gucio321/data-encoding2
general refactor of text dictionary encoder
2021-02-26 11:58:34 -08:00
gucio321
6d88c9eacc
Merge branch 'master' into data-encoding2 2021-02-26 20:56:06 +01:00
gravestench
23e93886d8
Merge pull request #1076 from gucio321/data-encoder-dat
pl2 encoder + test
2021-02-26 11:27:03 -08:00
gravestench
1ffafcb769
Merge branch 'master' into data-encoder-dat 2021-02-26 11:26:38 -08:00
gravestench
50f309dee1
Merge pull request #1074 from gucio321/hotfix
minor cof refactor
2021-02-26 11:24:53 -08:00
gravestench
bbd88cef78
Merge branch 'master' into hotfix 2021-02-26 11:23:59 -08:00
gravestench
203b4fd986
Merge pull request #1077 from gucio321/hotfix2
go.mod: dependencies upgrade + circleci: golang version update
2021-02-26 11:23:42 -08:00
M. Sz
62c58468e9 anim data: lintfix 2021-02-26 15:11:56 +01:00
M. Sz
25ea801cd4 Revert "circleci: golang version update"
This reverts commit 1125a7dd45.
2021-02-26 15:01:19 +01:00
M. Sz
ad192254a3 Revert "go.mod: dependencies upgrade"
This reverts commit 3f2e5d34d7.
2021-02-26 15:00:56 +01:00
M. Sz
e039c8ee70 anim data encoder + unit test for encoding 2021-02-26 14:57:55 +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
1125a7dd45 circleci: golang version update 2021-02-26 10:57:43 +01:00
M. Sz
3f2e5d34d7 go.mod: dependencies upgrade 2021-02-26 10:56:21 +01:00
M. Sz
b5fa6e77eb cof: buildfix 2021-02-25 20:25:39 +01:00
M. Sz
15d30ffcce cof: rename SpeedToFPS -> FPS 2021-02-25 20:21:44 +01:00
M. Sz
976d78e595 pl2: lintfix 2021-02-25 19:26:01 +01:00
M. Sz
d61d829b98 pl2 encoder + test 2021-02-25 19:19:56 +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
8d5cf7a26b tbl: replaced lolstring with teststring in tests 2021-02-25 13:09:38 +01:00
M. Sz
3b8cdffe15 tbl: lintfix 2021-02-25 12:08:02 +01:00
M. Sz
e163c40107 tbl: completed error mesages 2021-02-25 12:06:37 +01:00
M. Sz
91b3290322 tbl: completed test 2021-02-25 12:03:00 +01:00
M. Sz
522f749cfc tbl: encoder 2021-02-25 11:58:32 +01:00
M. Sz
2859eae91c Revert "data encoding: tbl"
This reverts commit 5a0571763e.
2021-02-25 10:02:10 +01:00
M. Sz
78404ed56c cof: added Duration method 2021-02-25 09:33:47 +01:00
M. Sz
e7c5efe8e4 cof: added SpeedToFPS method 2021-02-25 09:30:59 +01:00
M. Sz
b4cd34e351 cof: splited long Marshal method to avoid nolint:funlen 2021-02-25 09:28:11 +01:00
gucio321
4e7ec3e843
Ds1 refactor: removed npcIndexes field+fixed SetNumberOfWalls bug (#7)
* ds1 refactor: removed npcIndexes field
it was unnecessary, because described a number of objects with paths to use in encoder, but we can calculate manually

* ds1 refactor: fixed set number of (layers) bug

* ds1 refactor: SetNumberOf...Layers now returns error if incorrect number given

* ds1 refactor: lintfix

* ds1 refactor: rename: setupStreamLayerTypes -> GetStreamLayerTypes

Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2021-02-23 12:35:06 -08:00
gucio321
5e62b12bc4
Ds1 refactor: test bugs + descriptive errors + SetNumberOfWall/FloorLayers (#6)
* ds1 refactor:
- removed DS1.layerStreamTypes field
- written unit test for setupStreamLayerTypes method
- added more descriptive error messages for LoadDS1 (and submethods)

* ds1 refactor: added some missing error messages

* ds1 refactor: fixed test bugs

* ds1 refactor: removed unnecessary c1. and c2. comments in ds1_test errors

* ds1 refactor: removed fmt from ds1_test

* ds1 refactor: fixed bug with SetTiles test + lintfix

* ds1 refactor: SetNumberOfWalls

* ds1 refactor: SetTile(s) now changes walls/floors length if neccesary

* ds1 refactor: removed unnecessary debugging fmt

* ds1 refactor: added substitution layer and object with paths to example data

Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2021-02-22 12:18:35 -08:00
gucio321
46d2bc6559
Ds1 refactor: some test improvement (#5)
* ds1 refactor: floor_shadow.go: methods Encode, Decode an Hidden are methods of floorShadow

* ds1 refactor: test checks, if our methods sets all fields correctly

* ds1 refactor: minor bugfixes

* i don't remember what's this, but i commit it ;-)

* ds1 refactor: reverted some pushed by mistake things

Co-authored-by: M. Sz <mszeptuch@protonmail.com>
2021-02-20 11:28:06 -08:00
gravestench
bc4bd7235b
Merge branch 'master' into d2ds1_refactor 2021-02-20 11:23:40 -08:00
Tim Sarbin
d5d93df75c
Merge pull request #1071 from gucio321/hotfix2
hotfix: removed unnecessary 0 in unknown3 bytes list
2021-02-19 13:20:44 -05:00
M. Sz
a4f12f6ebe hotfix: removed unnecessary 0 from d2fontglyph.unknown3 bytes list 2021-02-19 14:22:11 +01:00
gravestench
318e4ac7e2
Merge pull request #1070 from gucio321/hotfix2
hotfix: font format:
2021-02-19 01:11:00 -08:00