nef wrote:According to 'Rome' the corruption formula (p223) is:

Corruption = Total Trade * Dist * 3 / (10 * Gov) where Gov is = 8 (Anarchy), 12 (Despotism), 16 (Monarchy), 20 (Communism), 24 (Republic), 0 (Democracy) [The last is obviously a mistake - the corruption is zero for Democracy]. Divide by 2 for palace or courthouse in the city. Dist is always 10 for communism (and by implication 0 for Democracy so one could make Gov = 28). For the others Dist = 32 if you have no palace. but note 1. 'Rome' states that 32 is the maximum so in fc one should perhaps consider map size issue, 2. 'Rome' is ambiguous as to what happens with Communism and Democracy when there is no palace.

Also the metric used by Civ I (& II) is max(abs(dx), abs(dy)) + min(abs(dx),abs(dy))/2 giving what I consider to be a respectable approximation of a pythagorean sqrt. In any event, far superior to Chebyshev or Manhatten, being a compromise between the two, much like the sqrt pythagorean.

I found these pages on corruption and (for civ2) waste:

civ1 civ2. Note that Civ2 calculates prod waste

after paying unit upkeeps And maybe it just uses "diagonal=1.5" distance formula for corruption, i.e. (map_distance+real_map_distance)/2 (oh, that's effectively exactly equal to what you wrote).