Skip to main content

Module trade

Module trade 

Source
Expand description

Trade network of a startpos (CAMPAIGN_TRADE_MANAGER), built from trade_routes.ptd.

Verified against Attila’s main campaign: every spline (flags, segments, points, lengths, speed tables) and every region and port route matches the game-built startpos. Not covered: the order the game lists the routes in (hash order).

Structs§

NetworkRoute
A route between two regions or ports.
NetworkSpline
A trade spline in world coordinates.
TradeNetwork
Trade network of a campaign, as stored in the startpos.