Files @ r27438:22e72ba90974
Branch filter:

Location: cpp/openttd-patchpack/source/src/linkgraph/CMakeLists.txt

PeterN
Change: Reorganise industry accept/produce arrays. (#10853)

Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed.
add_files(
    demands.cpp
    demands.h
    flowmapper.cpp
    flowmapper.h
    init.h
    linkgraph.cpp
    linkgraph.h
    linkgraph_base.h
    linkgraph_gui.cpp
    linkgraph_gui.h
    linkgraph_type.h
    linkgraphjob.cpp
    linkgraphjob.h
    linkgraphjob_base.h
    linkgraphschedule.cpp
    linkgraphschedule.h
    mcf.cpp
    mcf.h
    refresh.cpp
    refresh.h
)