src/newgrf_industries.cpp
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10724 68a692eacf22
equal deleted inserted replaced
10991:d8811e327d12 10994:cd9968b6f96b
   262 				colours = GB(Random(), 0, 8);
   262 				colours = GB(Random(), 0, 8);
   263 			}
   263 			}
   264 
   264 
   265 			return industry->founder | (is_ai ? 0x10000 : 0) | (colours << 24);
   265 			return industry->founder | (is_ai ? 0x10000 : 0) | (colours << 24);
   266 		}
   266 		}
       
   267 
       
   268 		case 0x46: return industry->construction_date; // Date when built - long format - (in days)
   267 
   269 
   268 		/* Get industry ID at offset param */
   270 		/* Get industry ID at offset param */
   269 		case 0x60: return GetIndustryIDAtOffset(GetNearbyTile(parameter, industry->xy), industry);
   271 		case 0x60: return GetIndustryIDAtOffset(GetNearbyTile(parameter, industry->xy), industry);
   270 
   272 
   271 		/* Get random tile bits at offset param */
   273 		/* Get random tile bits at offset param */