Codechange: Move includes to correct place.

Some other source file inadvertently included things via smallmap_gui.h
This commit is contained in:
Peter Nelson 2023-10-31 02:07:29 +00:00 committed by Peter Nelson
parent ed8df72c49
commit 53845bc024
4 changed files with 14 additions and 10 deletions

View File

@ -19,6 +19,8 @@
#include "../smallmap_gui.h"
#include "../core/geometry_func.hpp"
#include "../widgets/link_graph_legend_widget.h"
#include "../strings_func.h"
#include "linkgraph_gui.h"
#include "table/strings.h"

View File

@ -46,6 +46,8 @@
#include "vehicle_func.h"
#include "viewport_func.h"
#include "void_map.h"
#include "station_func.h"
#include "station_base.h"
#include "table/strings.h"
#include "table/settings.h"

View File

@ -23,7 +23,12 @@
#include "window_func.h"
#include "company_base.h"
#include "zoom_func.h"
#include "strings_func.h"
#include "blitter/factory.hpp"
#include "linkgraph/linkgraph_gui.h"
#include "widgets/smallmap_widget.h"
#include "timer/timer.h"
#include "timer/timer_window.h"
#include "smallmap_gui.h"
#include "table/strings.h"

View File

@ -10,15 +10,10 @@
#ifndef SMALLMAP_GUI_H
#define SMALLMAP_GUI_H
#include "industry_type.h"
#include "company_base.h"
#include "window_gui.h"
#include "strings_func.h"
#include "blitter/factory.hpp"
#include "linkgraph/linkgraph_gui.h"
#include "widgets/smallmap_widget.h"
#include "timer/timer.h"
#include "timer/timer_window.h"
#include "core/geometry_type.hpp"
#include "station_type.h"
#include "tile_type.h"
#include "window_type.h"
/* set up the cargos to be displayed in the smallmap's route legend */
void BuildLinkStatsLegend();