Make tile ids strongly typed between bg/mid/fg

This commit is contained in:
crumblingstatue 2023-04-17 13:41:51 +02:00
parent cdf73d0739
commit 1e665378f8
15 changed files with 448 additions and 178 deletions

11
design/data.md Normal file
View file

@ -0,0 +1,11 @@
Tile
9 bits bg
9 bits mid
9 bits fg 32 bits
3 bits slope
2 bits fg state (0: fg has ore, 1: bg has ore, 2: both have ores)
5 bits liquid type
6 bits paint 16 bits
5 bits reserved