Renamed 'Typedef.h' to 'PlatformDefinitions.h'.

This commit is contained in:
David Williams 2015-05-08 14:57:12 +02:00
parent 64c30044b0
commit 2a8e0a5f7b
19 changed files with 25 additions and 21 deletions

View File

@ -84,10 +84,10 @@ SET(IMPL_INC_FILES
PolyVox/Impl/ErrorHandling.h
PolyVox/Impl/Logging.h
PolyVox/Impl/MarchingCubesTables.h
PolyVox/Impl/PlatformDefinitions.h
PolyVox/Impl/RandomUnitVectors.h
PolyVox/Impl/RandomVectors.h
PolyVox/Impl/Timer.h
PolyVox/Impl/TypeDef.h
PolyVox/Impl/Utility.h
)

View File

@ -25,7 +25,7 @@ freely, subject to the following restrictions:
#define __PolyVox_AStarPathfinder_H__
#include "Impl/AStarPathfinderImpl.h"
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include <functional>
#include <list>

View File

@ -24,7 +24,7 @@ distribution.
#ifndef __PolyVox_Array_H__
#define __PolyVox_Array_H__
#include <PolyVox/Impl/Typedef.h>
#include <PolyVox/Impl/PlatformDefinitions.h>
#include <PolyVox/Impl/ErrorHandling.h>
#include <cstdint>

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_CubicSurfaceExtractor_H__
#define __PolyVox_CubicSurfaceExtractor_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVoxForwardDeclarations.h"

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_DefaultIsQuadNeeded_H__
#define __PolyVox_DefaultIsQuadNeeded_H__
#include "PolyVox/Impl/TypeDef.h"
#include "PolyVox/Impl/PlatformDefinitions.h"
#include <cstdint>

View File

@ -26,7 +26,7 @@ freely, subject to the following restrictions:
#include "PolyVox/DefaultMarchingCubesController.h" //We'll specialise the controller contained in here
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include <limits>

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_FilePager_H__
#define __PolyVox_FilePager_H__
#include "PolyVox/Impl/TypeDef.h"
#include "PolyVox/Impl/PlatformDefinitions.h"
#include "PolyVox/PagedVolume.h"
#include "PolyVox/Region.h"

View File

@ -21,8 +21,12 @@ freely, subject to the following restrictions:
distribution.
*******************************************************************************/
#ifndef __PolyVox_TypeDef_H__
#define __PolyVox_TypeDef_H__
/**
* This file contains definitions for various macros, etc, which need to be different
* for each platform. It helps keep per-platform logic outside the rest of PolyVox.
*/
#ifndef __PolyVox_PlatformDefinitions_H__
#define __PolyVox_PlatformDefinitions_H__
#if defined(_MSC_VER) && (_MSC_VER < 1800)
#error "Your version of Visual Studio is too old to build PolyVox. You need at least version Visual Stusio 2013"
@ -91,4 +95,4 @@ freely, subject to the following restrictions:
// Implementation from here: http://stackoverflow.com/a/4851173/2337254
#define POLYVOX_UNUSED(x) do { (void)sizeof(x); } while(0)
#endif
#endif //__PolyVox_PlatformDefinitions_H__

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_RandomUnitVectors_H__
#define __PolyVox_RandomUnitVectors_H__
#include "PolyVox/Impl/TypeDef.h"
#include "PolyVox/Impl/PlatformDefinitions.h"
#include "PolyVox/Vector.h"

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_Utility_H__
#define __PolyVox_Utility_H__
#include "PolyVox/Impl/TypeDef.h"
#include "PolyVox/Impl/PlatformDefinitions.h"
#include <cstdint>

View File

@ -25,7 +25,7 @@ freely, subject to the following restrictions:
#define __PolyVox_SurfaceExtractor_H__
#include "Impl/MarchingCubesTables.h"
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVox/Array.h"
#include "PolyVox/BaseVolume.h" //For wrap modes... should move these?

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_Material_H__
#define __PolyVox_Material_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVox/DefaultIsQuadNeeded.h" //we'll specialise this function for this voxel type

View File

@ -27,7 +27,7 @@ freely, subject to the following restrictions:
#include "PolyVox/DefaultIsQuadNeeded.h" //we'll specialise this function for this voxel type
#include "PolyVox/DefaultMarchingCubesController.h" //We'll specialise the controller contained in here
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
namespace PolyVox
{

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_Mesh_H__
#define __PolyVox_Mesh_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVox/PolyVoxForwardDeclarations.h"
#include "PolyVox/Region.h"

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_ForwardDeclarations_H__
#define __PolyVox_ForwardDeclarations_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include <cstdint>

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_Region_H__
#define __PolyVox_Region_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVox/Vector.h"

View File

@ -25,7 +25,7 @@ freely, subject to the following restrictions:
#define __PolyVox_Vector_H__
#include "Impl/ErrorHandling.h"
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVoxForwardDeclarations.h"

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_Vertex_H__
#define __PolyVox_Vertex_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
#include "PolyVox/Vector.h"

View File

@ -24,7 +24,7 @@ freely, subject to the following restrictions:
#ifndef __PolyVox_VoxelFilters_H__
#define __PolyVox_VoxelFilters_H__
#include "Impl/TypeDef.h"
#include "Impl/PlatformDefinitions.h"
namespace PolyVox
{