diff options
author | rubidium <rubidium@openttd.org> | 2006-12-30 11:57:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-12-30 11:57:52 +0000 |
commit | 5f88e816416ee78b3b693253c0ff298c36459a8b (patch) | |
tree | 208ddbfdccba148fd9aa969b5124fe9c495ba540 /table/industry_land.h | |
parent | c7b1fd6fc2dd73e9b9bf150b5bb81e340fa75958 (diff) | |
download | openttd-5f88e816416ee78b3b693253c0ff298c36459a8b.tar.xz |
(svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location.
Diffstat (limited to 'table/industry_land.h')
-rw-r--r-- | table/industry_land.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/table/industry_land.h b/table/industry_land.h index 22d731706..60beb74fb 100644 --- a/table/industry_land.h +++ b/table/industry_land.h @@ -989,3 +989,34 @@ static const byte _industry_section_bits[NUM_INDUSTRY_GFXES] = { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }; + +/** + * When true, the tile has to be drawn using the animation + * state instead of the construction state. + * The indices into this table are the ones as described by + * the enum with GFX_*s in industry_map.h. + */ +static const bool _industry_section_draw_animation_state[NUM_INDUSTRY_GFXES] = { + false, true, false, false, false, false, false, false, // <- animated wheel tower of coal mine + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, true, true, // <- animated oil well + true, false, false, false, false, false, false, false, // <- animated oil well + false, false, false, false, false, false, false, false, + true, false, false, false, false, false, false, false, // <- animated wheel tower of copper mine + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + true, false, false, false, false, false, false, false, // <- animated wheel tower of gold mine + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, false, + false, false, false, false, false, false, false, +}; |