Latest Posts

Topic: Help with the path finding algorithm

Graograman
Avatar
Topic Opener
Joined: 2014-11-11, 11:57
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-02-10, 01:21

Hi, I've been looking into the code for a while now, but am struggling with finding the algorithm for setting the transportation paths for the wares. Can someone give me a hint in which classes it is located? Right now I am looking at carrier...


Top Quote
Graograman
Avatar
Topic Opener
Joined: 2014-11-11, 11:57
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-02-10, 05:56

Now I just found find_route face-smile.png


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2015-02-12, 07:32

I think you mostly want to look at class Transfer and Economy::find_route.


Top Quote