equal
deleted
inserted
replaced
181 isflat[TS_HOME] = trackconfig[TS_HOME] & (TRACK_BIT_HORZ | TRACK_BIT_VERT); |
181 isflat[TS_HOME] = trackconfig[TS_HOME] & (TRACK_BIT_HORZ | TRACK_BIT_VERT); |
182 |
182 |
183 AdjustTileh(ti->tile, &tileh[TS_HOME]); |
183 AdjustTileh(ti->tile, &tileh[TS_HOME]); |
184 |
184 |
185 for (i = DIAGDIR_NE; i < DIAGDIR_END; i++) { |
185 for (i = DIAGDIR_NE; i < DIAGDIR_END; i++) { |
186 TileIndex neighbour = ti->tile + TileOffsByDir(i); |
186 TileIndex neighbour = ti->tile + TileOffsByDiagDir(i); |
187 uint foundation = 0; |
187 uint foundation = 0; |
188 int k; |
188 int k; |
189 |
189 |
190 /* Here's one of the main headaches. GetTileSlope does not correct for possibly |
190 /* Here's one of the main headaches. GetTileSlope does not correct for possibly |
191 * existing foundataions, so we do have to do that manually later on.*/ |
191 * existing foundataions, so we do have to do that manually later on.*/ |