summaryrefslogtreecommitdiff
path: root/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-06-22 21:15:27 +0000
committerpeter1138 <peter1138@openttd.org>2006-06-22 21:15:27 +0000
commit3753d0b602cc8bc13db9e4022e6b4b97fbfd161c (patch)
tree4762f0c461eb14f87e356bff742e769215de191f /newgrf_spritegroup.h
parent84deeb78476cf8247c14e13c0276925167ee2e45 (diff)
downloadopenttd-3753d0b602cc8bc13db9e4022e6b4b97fbfd161c.tar.xz
(svn r5336) - NewGRF: draw custom helicopter rotor sprites in vehicle info window, ensuring the correct direction is used (inspiration from mart3p)
Diffstat (limited to 'newgrf_spritegroup.h')
-rw-r--r--newgrf_spritegroup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newgrf_spritegroup.h b/newgrf_spritegroup.h
index 471299abb..ad3507a5f 100644
--- a/newgrf_spritegroup.h
+++ b/newgrf_spritegroup.h
@@ -165,6 +165,8 @@ typedef struct ResolverObject {
uint32 reseed;
VarSpriteGroupScope scope;
+ bool info_view; ///< Indicates if the item is being drawn in an info window
+
union {
struct {
const struct Vehicle *self;