genland.h

Go to the documentation of this file.
00001 /* $Id: genland.h 17248 2009-08-21 20:21:05Z rubidium $ */
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 #define M(x, y) {x,  y}
00013 
00014 static const TileIndexDiffC _make_desert_or_rainforest_data[] = {
00015   M(-5, -6),
00016   M(-4, -6),
00017   M(-3, -6),
00018   M(-2, -6),
00019   M(-1, -6),
00020   M( 0, -5),
00021   M( 1, -5),
00022   M( 2, -5),
00023   M( 3, -5),
00024   M( 4, -5),
00025   M( 5, -5),
00026   M(-5, -5),
00027   M(-4, -5),
00028   M(-3, -5),
00029   M(-2, -5),
00030   M(-1, -5),
00031   M( 0, -4),
00032   M( 1, -4),
00033   M( 2, -4),
00034   M( 3, -4),
00035   M( 4, -4),
00036   M( 5, -4),
00037   M(-5, -4),
00038   M(-4, -4),
00039   M(-3, -4),
00040   M(-2, -4),
00041   M(-1, -4),
00042   M( 0, -3),
00043   M( 1, -3),
00044   M( 2, -3),
00045   M( 3, -3),
00046   M( 4, -3),
00047   M( 5, -3),
00048   M(-5, -3),
00049   M(-4, -3),
00050   M(-3, -3),
00051   M(-2, -3),
00052   M(-1, -3),
00053   M( 0, -2),
00054   M( 1, -2),
00055   M( 2, -2),
00056   M( 3, -2),
00057   M( 4, -2),
00058   M( 5, -2),
00059   M(-5, -2),
00060   M(-4, -2),
00061   M(-3, -2),
00062   M(-2, -2),
00063   M(-1, -2),
00064   M( 0, -1),
00065   M( 1, -1),
00066   M( 2, -1),
00067   M( 3, -1),
00068   M( 4, -1),
00069   M( 5, -1),
00070   M(-5, -1),
00071   M(-4, -1),
00072   M(-3, -1),
00073   M(-2, -1),
00074   M(-1, -1),
00075   M( 0,  0),
00076   M( 1,  0),
00077   M( 2,  0),
00078   M( 3,  0),
00079   M( 4,  0),
00080   M( 5,  0),
00081   M(-5,  0),
00082   M(-4,  0),
00083   M(-3,  0),
00084   M(-2,  0),
00085   M(-1,  0),
00086   M( 0,  1),
00087   M( 1,  1),
00088   M( 2,  1),
00089   M( 3,  1),
00090   M( 4,  1),
00091   M( 5,  1),
00092   M(-5,  1),
00093   M(-4,  1),
00094   M(-3,  1),
00095   M(-2,  1),
00096   M(-1,  1),
00097   M( 0,  2),
00098   M( 1,  2),
00099   M( 2,  2),
00100   M( 3,  2),
00101   M( 4,  2),
00102   M( 5,  2),
00103   M(-5,  2),
00104   M(-4,  2),
00105   M(-3,  2),
00106   M(-2,  2),
00107   M(-1,  2),
00108   M( 0,  3),
00109   M( 1,  3),
00110   M( 2,  3),
00111   M( 3,  3),
00112   M( 4,  3),
00113   M( 5,  3),
00114   M(-5,  3),
00115   M(-4,  3),
00116   M(-3,  3),
00117   M(-2,  3),
00118   M(-1,  3),
00119   M( 0,  4),
00120   M( 1,  4),
00121   M( 2,  4),
00122   M( 3,  4),
00123   M( 4,  4),
00124   M( 5,  4),
00125   M(-5,  4),
00126   M(-4,  4),
00127   M(-3,  4),
00128   M(-2,  4),
00129   M(-1,  4),
00130   M( 0,  5),
00131   M( 1,  5),
00132   M( 2,  5),
00133   M( 3,  5),
00134   M( 4,  5),
00135   M( 5,  5),
00136   M( 6, -3),
00137   M(-6, -4),
00138   M(-3,  5),
00139   M(-3, -7),
00140   M( 6, -2),
00141   M(-6, -3),
00142   M(-2,  5),
00143   M(-2, -7),
00144   M( 6, -1),
00145   M(-6, -2),
00146   M(-1,  5),
00147   M(-1, -7),
00148   M( 6,  0),
00149   M(-6, -1),
00150   M( 0,  6),
00151   M( 0, -6),
00152   M( 6,  1),
00153   M(-6,  0),
00154   M( 1,  6),
00155   M( 1, -6),
00156   M( 6,  2),
00157   M(-6,  1),
00158   M( 2,  6),
00159   M( 2, -6),
00160   M( 6,  3),
00161   M(-6,  2),
00162   M( 3,  6),
00163   M( 3, -6)
00164 };
00165 
00166 
00167 
00168 #undef M

Generated on Wed Mar 17 23:50:17 2010 for OpenTTD by  doxygen 1.6.1