Commit Graph

11 Commits

Author SHA1 Message Date
gravestench 468f5682ae Merge branch 'd2ds1_refactor' into d2ds1_refactor_wip 2021-03-24 11:55:34 -07:00
M. Sz fb7279f6b0 animation data: lintfix 2021-03-04 11:55:33 +01:00
M. Sz 98539befe3 animation data: Add/Delete entry methods 2021-03-04 11:52:08 +01:00
M. Sz 2e2d086d71 animation data: lintfix 2021-03-04 11:37:16 +01:00
M. Sz c603eaafbc animation data: methods for edition animation data records count 2021-03-04 11:35:42 +01:00
M. Sz 62c58468e9 anim data: lintfix 2021-02-26 15:11: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
gravestench 87d531814d d2datautil.StreamReader refactor
*`StreamReader.Read` methods now return errors

The other edits in this commit are related to cleaning up lint errors
caused by the changes to StreamReader
2021-01-12 10:26:27 -08:00
lord a0345ef3b1
need to change reference to stream reader after d2common refactor moved it (#719) 2020-09-08 17:39:18 -04:00
lord 65cce60eab
adding animdata loader (#718)
* adding animdata loader

* utility methods, more tests, export record struct

- added methods for fps and frame duration calculation to the AnimationDataRecord
- exported AnimationDataRecord
- split the various structs into their own files
- added getter methods for retrieving records by name
- added tests for the new utility methods
2020-09-08 15:59:38 -04:00