* remove magic 'et' file
* ds1 refactor: test for InsertFloors; fixed inserting bug
* ds1: global method for getting layers group; fixed Delete.. bug (group var in delete meghod wasn't pointer
* ds1: lintfix
* ds1: remove ds1.ds1Layers.Orientation
* ds1: lintfix
* ds1: addet getMaxGroupLen method
* ds1: insert now returns if after inserting group will be greater than max number of ...
* ds1: add common test for ds1Layers.Insert...
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
* ds1 refactor test: example data
* added loader check
* ds1 refactor: fixed bug, with loading substitutions; added descriptive error message in engine.go:118 and changed Logger.Error with Logger.Fatal
* ds1 refactor: fixed loading bug
* ds1 refactor: fixed bug when walls wasn't rendered (now we can see only walls :-)
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
* ds1 refactor: added test fore some methods; put tests in right order
* ds1 refactor: unit tests for all methods
* ds1 refactor: fixed build errors
* ds1 refactor: lintfix
* ds1 refactor: fixed bug with SetWidth, SetHeight methods
* ds1 refactor: rename tile_record.go -> tile.go
* ds1 refactor: unit test for SetTiles
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
* ds1 refactor: added test fore some methods; put tests in right order
* ds1 refactor: unit tests for all methods
* ds1 refactor: fixed build errors
* ds1 refactor: lintfix
* ds1 refactor: fixed bug with SetWidth, SetHeight methods
* ds1 refactor: rename tile_record.go -> tile.go
* ds1 refactor: unit test for SetTiles
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
* 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