OpenTTD

Tasklist

FS#4269 - New var to check in CB 28 - distance to map border

Attached to Project: OpenTTD
Opened by George (George) - Thursday, 25 November 2010, 18:05 GMT
Last edited by andythenorth (andythenorth) - Wednesday, 16 August 2017, 09:30 GMT
Type Feature Request
Category NewGRF → NewIndustries
Status Closed
Assigned To andythenorth (andythenorth)
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

R21312

Please provide one more var to check while CB28 - distance to border. Required for fishing grounds and oil rig to look them like in sea.
Can be achieved by checking map size and coordinates, but a var would be of cause easier in use.

[20:43:39] <@Yexo> I see no easier way other than checking the map size and using industry var 80
[20:44:23] <George> Yexo: May be we can have one more var for CB 28 - distance to the boder?
[20:45:55] <@Yexo> that is possible, however I think it's not needed that often and it can already be computed in nfo
[20:46:43] <George> it is required for in sea industries. That is not much, but I hope it is also not hard to implement?
This task depends upon

Closed by  andythenorth (andythenorth)
Wednesday, 16 August 2017, 09:30 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Flyspray clean up: more than 5 years old, and not obvious what should be done with this next, so closing. If this offends, discuss with andythenorth in irc. Thanks.

(Looks like result was achieveable by checking map size and co-ordinates)
Comment by Michael Blunck (mb) - Thursday, 25 November 2010, 21:02 GMT
> Please provide one more var to check while CB28 - distance to border. Required for fishing grounds and oil rig to look them like in sea.

Sorry, what has "distance to border" have to do with "sea"?
Comment by George (George) - Thursday, 25 November 2010, 22:23 GMT
This check would allow to disallow the situation, when the in sea industry is not surrounded with sea visually. I mean when it is black area on the side. Do I need to provide a screen shot?

Loading...