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:
RangiandEldred Habert authored and GitHub committed 2026-09-13 19:18:24 +02:00
1 parent 47bbd30f2c
commit e9fc7b3135
18 files changed
+42 -23

No files matched your search

+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