|
OpenTTD
|
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 219 of file gfx_type.h.
1.8.1.2