OpenTTD Source
20241108-master-g80f628063a
|
Parameters related to blitting. More...
#include <base.hpp>
Data Fields | |
const void * | sprite |
Pointer to the sprite how ever the encoder stored it. | |
const uint8_t * | remap |
XXX – Temporary storage for remap array. | |
int | skip_left |
How much pixels of the source to skip on the left (based on zoom of dst) | |
int | skip_top |
How much pixels of the source to skip on the top (based on zoom of dst) | |
int | width |
The width in pixels that needs to be drawn to dst. | |
int | height |
The height in pixels that needs to be drawn to dst. | |
int | sprite_width |
Real width of the sprite. | |
int | sprite_height |
Real height of the sprite. | |
int | left |
The left offset in the 'dst' in pixels to start drawing. | |
int | top |
The top offset in the 'dst' in pixels to start drawing. | |
void * | dst |
Destination buffer. | |
int | pitch |
The pitch of the destination buffer. | |