OpenTTD Source 20241224-master-gee860a5c8e
|
Used to only draw a part of the sprite. More...
#include <gfx_type.h>
Data Fields | |
int | left |
int | top |
int | right |
int | bottom |
Used to only draw a part of the sprite.
Draw the subsprite in the rect (sprite_x_offset + left, sprite_y_offset + top) to (sprite_x_offset + right, sprite_y_offset + bottom). Both corners are included in the drawing area.
Definition at line 231 of file gfx_type.h.
int SubSprite::bottom |
Definition at line 232 of file gfx_type.h.
int SubSprite::left |
Definition at line 232 of file gfx_type.h.
int SubSprite::right |
Definition at line 232 of file gfx_type.h.
int SubSprite::top |
Definition at line 232 of file gfx_type.h.