MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / DeliveredCargoGraphWindow

Method DeliveredCargoGraphWindow

src/graph_gui.cpp:1019–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017
1018struct DeliveredCargoGraphWindow : BaseCompanyGraphWindow {
1019 DeliveredCargoGraphWindow(WindowDesc &desc, WindowNumber window_number) :
1020 BaseCompanyGraphWindow(desc, STR_JUST_COMMA)
1021 {
1022 this->num_on_x_axis = GRAPH_NUM_MONTHS;
1023 this->num_vert_lines = GRAPH_NUM_MONTHS;
1024 this->draw_dates = !TimerGameEconomy::UsingWallclockUnits();
1025
1026 this->InitializeWindow(window_number);
1027 }
1028
1029 OverflowSafeInt64 GetGraphData(const Company *c, int j) override
1030 {

Callers

nothing calls this directly

Calls 1

InitializeWindowMethod · 0.45

Tested by

no test coverage detected