Changeset - r27449:f17dab49194e
[Not reviewed]
master
0 14 0
PeterN - 15 months ago 2023-05-29 13:29:00
peter1138@openttd.org
Codechange: Remove duplicated includes. (#10888)

These are now included by stdafx.h so don't need to be included again.
14 files changed with 0 insertions and 16 deletions:
0 comments (0 inline, 0 general)
src/graph_gui.cpp
Show inline comments
 
@@ -26,13 +26,12 @@
 
#include "zoom_func.h"
 

	
 
#include "widgets/graph_widget.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
 
#include <math.h>
 

	
 
#include "safeguards.h"
 

	
 
/* Bitmasks of company and cargo indices that shouldn't be drawn. */
 
static CompanyMask _legend_excluded_companies;
 
static CargoTypes _legend_excluded_cargo;
src/mixer.cpp
Show inline comments
 
@@ -5,13 +5,12 @@
 
 * 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 <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file mixer.cpp Mixing of sound samples. */
 

	
 
#include "stdafx.h"
 
#include <math.h>
 
#include <mutex>
 
#include <atomic>
 
#include "core/math_func.hpp"
 
#include "framerate_type.h"
 
#include "settings_type.h"
 

	
src/music/extmidi.cpp
Show inline comments
 
@@ -21,13 +21,12 @@
 
#include <fcntl.h>
 
#include <sys/types.h>
 
#include <sys/wait.h>
 
#include <unistd.h>
 
#include <signal.h>
 
#include <sys/stat.h>
 
#include <errno.h>
 

	
 
#include "../safeguards.h"
 

	
 
#ifndef EXTERNAL_PLAYER
 
/** The default external midi player. */
 
#define EXTERNAL_PLAYER "timidity"
src/os/macosx/crashlog_osx.cpp
Show inline comments
 
@@ -12,13 +12,12 @@
 
#include "../../string_func.h"
 
#include "../../gamelog.h"
 
#include "../../saveload/saveload.h"
 
#include "../../video/video_driver.hpp"
 
#include "macos.h"
 

	
 
#include <errno.h>
 
#include <signal.h>
 
#include <mach-o/arch.h>
 
#include <dlfcn.h>
 
#include <cxxabi.h>
 

	
 
#include "../../safeguards.h"
src/os/os2/os2.cpp
Show inline comments
 
@@ -18,13 +18,12 @@
 

	
 
#include "table/strings.h"
 

	
 
#include <dirent.h>
 
#include <unistd.h>
 
#include <sys/stat.h>
 
#include <stdlib.h>
 
#include <time.h>
 
#ifndef __INNOTEK_LIBC__
 
#	include <dos.h>
 
#endif
 

	
 
#include "../../safeguards.h"
src/os/os2/os2_main.cpp
Show inline comments
 
@@ -9,13 +9,12 @@
 

	
 
#include "../../stdafx.h"
 
#include "../../openttd.h"
 
#include "../../core/random_func.hpp"
 
#include "../../string_func.h"
 

	
 
#include <stdlib.h>
 
#include <time.h>
 

	
 
#include "../../safeguards.h"
 

	
 
int CDECL main(int argc, char *argv[])
 
{
src/os/unix/crashlog_unix.cpp
Show inline comments
 
@@ -10,13 +10,12 @@
 
#include "../../stdafx.h"
 
#include "../../crashlog.h"
 
#include "../../string_func.h"
 
#include "../../gamelog.h"
 
#include "../../saveload/saveload.h"
 

	
 
#include <errno.h>
 
#include <signal.h>
 
#include <sys/utsname.h>
 

	
 
#if defined(__GLIBC__)
 
/* Execinfo (and thus making stacktraces) is a GNU extension */
 
#	include <execinfo.h>
src/os/unix/unix.cpp
Show inline comments
 
@@ -105,13 +105,12 @@ bool FiosIsHiddenFile(const struct diren
 
	return ent->d_name[0] == '.';
 
}
 

	
 
#ifdef WITH_ICONV
 

	
 
#include <iconv.h>
 
#include <errno.h>
 
#include "../../debug.h"
 
#include "../../string_func.h"
 

	
 
const char *GetCurrentLocale(const char *param);
 

	
 
#define INTERNALCODE "UTF-8"
src/os/windows/win32.cpp
Show inline comments
 
@@ -20,13 +20,12 @@
 
#include <shlobj.h> /* SHGetFolderPath */
 
#include <shellapi.h>
 
#include "win32.h"
 
#include "../../fios.h"
 
#include "../../core/alloc_func.hpp"
 
#include "../../string_func.h"
 
#include <errno.h>
 
#include <sys/stat.h>
 
#include "../../language.h"
 
#include "../../thread.h"
 

	
 
#include "../../safeguards.h"
 

	
src/script/api/script_industry.cpp
Show inline comments
 
@@ -19,13 +19,12 @@
 
#include "../../strings_func.h"
 
#include "../../station_base.h"
 
#include "../../newgrf_industries.h"
 
#include "../../industry_cmd.h"
 
#include "../../timer/timer_game_calendar.h"
 
#include "table/strings.h"
 
#include <numeric>
 

	
 
#include "../../safeguards.h"
 

	
 
/* static */ SQInteger ScriptIndustry::GetIndustryCount()
 
{
 
	return ::Industry::GetNumItems();
src/story_gui.cpp
Show inline comments
 
@@ -28,14 +28,12 @@
 

	
 
#include "widgets/story_widget.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
 

	
 
#include <numeric>
 

	
 
#include "safeguards.h"
 

	
 
static CursorID TranslateStoryPageButtonCursor(StoryPageButtonCursor cursor);
 

	
 
typedef GUIList<const StoryPage*> GUIStoryPageList;
 
typedef GUIList<const StoryPageElement*> GUIStoryPageElementList;
src/tgp.cpp
Show inline comments
 
@@ -5,13 +5,12 @@
 
 * 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 <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file tgp.cpp OTTD Perlin Noise Landscape Generator, aka TerraGenesis Perlin */
 

	
 
#include "stdafx.h"
 
#include <math.h>
 
#include "clear_map.h"
 
#include "void_map.h"
 
#include "genworld.h"
 
#include "core/random_func.hpp"
 
#include "landscape_type.h"
 

	
src/vehicle_gui_base.h
Show inline comments
 
@@ -16,14 +16,12 @@
 
#include "sortlist_type.h"
 
#include "vehicle_base.h"
 
#include "vehiclelist.h"
 
#include "window_gui.h"
 
#include "widgets/dropdown_type.h"
 

	
 
#include <numeric>
 

	
 
typedef GUIList<const Vehicle*, CargoID> GUIVehicleList;
 

	
 
struct GUIVehicleGroup {
 
	VehicleList::const_iterator vehicles_begin;    ///< Pointer to beginning element of this vehicle group.
 
	VehicleList::const_iterator vehicles_end;      ///< Pointer to past-the-end element of this vehicle group.
 

	
src/video/opengl.cpp
Show inline comments
 
@@ -33,13 +33,12 @@
 
#include "../core/math_func.hpp"
 
#include "../core/mem_func.hpp"
 
#include "../gfx_func.h"
 
#include "../debug.h"
 
#include "../blitter/factory.hpp"
 
#include "../zoom_func.h"
 
#include <numeric>
 

	
 
#include "../table/opengl_shader.h"
 
#include "../table/sprites.h"
 

	
 

	
 
#include "../safeguards.h"
0 comments (0 inline, 0 general)