summaryrefslogtreecommitdiff
path: root/src/spriteloader
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2011-11-24 12:26:44 +0000
committerpeter1138 <peter1138@openttd.org>2011-11-24 12:26:44 +0000
commit15d0a22aac6b90a2055e68d019cab4350376a8fd (patch)
tree0b94b0f8551f81dcdf924ce628d1a674d7a8fb63 /src/spriteloader
parent4e97261315211c65459b91685537f82e5c454604 (diff)
downloadopenttd-15d0a22aac6b90a2055e68d019cab4350376a8fd.tar.xz
(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.
Diffstat (limited to 'src/spriteloader')
-rw-r--r--src/spriteloader/spriteloader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/spriteloader/spriteloader.hpp b/src/spriteloader/spriteloader.hpp
index 86a87e7a4..b1d9b5c58 100644
--- a/src/spriteloader/spriteloader.hpp
+++ b/src/spriteloader/spriteloader.hpp
@@ -38,6 +38,7 @@ public:
uint16 width; ///< Width of the sprite
int16 x_offs; ///< The x-offset of where the sprite will be drawn
int16 y_offs; ///< The y-offset of where the sprite will be drawn
+ SpriteType type; ///< The sprite type
SpriteLoader::CommonPixel *data; ///< The sprite itself
/**