How persistent are LinkGraph objects?

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
Strategy Thinker
Engineer
Engineer
Posts: 1
Joined: 18 Dec 2015 02:18

How persistent are LinkGraph objects?

Post by Strategy Thinker »

Basically I want to calculate the average time it takes vehicles to travel between two specified stations, and I want the mcf to use this to calculate the quickest path between stations. However I am not sure whether to store this average time data in the LinkGraph variables or whether to create a new variable to store it (I noticed that some variables seem to be deleted and reinstated repetitively).
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 18 guests