Use C++ headers in C++ code

This commit is contained in:
Michał Janiszewski authored and Michał Janiszewski committed 2018-01-04 07:36:54 +01:00
1 parent b2bc974fe7
commit 33a94fe1bb
10 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
#pragma endregion
#include <SDL.h>
#include <ctype.h>
#include <cctype>
#include <openrct2/Context.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/common.h>
@@ -16,7 +16,7 @@
#include <openrct2-ui/windows/Window.h>
#include <ctype.h>
#include <cctype>
#include <string>
#include <openrct2/audio/audio.h>
+1 -1
View File
@@ -23,7 +23,7 @@
#include <openrct2/windows/Intent.h>
#include <openrct2-ui/windows/Window.h>
#include <time.h>
#include <ctime>
#include <openrct2/core/Guard.hpp>
#include <openrct2/Editor.h>
#include <openrct2/Game.h>
+3 -3
View File
@@ -14,9 +14,9 @@
*****************************************************************************/
#pragma endregion
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <cassert>
#include <cstdarg>
#include <cstdio>
#include "Diagnostic.h"
#ifdef __ANDROID__
+1 -1
View File
@@ -14,7 +14,7 @@
*****************************************************************************/
#pragma endregion
#include <time.h>
#include <ctime>
#include "../core/Guard.hpp"
+2 -2
View File
@@ -15,8 +15,8 @@
#pragma endregion
#include <cassert>
#include <stdarg.h>
#include <stdio.h>
#include <cstdarg>
#include <cstdio>
#include "../common.h"
+2 -2
View File
@@ -21,7 +21,7 @@
#include <thread>
// MSVC: include <math.h> here otherwise PI gets defined twice
#include <math.h>
#include <cmath>
#ifdef _WIN32
// winsock2 must be included before windows.h
@@ -40,7 +40,7 @@
#endif
#define FLAG_NO_PIPE 0
#else
#include <errno.h>
#include <cerrno>
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/tcp.h>
+1 -1
View File
@@ -18,7 +18,7 @@
#include <cstring>
#include <pwd.h>
#include <stdlib.h>
#include <cstdlib>
#include "../core/String.hpp"
#include "Platform2.h"
#include "platform.h"
+2 -2
View File
@@ -14,8 +14,8 @@
*****************************************************************************/
#pragma endregion
#include <ctype.h>
#include <time.h>
#include <cctype>
#include <ctime>
#include "../common.h"
#include "../core/Guard.hpp"
#include "../core/Math.hpp"
+1 -1
View File
@@ -15,7 +15,7 @@
#pragma endregion
#include "../common.h"
#include <math.h>
#include <cmath>
#include <vector>
#include "../Context.h"