Shannon V. OKeets
Posts: 22095
Joined: 5/19/2005 From: Honolulu, Hawaii Status: offline
|
3rd in a series of 4. Here is the real test for the supply routines. The Axis excursion into Iraq, heading for Perisa, has a string of HQs stretching back to Italy for supply. Although Baghdad, as the capital of an aligned minor country is a secondary supply source for Italy and Germany, it is OOS because it can't reach the HQs using 4 basic path hexes (desert hexes cost 2 BPH). I had the code working correctly here last week, but I made a ton of changes to the data structure for supply so that it could be recalculated quickly as units move about the map. This morning I am trying to figure out what is wrong with the code for finding Balbo's and Guderian's paths back to Graziani. Once Balbo is in supply, he serves as a tertiary supply source for Guderian, who, in turn, puts the eastern most units in supply.
Attachment (1)
_____________________________
Steve Perfection is an elusive goal.
|