OpenTTD Source  20240917-master-g9ab0a47812
Blitter::BlitterParams Struct Reference

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.
 

Detailed Description

Parameters related to blitting.

Definition at line 32 of file base.hpp.


The documentation for this struct was generated from the following file: