# airporttiles.h

Go to the documentation of this file.

    00001 /* $Id: airporttiles.h 18912 2010-01-24 20:25:28Z yexo $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00012 #ifndef AIRPORTTILES_H
    00013 #define AIRPORTTILES_H
    00014
    00016 #define AT(num_frames, anim_speed) {(1 << 8) | num_frames, anim_speed}
    00017
    00018 #define AT_NOANIM {0xFFFF, 2}
    00019
    00022 static const AirportTileSpec _origin_airporttile_specs[] = {
    00023   /* 0..9 */
    00024   AT_NOANIM,
    00025   AT_NOANIM,
    00026   AT_NOANIM,
    00027   AT_NOANIM,
    00028   AT_NOANIM,
    00029   AT_NOANIM,
    00030   AT_NOANIM,
    00031   AT_NOANIM,
    00032   AT_NOANIM,
    00033   AT_NOANIM,
    00034
    00035   AT_NOANIM,
    00036   AT_NOANIM,
    00037   AT_NOANIM,
    00038   AT_NOANIM,
    00039   AT_NOANIM,
    00040   AT_NOANIM,
    00041   AT_NOANIM,
    00042   AT_NOANIM,
    00043   AT_NOANIM,
    00044   AT_NOANIM,
    00045
    00046   AT_NOANIM,
    00047   AT_NOANIM,
    00048   AT_NOANIM,
    00049   AT_NOANIM,
    00050   AT_NOANIM,
    00051   AT_NOANIM,
    00052   AT_NOANIM,
    00053   AT_NOANIM,
    00054   AT_NOANIM,
    00055   AT_NOANIM,
    00056
    00057   AT_NOANIM,
    00058   AT(12, 2), // APT_RADAR_GRASS_FENCE_SW
    00059   AT_NOANIM,
    00060   AT_NOANIM,
    00061   AT_NOANIM,
    00062   AT_NOANIM,
    00063   AT_NOANIM,
    00064   AT_NOANIM,
    00065   AT_NOANIM,
    00066   AT(4, 1), // APT_GRASS_FENCE_NE_FLAG
    00067
    00068   AT_NOANIM,
    00069   AT_NOANIM,
    00070   AT_NOANIM,
    00071   AT_NOANIM,
    00072   AT_NOANIM,
    00073   AT_NOANIM,
    00074   AT_NOANIM,
    00075   AT_NOANIM,
    00076   AT_NOANIM,
    00077   AT_NOANIM,
    00078
    00079   AT_NOANIM,
    00080   AT(12, 2), // APT_RADAR_FENCE_SW
    00081   AT(12, 2), // APT_RADAR_FENCE_NE
    00082   AT_NOANIM,
    00083   AT_NOANIM,
    00084   AT_NOANIM,
    00085   AT_NOANIM,
    00086   AT_NOANIM,
    00087   AT_NOANIM,
    00088   AT_NOANIM,
    00089
    00090   AT_NOANIM,
    00091   AT_NOANIM,
    00092   AT_NOANIM,
    00093   AT_NOANIM,
    00094   AT_NOANIM,
    00095   AT_NOANIM,
    00096   AT_NOANIM,
    00097   AT_NOANIM,
    00098   AT_NOANIM,
    00099   AT_NOANIM,
    00100
    00101   AT_NOANIM,
    00102   AT_NOANIM,
    00103   AT_NOANIM,
    00104   AT(4, 1), // APT_GRASS_FENCE_NE_FLAG_2
    00105 };
    00106
    00107 assert_compile(NUM_AIRPORTTILES == lengthof(_origin_airporttile_specs));
    00108
    00109 #undef AT_NOANIM
    00110 #undef AT
    00111
    00112 #endif /* AIRPORTTILES_H */