# airporttiles.h

Go to the documentation of this file.

    00001 /* $Id: airporttiles.h 18845 2010-01-17 14:22:07Z 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
    00015
    00017 #define AT(anim_next, anim_speed) {anim_next, anim_speed}
    00018
    00020 static const AirportTileSpec _origin_airporttile_specs[] = {
    00021   /* 0..9 */
    00022   AT(AIRPORTTILE_NOANIM, 2),
    00023   AT(AIRPORTTILE_NOANIM, 2),
    00024   AT(AIRPORTTILE_NOANIM, 2),
    00025   AT(AIRPORTTILE_NOANIM, 2),
    00026   AT(AIRPORTTILE_NOANIM, 2),
    00027   AT(AIRPORTTILE_NOANIM, 2),
    00028   AT(AIRPORTTILE_NOANIM, 2),
    00029   AT(AIRPORTTILE_NOANIM, 2),
    00030   AT(AIRPORTTILE_NOANIM, 2),
    00031   AT(AIRPORTTILE_NOANIM, 2),
    00032
    00033   /* 10..19 */
    00034   AT(AIRPORTTILE_NOANIM, 2),
    00035   AT(AIRPORTTILE_NOANIM, 2),
    00036   AT(AIRPORTTILE_NOANIM, 2),
    00037   AT(AIRPORTTILE_NOANIM, 2),
    00038   AT(AIRPORTTILE_NOANIM, 2),
    00039   AT(AIRPORTTILE_NOANIM, 2),
    00040   AT(AIRPORTTILE_NOANIM, 2),
    00041   AT(AIRPORTTILE_NOANIM, 2),
    00042   AT(AIRPORTTILE_NOANIM, 2),
    00043   AT(AIRPORTTILE_NOANIM, 2),
    00044
    00045   /* 20..29*/
    00046   AT(AIRPORTTILE_NOANIM, 2),
    00047   AT(AIRPORTTILE_NOANIM, 2),
    00048   AT(AIRPORTTILE_NOANIM, 2),
    00049   AT(AIRPORTTILE_NOANIM, 2),
    00050   AT(AIRPORTTILE_NOANIM, 2),
    00051   AT(AIRPORTTILE_NOANIM, 2),
    00052   AT(AIRPORTTILE_NOANIM, 2),
    00053   AT(AIRPORTTILE_NOANIM, 2),
    00054   AT(AIRPORTTILE_NOANIM, 2),
    00055   AT(AIRPORTTILE_NOANIM, 2),
    00056
    00057   /* 30..39*/
    00058   AT(AIRPORTTILE_NOANIM, 2),
    00059   AT(                32, 2),
    00060   AT(                33, 2),
    00061   AT(                34, 2),
    00062   AT(                35, 2),
    00063   AT(                36, 2),
    00064   AT(                37, 2),
    00065   AT(                38, 2),
    00066   AT(                39, 2),
    00067   AT(                40, 2),
    00068
    00069   /* 40..49 */
    00070   AT(                41, 2),
    00071   AT(                42, 2),
    00072   AT(                31, 2),
    00073   AT(AIRPORTTILE_NOANIM, 2),
    00074   AT(AIRPORTTILE_NOANIM, 2),
    00075   AT(AIRPORTTILE_NOANIM, 2),
    00076   AT(AIRPORTTILE_NOANIM, 2),
    00077   AT(AIRPORTTILE_NOANIM, 2),
    00078   AT(AIRPORTTILE_NOANIM, 2),
    00079   AT(AIRPORTTILE_NOANIM, 2),
    00080
    00081   /* 50..59 */
    00082   AT(                51, 1),
    00083   AT(                52, 1),
    00084   AT(                53, 1),
    00085   AT(                50, 1),
    00086   AT(AIRPORTTILE_NOANIM, 2),
    00087   AT(AIRPORTTILE_NOANIM, 2),
    00088   AT(AIRPORTTILE_NOANIM, 2),
    00089   AT(AIRPORTTILE_NOANIM, 2),
    00090   AT(AIRPORTTILE_NOANIM, 2),
    00091   AT(AIRPORTTILE_NOANIM, 2),
    00092
    00093   /* 60..69 */
    00094   AT(AIRPORTTILE_NOANIM, 2),
    00095   AT(AIRPORTTILE_NOANIM, 2),
    00096   AT(AIRPORTTILE_NOANIM, 2),
    00097   AT(AIRPORTTILE_NOANIM, 2),
    00098   AT(AIRPORTTILE_NOANIM, 2),
    00099   AT(AIRPORTTILE_NOANIM, 2),
    00100   AT(                67, 2),
    00101   AT(                68, 2),
    00102   AT(                69, 2),
    00103   AT(                70, 2),
    00104
    00105   /* 70..79 */
    00106   AT(                71, 2),
    00107   AT(                72, 2),
    00108   AT(                73, 2),
    00109   AT(                74, 2),
    00110   AT(                75, 2),
    00111   AT(                76, 2),
    00112   AT(                77, 2),
    00113   AT(                66, 2),
    00114   AT(                79, 2),
    00115   AT(                80, 2),
    00116
    00117   /* 80..89 */
    00118   AT(                81, 2),
    00119   AT(                82, 2),
    00120   AT(                83, 2),
    00121   AT(                84, 2),
    00122   AT(                85, 2),
    00123   AT(                86, 2),
    00124   AT(                87, 2),
    00125   AT(                88, 2),
    00126   AT(                89, 2),
    00127   AT(                78, 2),
    00128
    00129   /* 90..99 */
    00130   AT(AIRPORTTILE_NOANIM, 2),
    00131   AT(AIRPORTTILE_NOANIM, 2),
    00132   AT(AIRPORTTILE_NOANIM, 2),
    00133   AT(AIRPORTTILE_NOANIM, 2),
    00134   AT(AIRPORTTILE_NOANIM, 2),
    00135   AT(AIRPORTTILE_NOANIM, 2),
    00136   AT(AIRPORTTILE_NOANIM, 2),
    00137   AT(AIRPORTTILE_NOANIM, 2),
    00138   AT(AIRPORTTILE_NOANIM, 2),
    00139   AT(AIRPORTTILE_NOANIM, 2),
    00140
    00141   /* 100..109 */
    00142   AT(AIRPORTTILE_NOANIM, 2),
    00143   AT(AIRPORTTILE_NOANIM, 2),
    00144   AT(AIRPORTTILE_NOANIM, 2),
    00145   AT(AIRPORTTILE_NOANIM, 2),
    00146   AT(AIRPORTTILE_NOANIM, 2),
    00147   AT(AIRPORTTILE_NOANIM, 2),
    00148   AT(AIRPORTTILE_NOANIM, 2),
    00149   AT(AIRPORTTILE_NOANIM, 2),
    00150   AT(AIRPORTTILE_NOANIM, 2),
    00151   AT(AIRPORTTILE_NOANIM, 2),
    00152
    00153   /* 110..119 */
    00154   AT(AIRPORTTILE_NOANIM, 2),
    00155   AT(AIRPORTTILE_NOANIM, 2),
    00156   AT(AIRPORTTILE_NOANIM, 2),
    00157   AT(AIRPORTTILE_NOANIM, 2),
    00158   AT(AIRPORTTILE_NOANIM, 2),
    00159   AT(AIRPORTTILE_NOANIM, 2),
    00160   AT(AIRPORTTILE_NOANIM, 2),
    00161   AT(AIRPORTTILE_NOANIM, 2),
    00162   AT(AIRPORTTILE_NOANIM, 2),
    00163   AT(AIRPORTTILE_NOANIM, 2),
    00164
    00165   /* 120..129 */
    00166   AT(AIRPORTTILE_NOANIM, 2),
    00167   AT(               122, 2),
    00168   AT(               123, 2),
    00169   AT(               124, 2),
    00170   AT(               125, 2),
    00171   AT(               126, 2),
    00172   AT(               127, 2),
    00173   AT(               128, 2),
    00174   AT(               129, 2),
    00175   AT(               130, 2),
    00176
    00177   /* 130..139 */
    00178   AT(               131, 2),
    00179   AT(               132, 2),
    00180   AT(               121, 2),
    00181   AT(AIRPORTTILE_NOANIM, 2),
    00182   AT(AIRPORTTILE_NOANIM, 2),
    00183   AT(AIRPORTTILE_NOANIM, 2),
    00184   AT(AIRPORTTILE_NOANIM, 2),
    00185   AT(AIRPORTTILE_NOANIM, 2),
    00186   AT(AIRPORTTILE_NOANIM, 2),
    00187   AT(AIRPORTTILE_NOANIM, 2),
    00188
    00189   /* 140..143 */
    00190   AT(               141, 1),
    00191   AT(               142, 1),
    00192   AT(               143, 1),
    00193   AT(               140, 1),
    00194 };
    00195
    00196 assert_compile(NUM_AIRPORTTILES == lengthof(_origin_airporttile_specs));
    00197
    00198 #undef AT
    00199
    00200 #endif /* AIRPORTTILES_H */