src/newgrf.cpp
changeset 8649 a7a8060fb837
parent 8626 9781464622be
child 8655 091434f42207
equal deleted inserted replaced
8648:dcd755910009 8649:a7a8060fb837
  4089 		case 0x0E: return _patches.freight_trains;
  4089 		case 0x0E: return _patches.freight_trains;
  4090 
  4090 
  4091 		/* empty wagon speed increase */
  4091 		/* empty wagon speed increase */
  4092 		case 0x0F: return 0;
  4092 		case 0x0F: return 0;
  4093 
  4093 
  4094 		/* plane speed factor */
  4094 		/* plane speed factor; our patch option is reversed from TTDPatch's,
  4095 		case 0x10: return 4;
  4095 		 * the following is good for 1x, 2x and 4x (most common?) and...
       
  4096 		 * well not really for 3x. */
       
  4097 		case 0x10:
       
  4098 			switch (_patches.plane_speed) {
       
  4099 				default:
       
  4100 				case 4: return 1;
       
  4101 				case 3: return 2;
       
  4102 				case 2: return 2;
       
  4103 				case 1: return 4;
       
  4104 			}
       
  4105 
  4096 
  4106 
  4097 		/* 2CC colormap base sprite */
  4107 		/* 2CC colormap base sprite */
  4098 		case 0x11: return SPR_2CCMAP_BASE;
  4108 		case 0x11: return SPR_2CCMAP_BASE;
  4099 
  4109 
  4100 		/* map size: format = -MABXYSS
  4110 		/* map size: format = -MABXYSS