src/newgrf.cpp
changeset 9334 28ac6c8e0795
parent 9208 191eb01c025a
child 9354 845e07db4549
equal deleted inserted replaced
9333:2da01b3b71d8 9334:28ac6c8e0795
  5089 	                   | ((_patches.never_expire_vehicles ? 1 : 0) << 0x16)  // enginespersist
  5089 	                   | ((_patches.never_expire_vehicles ? 1 : 0) << 0x16)  // enginespersist
  5090 	                   |                                        (1 << 0x1B)  // multihead
  5090 	                   |                                        (1 << 0x1B)  // multihead
  5091 	                   |                                        (1 << 0x1D)  // lowmemory
  5091 	                   |                                        (1 << 0x1D)  // lowmemory
  5092 	                   |                                        (1 << 0x1E); // generalfixes
  5092 	                   |                                        (1 << 0x1E); // generalfixes
  5093 
  5093 
  5094 	_ttdpatch_flags[1] =                                        (0 << 0x07)  // moreairports - based on units of noise
  5094 	_ttdpatch_flags[1] =   ((_patches.station_noise_level ? 1 : 0) << 0x07)  // moreairports - based on units of noise
  5095 	                   |        ((_patches.mammoth_trains ? 1 : 0) << 0x08)  // mammothtrains
  5095 	                   |        ((_patches.mammoth_trains ? 1 : 0) << 0x08)  // mammothtrains
  5096 	                   |                                        (1 << 0x09)  // trainrefit
  5096 	                   |                                        (1 << 0x09)  // trainrefit
  5097 	                   |                                        (0 << 0x0B)  // subsidiaries
  5097 	                   |                                        (0 << 0x0B)  // subsidiaries
  5098 	                   |       ((_patches.gradual_loading ? 1 : 0) << 0x0C)  // gradualloading
  5098 	                   |       ((_patches.gradual_loading ? 1 : 0) << 0x0C)  // gradualloading
  5099 	                   |                                        (1 << 0x12)  // unifiedmaglevmode - set bit 0 mode. Not revelant to OTTD
  5099 	                   |                                        (1 << 0x12)  // unifiedmaglevmode - set bit 0 mode. Not revelant to OTTD