Issue 306 (Merge DCC and DC6)
PR Created
⚠️ The PR goal is to solve issue #306
This PR is a work in progress, its creation is to show the current development of the issue. I'll make changes.
Things to be done
- [x] Create Widget, DCC and DC6 structures
- [x] Create WidgetState, DCCState and DC6State structures
- [x] Write documentation
- [x] Create Widget interfaces
- [ ] Rewrite encode
- [ ] Rewrite decode
- [x] Rewrite initState
- [x] Rewrite setState
- [x] Rewrite runPlayer
- [x] Rewrite recalculateTiledViewWidth
- [x] Rewrite recalculateTiledViewHeight
- [x] Rewrite createImage
I don't think that rewriting the encode/decode for the dcc and dc6 format should be part of this PR. those are two very large changes, each deserving their own PR.
Sure then, I'll revert those changes
What's the status on this?
I'm doing great, I'm working with a single property in an embedded structure that the linter detected as not used even if it was, so I'm finding a new way to re-write the structure.
I'm working with a single property in an embedded structure that the linter detected as not used even if it was,
btw, it is a known bug with unexported struct fields. you can just nolint it: https://golangci-lint.run/usage/false-positives/#nolint