File diff r14125:3ee08ca0423e → r14126:f23988064e74
docs/32bpp.txt
Show inline comments
 
@@ -24,13 +24,13 @@ in your images, you will need to add a m
 
remapping. The name is simular as above, only you have to put a 'm' behind the
 
SpriteID. This image should be a 8bpp palette image, where the palette is the
 
OpenTTD palette. Upon load of the PNG, the mask is loaded too, and overrides
 
the RGB (not the Alpha) of the original PNG image, and replacing it with a
 
8bpp color remapped and converted to 32bpp.
 

	
 
An other thing that OpenTTD needs in your png, is 2 tEXt chunks: x_offs and
 
Another thing that OpenTTD needs in your png, is 2 tEXt chunks: x_offs and
 
y_offs. This to define the x- and y-offset, of course. Use the tool we supply
 
to add this information. Sadly enough most graphical editors trashes those
 
chunks upon save, so you have to readd it every time you save your image.
 

	
 
Your images should be the same as the grf, in size.