Removed old tools.h/c

This commit is contained in:
Michaël Lemaire 2013-11-19 12:16:33 +01:00 committed by Michael Lemaire
parent 051766d1d5
commit 82defc96f6
18 changed files with 7 additions and 43 deletions

View file

@ -10,7 +10,6 @@
#include <QMutex>
#include <cassert>
#include <cmath>
#include "tools.h"
#include "System.h"
#include "PackStream.h"
#include "Base2dPreviewRenderer.h"

View file

@ -12,7 +12,6 @@
#include "System.h"
#include "PackStream.h"
#include "AtmosphereDefinition.h"
#include "tools.h"
#include "tools/cache.h"
#include "tools/texture.h"
#include "tools/parallel.h"

View file

@ -3,7 +3,6 @@
#include <math.h>
#include <stdlib.h>
#include "../tools.h"
#include "../renderer.h"
#include "clouds/public.h"

View file

@ -2,7 +2,6 @@
#include <assert.h>
#include <stdlib.h>
#include "../tools.h"
#include "../renderer.h"
#include "clo_density.h"
#include "clo_walking.h"

View file

@ -1,7 +1,6 @@
#include "geoarea.h"
#include "PackStream.h"
#include "tools.h"
GeoArea geoareaCreate()
{

View file

@ -5,7 +5,6 @@
#include "Thread.h"
#include "render.h"
#include "RenderingScenery.h"
#include "tools.h"
#include "CameraDefinition.h"
#include "atmosphere/public.h"
#include "clouds/public.h"

View file

@ -9,7 +9,6 @@ DEFINES += RENDERING_LIBRARY
include(../common.pri)
SOURCES += main.cpp \
tools.cpp \
renderer.cpp \
render.cpp \
opencl.cpp \
@ -43,7 +42,6 @@ SOURCES += main.cpp \
RenderingScenery.cpp
HEADERS += \
tools.h \
renderer.h \
render.h \
opencl.h \

View file

@ -1,6 +1,5 @@
#include "public.h"
#include "../tools.h"
#include "../tools/lighting.h"
#include "../renderer.h"
#include "NoiseGenerator.h"

View file

@ -2,9 +2,8 @@
#include "private.h"
#include "ter_raster.h"
#include <stdlib.h>
#include <math.h>
#include "../tools.h"
#include <cstdlib>
#include <cmath>
#include "BoundingBox.h"
#include "../tools/parallel.h"
#include "../renderer.h"

View file

@ -2,7 +2,6 @@
#include <cstdlib>
#include <cmath>
#include "../tools.h"
#include "../renderer.h"
#include "textures/public.h"
#include "TerrainDefinition.h"

View file

@ -1,9 +0,0 @@
#include "tools.h"
#include <cmath>
#include <cstdlib>
double toolsRandom()
{
return ((double)rand()) / (double)RAND_MAX;
}

View file

@ -1,8 +0,0 @@
#ifndef _PAYSAGES_TOOLS_H_
#define _PAYSAGES_TOOLS_H_
#include "rendering_global.h"
RENDERINGSHARED_EXPORT double toolsRandom();
#endif

View file

@ -1,8 +1,7 @@
#include "cache.h"
#include <stdio.h>
#include <stdlib.h>
#include "../tools.h"
#include <cstdio>
#include <cstdlib>
struct CacheFile
{

View file

@ -2,7 +2,6 @@
#include "../terrain/public.h"
#include "../renderer.h"
#include "../tools.h"
void waterAlterPreviewCoverageRenderer(Renderer* renderer)
{

View file

@ -1,10 +1,8 @@
#include "public.h"
#include "private.h"
#include <stdlib.h>
#include <math.h>
#include <cmath>
#include "../renderer.h"
#include "../tools.h"
#include "../tools/parallel.h"
static Color _postProcessFragment(Renderer* renderer, Vector3 location, void*)

View file

@ -1,7 +1,6 @@
#include "private.h"
#include <cmath>
#include "../tools.h"
#include "../renderer.h"
#include "WaterDefinition.h"
#include "SurfaceMaterial.h"

View file

@ -1,5 +1 @@
#include "RandomGenerator.h"
RandomGenerator::RandomGenerator()
{
}

View file

@ -2,12 +2,13 @@
#define RANDOMGENERATOR_H
#include "system_global.h"
#include <cstdlib>
namespace paysages {
namespace system {
class RandomGenerator
class SYSTEMSHARED_EXPORT RandomGenerator
{
public:
RandomGenerator();