diff options
author | peter1138 <peter1138@openttd.org> | 2011-11-24 12:38:48 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2011-11-24 12:38:48 +0000 |
commit | 81598273e9b6bb2ee20ebdd82f3d4646a02999ba (patch) | |
tree | 2d13cc93dc84f2d99cff6fc2bb02214d4453f033 /src/spritecache.h | |
parent | 15d0a22aac6b90a2055e68d019cab4350376a8fd (diff) | |
download | openttd-81598273e9b6bb2ee20ebdd82f3d4646a02999ba.tar.xz |
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
Diffstat (limited to 'src/spritecache.h')
-rw-r--r-- | src/spritecache.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/spritecache.h b/src/spritecache.h index 0b1a08b19..02be3b4ca 100644 --- a/src/spritecache.h +++ b/src/spritecache.h @@ -16,11 +16,11 @@ /** Data structure describing a sprite. */ struct Sprite { - byte height; ///< Height of the sprite. - uint16 width; ///< Width of the sprite. - int16 x_offs; ///< Number of pixels to shift the sprite to the right. - int16 y_offs; ///< Number of pixels to shift the sprite downwards. - byte data[]; ///< Sprite data. + uint16 height; ///< Height of the sprite. + uint16 width; ///< Width of the sprite. + int16 x_offs; ///< Number of pixels to shift the sprite to the right. + int16 y_offs; ///< Number of pixels to shift the sprite downwards. + byte data[]; ///< Sprite data. }; extern uint _sprite_cache_size; |