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

1472 Commits

Author SHA1 Message Date
Tim Sarbin
5e1dbf56f0
Merge pull request #1051 from gucio321/unit-tests
unit test: bitmuncher
2021-02-08 06:01:59 -05:00
M. Sz
a76ce059e8 dat decoder: fixed lints 2021-02-08 10:03:34 +01:00
gucio321
794c246f64 fixed lint error in bitmuncher_test.go 2021-02-08 09:57:43 +01:00
M. Sz
b6cb6f88a6 data encoder: d2dat 2021-02-08 09:49:43 +01:00
M. Sz
5caa93a399 unit test: bitmuncher 2021-02-08 08:23:43 +01:00
M. Sz
8e1ca1dd7f stream writer test: added test for pushing bits 2021-02-06 20:43:04 +01:00
M. Sz
20f0d8a3d5 removed some of nolint:govet 2021-02-06 19:10:15 +01:00
M. Sz
215ac8cfc5 ds1: splited loading function 2021-02-06 18:58:15 +01:00
M. Sz
32570d6ae5 replaced nolint:gomnd directives with "magic numbers'" names 2021-02-06 18:28:01 +01:00
gucio321
ac8794015e Merge branch 'master' into data-encoder-dt1 2021-02-06 17:30:10 +01:00
M. Sz
aadfbbc8a6 stream writer: added warnings when bits count is greater then possible input size (in PUshBits... methods) 2021-02-06 17:23:11 +01:00
gravestench
cc8f319298
Merge pull request #1040 from gucio321/data-encoding2
data encoding: tbl (Text Dictionary)
2021-02-05 16:55:08 -08: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
b3a754a4a6 ds1 encoder: Marshal method was splited to avoid nolint directive 2021-02-05 15:05:11 +01:00
M. Sz
9227de3418 d2ds1 encoder: fixed lint errors 2021-02-05 14:54:35 +01:00
M. Sz
5702d96cac ds1 encoder: fixed bug, when decoded and encoded back data wasn't the same = records' encoding methods was rewritten to use streamWriter.Pushbit 2021-02-05 14:45:22 +01:00
M. Sz
3dafb3ebcd dt1 encoder: moved record encoders and decoders to appropriate files 2021-02-05 14:07:51 +01: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
Tim Sarbin
a89042c1f2
Merge pull request #1042 from gucio321/data-encoder-dt1
data encoder: dt1
2021-02-03 10:00:09 -05:00
Tim Sarbin
ffe4e68108
Merge branch 'master' into data-encoder-dt1 2021-02-03 09:57:46 -05:00
Tim Sarbin
7ec8921f18
Merge pull request #1039 from gucio321/data-converting
data encoding: DC6
2021-02-03 09:57:07 -05:00
Tim Sarbin
89595329a5
Merge branch 'master' into data-converting 2021-02-03 09:48:54 -05:00
Tim Sarbin
ef85feb098
Merge pull request #1037 from gucio321/hotfix2
asset manager: merged TranslateLabel to TranslateString
2021-02-03 09:48:25 -05:00
M. Sz
9f9c882653 data encoder: dt1 2021-02-02 19:25:27 +01:00
gucio321
73ca325a6b
Merge branch 'master' into data-converting 2021-02-02 17:01:05 +01:00
gucio321
5aded8de66
Merge branch 'master' into data-encoding2 2021-02-02 17:00:19 +01: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
Tim Sarbin
a2f298a8ce
Merge pull request #1041 from gucio321/lintfix
lintfix: gomnd
2021-02-02 08:53:52 -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
2ebb36eba8 fixed stream-writer's test bug 2021-02-01 20:58:29 +01:00
M. Sz
84c87b2eb8 data encoding: DC6 2021-02-01 12:57:02 +01:00
Tim Sarbin
60c1b4ea26
Merge pull request #1038 from gucio321/data-converting
Data encoder: COF
2021-02-01 06:51:48 -05:00
M. Sz
7781b2cd6b removed PushByte method from StreamWriter 2021-02-01 11:20:44 +01:00
M. Sz
0fec9473ed rename: PushBytes(b []byte) -> PushBytes(b ...byte) 2021-02-01 11:15:42 +01:00
M. Sz
0f32ad5d62 data encoder: COF remade Cof encoder to use stream writter 2021-01-31 19:14:18 +01:00
gucio321
c5eb602de0
Update cof.go 2021-01-31 12:11:54 +01:00
gucio321
d0288e309f
removed WIP code 2021-01-30 18:31:44 +01:00
M. Sz
157f110105 data encoding: added COF encoder 2021-01-30 18:23:00 +01:00
Tim Sarbin
374944dfc4
Merge pull request #1036 from gucio321/hotfix
circleci update
2021-01-27 09:38:26 -05:00
M. Sz
a24b7550cf circleci update 2021-01-27 09:18:16 +01:00
Tim Sarbin
5756d738d4
Merge pull request #1035 from gucio321/hotfix
readme update: removed unnecessary instructions from Contribute section
2021-01-26 20:29:37 -05:00
M. Sz
9b06fccb6d readme update: removed unnecessary instructions from Contribute section 2021-01-25 21:24:41 +01:00
Tim Sarbin
08d0a0fce2
Merge pull request #1034 from sz33psz/inventory_tooltips_fixes
Hotfix: Inventory display bugs
2021-01-25 09:56:10 -05:00
Tim Sarbin
987a2f5094
Merge branch 'master' into inventory_tooltips_fixes 2021-01-25 09:54:57 -05:00