diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6ef4fa3fdf..0add42130c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -117,7 +117,6 @@ add_files( currency.h date_gui.cpp date_gui.h - date_type.h debug.cpp debug.h dedicated.cpp diff --git a/src/date_gui.cpp b/src/date_gui.cpp index 2e3a43c356..9d94e154da 100644 --- a/src/date_gui.cpp +++ b/src/date_gui.cpp @@ -13,7 +13,6 @@ #include "window_func.h" #include "window_gui.h" #include "date_gui.h" -#include "date_type.h" #include "core/geometry_func.hpp" #include "widgets/dropdown_type.h" diff --git a/src/date_type.h b/src/date_type.h deleted file mode 100644 index 5688159c84..0000000000 --- a/src/date_type.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file is part of OpenTTD. - * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. - * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see . - */ - -/** @file date_type.h Types related to the dates in OpenTTD. */ - -#ifndef DATE_TYPE_H -#define DATE_TYPE_H - -#include "timer/timer_game_calendar.h" - - -#endif /* DATE_TYPE_H */ diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index e6aeeb22ff..57f1e80949 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -16,7 +16,6 @@ #include "cargotype.h" #include "strings_func.h" #include "window_func.h" -#include "date_type.h" #include "gfx_func.h" #include "core/geometry_func.hpp" #include "currency.h" diff --git a/src/linkgraph/linkgraph.h b/src/linkgraph/linkgraph.h index 7f9e1e352d..57fe6a3fb3 100644 --- a/src/linkgraph/linkgraph.h +++ b/src/linkgraph/linkgraph.h @@ -13,7 +13,6 @@ #include "../core/pool_type.hpp" #include "../station_base.h" #include "../cargotype.h" -#include "../date_type.h" #include "../timer/timer_game_calendar.h" #include "../saveload/saveload.h" #include "linkgraph_type.h" diff --git a/src/network/network_base.h b/src/network/network_base.h index 44ad10af1b..3557cb45e4 100644 --- a/src/network/network_base.h +++ b/src/network/network_base.h @@ -14,7 +14,6 @@ #include "core/address.h" #include "../core/pool_type.hpp" #include "../company_type.h" -#include "../date_type.h" #include "../timer/timer_game_calendar.h" /** Type for the pool with client information. */ diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h index 944c9cf19c..e09d16e046 100644 --- a/src/newgrf_airport.h +++ b/src/newgrf_airport.h @@ -11,7 +11,6 @@ #define NEWGRF_AIRPORT_H #include "airport.h" -#include "date_type.h" #include "timer/timer_game_calendar.h" #include "newgrf_class.h" #include "newgrf_commons.h" diff --git a/src/newgrf_profiling.h b/src/newgrf_profiling.h index d67f069377..629a42ea0b 100644 --- a/src/newgrf_profiling.h +++ b/src/newgrf_profiling.h @@ -11,7 +11,6 @@ #define NEWGRF_PROFILING_H #include "stdafx.h" -#include "date_type.h" #include "timer/timer_game_calendar.h" #include "newgrf.h" #include "newgrf_callbacks.h" diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp index d979573dbb..a4b984ca88 100644 --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -24,7 +24,6 @@ #include "newgrf_cargo.h" #include "string_func.h" #include "timer/timer_game_calendar.h" -#include "date_type.h" #include "debug.h" #include "core/alloc_type.hpp" #include "language.h" diff --git a/src/order_base.h b/src/order_base.h index 9671b96cac..89d00a3d48 100644 --- a/src/order_base.h +++ b/src/order_base.h @@ -18,7 +18,6 @@ #include "station_type.h" #include "vehicle_type.h" #include "timer/timer_game_tick.h" -#include "date_type.h" #include "saveload/saveload.h" typedef Pool OrderPool; diff --git a/src/rail.h b/src/rail.h index 6fbcaf3bf1..4c46073ccc 100644 --- a/src/rail.h +++ b/src/rail.h @@ -17,7 +17,6 @@ #include "economy_func.h" #include "slope_type.h" #include "strings_type.h" -#include "date_type.h" #include "timer/timer_game_calendar.h" #include "signal_type.h" #include "settings_type.h" diff --git a/src/saveload/misc_sl.cpp b/src/saveload/misc_sl.cpp index af20e34e83..d0c04daa05 100644 --- a/src/saveload/misc_sl.cpp +++ b/src/saveload/misc_sl.cpp @@ -20,7 +20,6 @@ #include "../gfx_func.h" #include "../core/random_func.hpp" #include "../fios.h" -#include "../date_type.h" #include "../timer/timer.h" #include "../timer/timer_game_tick.h" diff --git a/src/script/api/script_date.hpp b/src/script/api/script_date.hpp index 01ef5d3dc2..2e108a74c8 100644 --- a/src/script/api/script_date.hpp +++ b/src/script/api/script_date.hpp @@ -12,7 +12,6 @@ #include "script_object.hpp" #include "timer/timer_game_calendar.h" -#include "../../date_type.h" /** * Class that handles all date related (calculation) functions. diff --git a/src/settings.cpp b/src/settings.cpp index 3c18f4ec32..cfd6dedba0 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -45,7 +45,6 @@ #include "fios.h" #include "fileio_func.h" #include "settings_cmd.h" -#include "date_type.h" #include "table/strings.h" diff --git a/src/sortlist_type.h b/src/sortlist_type.h index 4c2056d2d8..feb02dce53 100644 --- a/src/sortlist_type.h +++ b/src/sortlist_type.h @@ -13,7 +13,6 @@ #include "core/enum_type.hpp" #include "core/bitmath_func.hpp" #include "core/mem_func.hpp" -#include "date_type.h" #include "timer/timer_game_tick.h" /** Flags of the sort list. */ diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp index 782d998b89..2719fef18d 100644 --- a/src/statusbar_gui.cpp +++ b/src/statusbar_gui.cpp @@ -25,7 +25,6 @@ #include "toolbar_gui.h" #include "core/geometry_func.hpp" #include "zoom_func.h" -#include "date_type.h" #include "timer/timer.h" #include "timer/timer_game_calendar.h" #include "timer/timer_window.h" diff --git a/src/story_cmd.h b/src/story_cmd.h index d71efa6383..155ffe0031 100644 --- a/src/story_cmd.h +++ b/src/story_cmd.h @@ -12,7 +12,6 @@ #include "command_type.h" #include "company_type.h" -#include "date_type.h" #include "story_type.h" #include "vehicle_type.h" diff --git a/src/timetable.h b/src/timetable.h index cbc482a825..597d391da7 100644 --- a/src/timetable.h +++ b/src/timetable.h @@ -11,7 +11,6 @@ #define TIMETABLE_H #include "timer/timer_game_tick.h" -#include "date_type.h" #include "timer/timer_game_calendar.h" #include "vehicle_type.h" diff --git a/src/town.h b/src/town.h index b20e3cc30d..60ec9deae5 100644 --- a/src/town.h +++ b/src/town.h @@ -11,7 +11,6 @@ #define TOWN_H #include "viewport_type.h" -#include "date_type.h" #include "timer/timer_game_tick.h" #include "town_map.h" #include "subsidy_type.h" diff --git a/src/vehicle_func.h b/src/vehicle_func.h index da225d844b..06268b4abb 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -11,7 +11,6 @@ #define VEHICLE_FUNC_H #include "gfx_type.h" -#include "date_type.h" #include "direction_type.h" #include "command_type.h" #include "vehicle_type.h"