Moppu / SecretOfManaRandomizer

Randomizer for Secret of Mana
GNU Lesser General Public License v2.1
6 stars 3 forks source link

Add Tileset16 structure #49

Closed Cyb3RGER closed 2 weeks ago

Cyb3RGER commented 3 weeks ago

resolves #10

Adds Tileset16 containing 384 Tile16s each containing 4 Tile8s. Tile8 contains fields according to the binary format described in the issue as well as some helper functions to convert to/from the binary format. Tileset16 implements an indexer to directly index into the Tile16s and Tile16 implements an indexer to directly index into the Tile8s. Tileset16 also implements an additional indexer to index based on foreground/background layer (no clue if we actually want/need this).

Tested by matching ROM output with and without changes on open world and ancient cave default settings

Moppu commented 3 weeks ago

looks good. tested locally and both nesoberi and a/c island look fine.