diff options
author | frosch <frosch@openttd.org> | 2010-08-09 07:10:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-09 07:10:42 +0000 |
commit | 48c5091a7c39739e48d06ec365af4f7c713dd25a (patch) | |
tree | fae43b0772a1cf96b2684adcedc42f8f4d19e34e /src/newgrf_spritegroup.h | |
parent | 67c21f7e01b7f83c77e934c4fe0771324853d2ab (diff) | |
download | openttd-48c5091a7c39739e48d06ec365af4f7c713dd25a.tar.xz |
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r-- | src/newgrf_spritegroup.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index d1c13ca43..468754244 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -22,6 +22,7 @@ #include "newgrf_callbacks.h" #include "newgrf_generic.h" #include "newgrf_storage.h" +#include "newgrf_commons.h" /** * Gets the value of a so-called newgrf "register". @@ -346,7 +347,7 @@ struct ResolverObject { } generic; struct { TileIndex tile; - bool upper_halftile; ///< Are we resolving sprites for the upper halftile? + TileContext context; ///< Are we resolving sprites for the upper halftile, or on a bridge? } routes; struct { const struct Station *st; ///< Station of the airport for which the callback is run, or NULL for build gui. |