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
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
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
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
gucio321
ac50f8274a
Merge branch 'master' into data-encoder-dat
2021-02-08 12:05:40 +01:00
gucio321
bcfb0fb5c2
Merge branch 'master' into data-encoder-dt1
2021-02-08 12:04:55 +01:00
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