Cleaning up #include's

This commit is contained in:
Emmanuel BENOîT 2017-10-02 09:40:36 +02:00
parent f79cc70d44
commit 3dd641c8c1
14 changed files with 21 additions and 61 deletions

View file

@ -1,8 +1,4 @@
#include "externals.hh"
#include "utilities.hh"
#include "texture.hh"
#include "rendertarget.hh"
#include "programs.hh"
#include "bloom.hh"
#include "profiling.hh"

View file

@ -1,13 +1,11 @@
#pragma once
#ifndef REAL_BUILD
# define REAL_BUILD
# include "externals.hh"
# include "texture.hh"
# include "rendertarget.hh"
# include "utilities.hh"
# undef REAL_BUILD
#endif
#include "rendertarget.hh"
#include "programs.hh"
struct T_BloomPass
{

View file

@ -1,8 +1,4 @@
#include "externals.hh"
#include "utilities.hh"
#include "texture.hh"
#include "rendertarget.hh"
#include "programs.hh"
#include "combine.hh"
#include "bloom.hh"
#include "profiling.hh"

View file

@ -1,13 +1,7 @@
#pragma once
#ifndef REAL_BUILD
# define REAL_BUILD
# include "externals.hh"
# include "texture.hh"
# include "rendertarget.hh"
# include "utilities.hh"
# include "programs.hh"
# undef REAL_BUILD
#endif
#include "rendertarget.hh"
#include "programs.hh"
struct T_CombinePass

4
dof.cc
View file

@ -1,8 +1,4 @@
#include "externals.hh"
#include "texture.hh"
#include "utilities.hh"
#include "programs.hh"
#include "rendertarget.hh"
#include "dof.hh"
#include "profiling.hh"

10
dof.hh
View file

@ -1,12 +1,6 @@
#pragma once
#ifndef REAL_BUILD
# define REAL_BUILD
# include "externals.hh"
# include "texture.hh"
# include "rendertarget.hh"
# include "programs.hh"
# undef REAL_BUILD
#endif
#include "rendertarget.hh"
#include "programs.hh"
struct T_DoFPass

View file

@ -1,5 +1,4 @@
#include "externals.hh"
#include "utilities.hh"
#include "profiling.hh"
#include <sys/time.h>

View file

@ -1,10 +1,5 @@
#pragma once
#ifndef REAL_BUILD
# define REAL_BUILD
# include "externals.hh"
# include "utilities.hh"
# undef REAL_BUILD
#endif
#include "utilities.hh"
struct T_ProfilerSamples

View file

@ -1,5 +1,4 @@
#include "externals.hh"
#include "utilities.hh"
#include "programs.hh"

View file

@ -1,8 +1,7 @@
#pragma once
#ifndef REAL_BUILD
# include "externals.hh"
# include "utilities.hh"
#endif
#include "utilities.hh"
/*= T_ShaderCode =============================================================*/

View file

@ -1,11 +1,8 @@
#include "externals.hh"
#include "utilities.hh"
#include "texture.hh"
#include "rendertarget.hh"
#include "programs.hh"
#include "raymarcher.hh"
#include "profiling.hh"
namespace {
static const std::string Name_( "Raymarcher" );
}
@ -13,6 +10,7 @@ namespace {
#define PSTART() T_Profiler::Profiler.start( Name_ )
#define PEND() do { glFinish( ); T_Profiler::Profiler.end( Name_ ); } while ( 0 )
T_Raymarcher::T_Raymarcher(
__rw__ T_FilesWatcher& watcher ,
__rd__ const uint32_t width ,

View file

@ -1,13 +1,7 @@
#pragma once
#ifndef REAL_BUILD
# define REAL_BUILD
# include "externals.hh"
# include "texture.hh"
# include "rendertarget.hh"
# include "utilities.hh"
# include "programs.hh"
# undef REAL_BUILD
#endif
#include "rendertarget.hh"
#include "programs.hh"
struct T_Raymarcher

View file

@ -1,5 +1,4 @@
#include "externals.hh"
#include "texture.hh"
#include "rendertarget.hh"

View file

@ -1,11 +1,14 @@
#pragma once
#ifndef REAL_BUILD
# include "externals.hh"
# include "texture.hh"
#endif
#include "texture.hh"
struct T_Rendertarget;
struct T_RendertargetSetup
{
T_RendertargetSetup( );