Warn when tile or palette IDs cannot fit in the tilemap or attrmap respectively (#2077)

Co-authored-by: Eldred Habert <[email protected]>
This commit is contained in:
Rangi
2026-09-13 19:18:24 +02:00
committed by GitHub
co-authored by Eldred Habert
parent 47bbd30f2c
commit e9fc7b3135
18 changed files with 42 additions and 23 deletions
+1
View File
@@ -0,0 +1 @@
warning: Generated 9 palettes, of which only 8 are representable in the attrmap
+1
View File
@@ -0,0 +1 @@
-n 9
+1
View File
@@ -0,0 +1 @@
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

+1
View File
@@ -0,0 +1 @@
warning: Image contains 320 tiles, of which only 256 are representable in the tilemap
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

+1
View File
@@ -0,0 +1 @@
warning: Image contains 320 tiles, of which only 256 are representable in the tilemap
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B