src/oldloader.cpp
changeset 7768 2060e8d65a72
parent 7661 40c7a63ad9a1
child 7830 210381b46ae6
equal deleted inserted replaced
7767:7d8033aa8248 7768:2060e8d65a72
  1576 		switch (GetTileType(i)) {
  1576 		switch (GetTileType(i)) {
  1577 			case MP_STATION:
  1577 			case MP_STATION:
  1578 				_m[i].m4 = 0; // We do not understand this TTDP station mapping (yet)
  1578 				_m[i].m4 = 0; // We do not understand this TTDP station mapping (yet)
  1579 				switch (_m[i].m5) {
  1579 				switch (_m[i].m5) {
  1580 					/* We have drive through stops at a totally different place */
  1580 					/* We have drive through stops at a totally different place */
  1581 					case 0x53: case 0x54: _m[i].m5 += GFX_BUS_BASE_EXT   - 0x53; break;
  1581 					case 0x53: case 0x54: _m[i].m5 += 170 - 0x53; break; // Bus drive through
  1582 					case 0x57: case 0x58: _m[i].m5 += GFX_TRUCK_BASE_EXT - 0x57; break;
  1582 					case 0x57: case 0x58: _m[i].m5 += 168 - 0x57; break; // Truck drive through
  1583 					case 0x55: case 0x56: // Bus tram stop
  1583 					case 0x55: case 0x56: _m[i].m5 += 170 - 0x55; break; // Bus tram stop
  1584 					case 0x59: case 0x5A: // Truck tram stop
  1584 					case 0x59: case 0x5A: _m[i].m5 += 168 - 0x59; break; // Truck tram stop
  1585 						DEBUG(oldloader, 0, "Loading failed - we don't support trams (yet)");
  1585 					default: break;
  1586 						return false;
       
  1587 				}
  1586 				}
  1588 				break;
  1587 				break;
  1589 
  1588 
  1590 			case MP_RAILWAY:
  1589 			case MP_RAILWAY:
  1591 				/* We save presignals different from TTDPatch, convert them */
  1590 				/* We save presignals different from TTDPatch, convert them */