Commit Graph

1276 Commits

Author SHA1 Message Date
gravestench ec47f16cc4 Refactoring d2ds1
* Adding setters/getters so that state management can be maintained
internally when the ds1 struct is altered
* Adding unit tests for DS1
2021-02-17 02:36:25 -08:00
gravestench e9c9786af1
Merge pull request #1065 from gucio321/hotfix2
Hotfix: methods for editing FontGlyph (font glyph is now exported)
2021-02-17 02:35:02 -08:00
M. Sz 6fdbaa07bd font table format: lintfix 2021-02-17 10:37:04 +01:00
M. Sz 66ac5ff657 font table format: methods to set size and frame index 2021-02-17 10:28:36 +01:00
M. Sz 7a54465eb3 hotfix: font table format: fontGlyph is now exported 2021-02-17 09:05:29 +01:00
gravestench 6043ca531f
Merge pull request #1063 from gucio321/hotfix2
hotfix: methods neccesary for getting informations from font table
2021-02-16 23:45:31 -08:00
M. Sz 4243a1f6b1 font: rename GetSize, and GetFrameIndex -> Size, FrameIndex 2021-02-17 08:38:41 +01:00
M. Sz 9f47ed4b35 font encoder: lintfix 2021-02-17 08:32:41 +01:00
M. Sz 1d12c2036a hotfix: font table editor: added methods GetSize, and GetFrameIndex to font glyph 2021-02-17 08:28:23 +01:00
gravestench 6a94dfcfcf
Merge pull request #1053 from gucio321/date-encoder-font
Date encoder: font table
2021-02-16 22:59:10 -08:00
gucio321 b2e10ca43e
Merge branch 'master' into date-encoder-font 2021-02-17 07:56:00 +01:00
gravestench c4f8182f2f
Merge pull request #1061 from gravestench/master
bugfix: circle-ci build
2021-02-16 11:57:54 -08:00
gravestench 67f202fee2 bugfix: circle-ci build 2021-02-16 10:25:57 -08:00
gravestench a80851f6f0
Merge pull request #1060 from OpenDiablo2/revert-1059-hotfix2
Revert "hotfix: ds1: method setupLayerTypes is now exported + circleci build job bugfix"

These are two separate PR's. You can make a PR for the circl-ci bugfix, but exporting this ds1 method is a bad idea. This is a state manegement method that should only be called internally. By exporting this, we would be placing the responsibility of calling this method on users of `d2ds1`, which may not always be just od2 developers.
2021-02-16 10:05:43 -08:00
gravestench 97708c1349
Revert "hotfix: ds1: method setupLayerTypes is now exported + circleci build job bugfix" 2021-02-16 10:02:34 -08:00
gravestench 6191bd8546
Merge pull request #1059 from gucio321/hotfix2
hotfix: ds1: method setupLayerTypes is now exported + circleci build job bugfix
2021-02-16 09:39:55 -08:00
M. Sz ff694f6ad6 circleci: added apt-get update 2021-02-16 16:49:16 +01:00
M. Sz 6866a03f34 hotfix: ds1: method setupLayerTypes is now exported 2021-02-16 13:06:12 +01:00
Tim Sarbin 1dd6f1f29a
Merge pull request #1056 from OpenDiablo2/dependabot/github_actions/golangci/golangci-lint-action-v2.4.0
Bump golangci/golangci-lint-action from v2.3.0 to v2.4.0
2021-02-15 14:56:09 -05:00
Tim Sarbin 1cc8f1d063
Merge branch 'master' into dependabot/github_actions/golangci/golangci-lint-action-v2.4.0 2021-02-15 14:54:39 -05:00
Tim Sarbin 8f4a42fbf8
Merge pull request #1057 from gucio321/hotfix3
hotfix: ds1 editor: some fields need to be exported
2021-02-15 14:54:13 -05:00
M. Sz 0dd9ae6783 ds1 encoder: fixed build error 2021-02-15 15:07:33 +01:00
M. Sz dc53da4c6f circleci: added space at the end of circleci's apt-get to make test completable 2021-02-15 15:02:59 +01:00
M. Sz 8a4c138835 ds1 encoder: layerStreamTypes and npcIndexes are now exported 2021-02-15 15:01:14 +01:00
M. Sz bbeb4b48e2 hotfix: rename hidden -> HiddenBytes in wall_record.go and floor_shadow_record.go 2021-02-15 08:34:12 +01:00
dependabot[bot] 80c9a86428
Bump golangci/golangci-lint-action from v2.3.0 to v2.4.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2.3.0 to v2.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.3.0...544d2efb307b3f205f34886f2787046abe7fb26e)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-15 06:23:50 +00:00
gravestench 298fc786b8
Merge branch 'master' into date-encoder-font 2021-02-10 12:14:41 -08:00
gravestench 0428aa274a
Merge pull request #1052 from gucio321/data-encoder-dat
data encoder: d2dat
2021-02-10 12:14:28 -08:00
gravestench d268a987f3
Merge branch 'master' into data-encoder-dat 2021-02-10 12:05:10 -08:00
gravestench f8aeb657ca
Merge pull request #1049 from gucio321/data-encoding2
d2dc6 refactor + unit test for it
2021-02-10 11:54:27 -08:00
gravestench 0c5a3ae54c
Merge branch 'master' into data-encoding2 2021-02-10 11:52:00 -08:00
gravestench a8c85b754d
Merge pull request #1044 from gucio321/data-encoder-dt1
data encoder: ds1+ds1 refactor (#1046)
2021-02-10 11:51:40 -08:00
gucio321 025a172500 fixed lint errors in stream_writter 2021-02-10 19:53:11 +01:00
gucio321 004787597e
Merge branch 'master' into data-encoder-dt1 2021-02-10 19:43:32 +01:00
Tim Sarbin d981ae49a1
Merge pull request #1055 from gucio321/hotfix2
hotfix: cof encoder: coding weapon class
2021-02-10 11:49:18 -05:00
M. Sz 8a087dba6c stream writer and stream writer test:
- fixed typo
- cut PushBits... methods
- removed magic number
2021-02-10 14:00:03 +01:00
gucio321 6c230f66d7
d2dat encoder: removed typo in comment 2021-02-10 13:03:59 +01:00
M. Sz 7d0eeb0fd3 hotfix: d2cof encoder: changed way of pushing weapon class 2021-02-10 12:59:07 +01:00
M. Sz 1010353071 hotfix: d2cof encoder: removed magic number (len of weapon class) 2021-02-10 12:35:35 +01:00
M. Sz 8a15c0b074 hotfix: cof encoder: coding weapon class 2021-02-10 08:33:29 +01: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
M. Sz 622e54dfce dc6 refactor: lintfix 2021-02-08 18:50:58 +01:00
M. Sz 6d098de778 d2dc6 refactor + unit test for it 2021-02-08 18:50:58 +01:00
gucio321 b74bc3d0b6
Merge branch 'master' into data-encoder-dat 2021-02-08 18:43:58 +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 227bc9fcb1
Merge pull request #1045 from gravestench/master
Minor refactor of d2cof
2021-02-08 12:39:41 -05: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 662d4489c4 d2font: encoder 2021-02-08 15:03:59 +01:00