in this case, a straight line of 256 tiles highligthed (if there aren't obstacles)Master X wrote:Yes, but if you build bridges like in the following picture, the PC is not able to know, where a bridge should end.
bridge ends highlight (like tunnel's one)
Moderator: OpenTTD Developers
- latinoloco
- Transport Coordinator
- Posts: 315
- Joined: 24 Apr 2005 23:06
- Location: Sydney, Australia
- latinoloco
- Transport Coordinator
- Posts: 315
- Joined: 24 Apr 2005 23:06
- Location: Sydney, Australia
Don't see what the problem is. All you have to do is check each tile in the direction of dragging and highlight it. So what if it has to check 60 tiles, that's hardly a massive computation, it's not going to bring your pc to a crawl, a 1 off check when you start dragging a bridge.
I personally have had a load of situations where I wanted to build a high bridge and I ended up having to either do trial and error on loads of squares or sit there manually working out the height of each square.
I personally have had a load of situations where I wanted to build a high bridge and I ended up having to either do trial and error on loads of squares or sit there manually working out the height of each square.
But that doesn't matter, it's not trying to find "THE" square the bridge "HAS" to end on, just highlight all the possible squares it could end on. If there's flat land, yeah, you get a strip of highlighted squares - how is that a problem?
Have a look at the screenshot someone already posted, there's 3 highlighted squares so you can easilly in an instant where it's possible to end the bridge.
Have a look at the screenshot someone already posted, there's 3 highlighted squares so you can easilly in an instant where it's possible to end the bridge.
- latinoloco
- Transport Coordinator
- Posts: 315
- Joined: 24 Apr 2005 23:06
- Location: Sydney, Australia
This one is interesting idea, but as it was mentioned before, this may kill the computer when checking bridge for x tiles of flat land.
The idea makes sence, however, for a small number of possible bridge endings (<=5 or <=10).
If contunued, ctrl+click on a tile may begin looking for the possible bridge endings, and if one is found, the bridge may be built. This wouldn't require player dragging, but as I said, only one[0] bridge ending is possible...
[0]Or the first one
The idea makes sence, however, for a small number of possible bridge endings (<=5 or <=10).
If contunued, ctrl+click on a tile may begin looking for the possible bridge endings, and if one is found, the bridge may be built. This wouldn't require player dragging, but as I said, only one[0] bridge ending is possible...
[0]Or the first one
Who is online
Users browsing this forum: No registered users and 22 guests