1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Cleanup: include-what-you-use

This commit is contained in:
Jannik Vogel 2016-08-08 17:29:20 +02:00
parent 9d34a16fbc
commit bda0107bb1
10 changed files with 20 additions and 7 deletions

View File

@ -1,4 +1,5 @@
#include "loaders/LoaderCOL.hpp"
#include <algorithm>
#include <string>
#include <fstream>

View File

@ -1,5 +1,6 @@
#include <loaders/LoaderCutsceneDAT.hpp>
#include <sstream>
#include <algorithm>
void LoaderCutsceneDAT::load(CutsceneTracks &tracks, FileHandle file)
{

View File

@ -1,10 +1,12 @@
#include <loaders/LoaderIDE.hpp>
#include <algorithm>
#include <cctype>
#include <fstream>
#include <string>
#include <functional>
#include <map>
#include <sstream>
#include <algorithm>
#include <string>
bool LoaderIDE::load(const std::string &filename)
{

View File

@ -1,9 +1,11 @@
#include <loaders/LoaderIPL.hpp>
#include <fstream>
#include <string>
#include <sstream>
#include <algorithm>
#include <cctype>
#include <fstream>
#include <functional>
#include <sstream>
#include <string>
enum SectionTypes
{

View File

@ -1,5 +1,6 @@
#include <loaders/WeatherLoader.hpp>
#include <cctype>
#include <iostream>
#include <sstream>
#include <fstream>

View File

@ -1,3 +1,6 @@
#define _USE_MATH_DEFINES
#include <cmath>
#include <render/GameRenderer.hpp>
#include <engine/GameWorld.hpp>
#include <engine/Animator.hpp>

View File

@ -3,6 +3,7 @@
#include <engine/GameWorld.hpp>
#include <algorithm>
#include <cctype>
/// @todo This is very rough
int charToIndex(char g)

View File

@ -1,3 +1,6 @@
#define _USE_MATH_DEFINES
#include <cmath>
#include "DrawUI.hpp"
#include <render/GameRenderer.hpp>
#include <ai/PlayerController.hpp>

View File

@ -1,5 +1,3 @@
#include <png.h>
#include <core/Logger.hpp>
#include "GameWindow.hpp"

View File

@ -1,6 +1,7 @@
#include <loaders/LoaderSDT.hpp>
#include <cstring>
#include <string>
LoaderSDT::LoaderSDT()
: m_version(GTAIIIVC)