Turns out the palette is actually identical to that in wh40k.pcx

This commit is contained in:
2018-03-25 00:18:27 +00:00
parent 285ae5d292
commit c8238f1853
12 changed files with 959 additions and 13 deletions

View File

@@ -220,8 +220,10 @@ be 128x96, or 12288 bytes at 8bpp.
It seems pixels can be larger than a cell - TZEENTCH.OBJ is almost 2 cells high,
for instance.
0x002-0x003 changes in step with total number of pixels, but that doesn't seem
to account for the difference.
Loading a constructed `palette.obj` containing 1x63 pixels, with 0x0000 for the
first 32 bits, caused WH40K_TD.exe to render the pixels far to the left and above
the cell the palette objects were being placed into. This suggests they
represent an x,y offset to draw to. Need to experiment more.
Considering sprites with a 1,1 x,y.