You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/linkgraph
Jonathan G Rennison 19835b51ee Move StationCargoList and FlowStatMap out of GoodsEntry struct
Move them into a new GoodsEntryData struct referenced
using a std::unique_ptr from GoodsEntry.
The unique_ptr may be nullptr if the cargo list and flow stat map
are both empty (this is the case for unused cargoes).

This reduces GoodsEntry from 128 to 24 bytes,
and Station from 8680 to 2024 bytes,
(on Linux x86_64).
10 months ago
..
CMakeLists.txt Add: introduce CMake for project management 4 years ago
demands.cpp Ring buffer: Use as backing for std::queue uses 10 months ago
demands.h Add various missing includes 12 months ago
flowmapper.cpp Clamp runtime to be non-zero in FlowMapper::Run 11 months ago
flowmapper.h Codechange: use default dtor instead of empty (#10826) 1 year ago
init.h Codechange: use default dtor instead of empty (#10826) 1 year ago
linkgraph.cpp Link graph: Store last compression in scaled date ticks 1 year ago
linkgraph.h Add various missing includes 12 months ago
linkgraph_base.h Codechange: [Linkgraph] Drop node/edge wrappers from LinkGraph. 1 year ago
linkgraph_gui.cpp Move StationCargoList and FlowStatMap out of GoodsEntry struct 10 months ago
linkgraph_gui.h Change: Cargo flow legend only shows defined cargo. (#10872) 1 year ago
linkgraph_type.h Cleanup: Remove obsolete (Make)EnumPropsT. (#10697) 1 year ago
linkgraphjob.cpp Move StationCargoList and FlowStatMap out of GoodsEntry struct 10 months ago
linkgraphjob.h Link graph: Also change start_date_ticks when using date cheat 11 months ago
linkgraphjob_base.h Codechange: [Linkgraph] Drop node/edge wrappers from LinkGraphJob. 1 year ago
linkgraphschedule.cpp Merge branch 'master' into jgrpp 1 year ago
linkgraphschedule.h Add various missing includes 12 months ago
mcf.cpp Codechange: Move includes for common STL headers to stdafx. 1 year ago
mcf.h Merge branch 'master' into jgrpp 1 year ago
refresh.cpp Merge branch 'master' into jgrpp 1 year ago
refresh.h Codechange: Move includes for common STL headers to stdafx. 1 year ago