equal
deleted
inserted
replaced
293 |
293 |
294 /* Count of industry, distance of closest instance |
294 /* Count of industry, distance of closest instance |
295 * 68 is the same as 67, but with a filtering on selected layout */ |
295 * 68 is the same as 67, but with a filtering on selected layout */ |
296 case 0x67: |
296 case 0x67: |
297 case 0x68: return GetCountAndDistanceOfClosestInstance(parameter, variable == 0x68 ? GB(GetRegister(0x101), 0, 8) : 0, industry); |
297 case 0x68: return GetCountAndDistanceOfClosestInstance(parameter, variable == 0x68 ? GB(GetRegister(0x101), 0, 8) : 0, industry); |
|
298 |
|
299 case 0x69: return industry->construction_date; // Date when built - long format - (in days) |
298 |
300 |
299 /* Get a variable from the persistent storage */ |
301 /* Get a variable from the persistent storage */ |
300 case 0x7C: return industry->psa.Get(parameter); |
302 case 0x7C: return industry->psa.Get(parameter); |
301 |
303 |
302 /* Read GRF parameter */ |
304 /* Read GRF parameter */ |