mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-15 20:25:00 +01:00
Make tile ids strongly typed between bg/mid/fg
This commit is contained in:
parent
cdf73d0739
commit
1e665378f8
15 changed files with 448 additions and 178 deletions
11
design/data.md
Normal file
11
design/data.md
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue