diff options
Diffstat (limited to 'source/base')
-rw-r--r-- | source/base/StarAnimatedPartSet.hpp | 5 | ||||
-rw-r--r-- | source/base/StarAssetSource.hpp | 5 | ||||
-rw-r--r-- | source/base/StarAssets.hpp | 5 | ||||
-rw-r--r-- | source/base/StarBlocksAlongLine.hpp | 5 | ||||
-rw-r--r-- | source/base/StarCellularLightArray.hpp | 5 | ||||
-rw-r--r-- | source/base/StarCellularLighting.hpp | 5 | ||||
-rw-r--r-- | source/base/StarCellularLiquid.hpp | 5 | ||||
-rw-r--r-- | source/base/StarConfiguration.hpp | 5 | ||||
-rw-r--r-- | source/base/StarDirectoryAssetSource.hpp | 5 | ||||
-rw-r--r-- | source/base/StarMixer.hpp | 5 | ||||
-rw-r--r-- | source/base/StarPackedAssetSource.hpp | 5 | ||||
-rw-r--r-- | source/base/StarVersion.hpp | 5 | ||||
-rw-r--r-- | source/base/StarVersionOptionParser.hpp | 5 | ||||
-rw-r--r-- | source/base/StarWorldGeometry.hpp | 5 |
14 files changed, 14 insertions, 56 deletions
diff --git a/source/base/StarAnimatedPartSet.hpp b/source/base/StarAnimatedPartSet.hpp index bb3df6c..8cc2ef3 100644 --- a/source/base/StarAnimatedPartSet.hpp +++ b/source/base/StarAnimatedPartSet.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_ANIMATED_PART_SET_HPP -#define STAR_ANIMATED_PART_SET_HPP +#pragma once #include "StarOrderedMap.hpp" #include "StarJson.hpp" @@ -159,5 +158,3 @@ private: }; } - -#endif diff --git a/source/base/StarAssetSource.hpp b/source/base/StarAssetSource.hpp index b2cb245..0842d34 100644 --- a/source/base/StarAssetSource.hpp +++ b/source/base/StarAssetSource.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_ASSET_SOURCE_HPP -#define STAR_ASSET_SOURCE_HPP +#pragma once #include "StarIODevice.hpp" #include "StarJson.hpp" @@ -31,5 +30,3 @@ public: }; } - -#endif diff --git a/source/base/StarAssets.hpp b/source/base/StarAssets.hpp index 93c09cb..0024207 100644 --- a/source/base/StarAssets.hpp +++ b/source/base/StarAssets.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_ASSETS_HPP -#define STAR_ASSETS_HPP +#pragma once #include "StarJson.hpp" #include "StarOrderedMap.hpp" @@ -326,5 +325,3 @@ private: }; } - -#endif diff --git a/source/base/StarBlocksAlongLine.hpp b/source/base/StarBlocksAlongLine.hpp index bdd3c9a..6d59e6c 100644 --- a/source/base/StarBlocksAlongLine.hpp +++ b/source/base/StarBlocksAlongLine.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_BLOCKS_ALONG_LINE_HPP -#define STAR_BLOCKS_ALONG_LINE_HPP +#pragma once #include "StarVector.hpp" @@ -104,5 +103,3 @@ bool forBlocksAlongLine(Vector<Scalar, 2> origin, Vector<Scalar, 2> const& dxdy, } } - -#endif diff --git a/source/base/StarCellularLightArray.hpp b/source/base/StarCellularLightArray.hpp index f9e4094..d73cacf 100644 --- a/source/base/StarCellularLightArray.hpp +++ b/source/base/StarCellularLightArray.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_CELLULAR_LIGHT_ARRAY_HPP -#define STAR_CELLULAR_LIGHT_ARRAY_HPP +#pragma once #include "StarList.hpp" #include "StarVector.hpp" @@ -586,5 +585,3 @@ float CellularLightArray<LightTraits>::lineAttenuation(Vec2F const& start, Vec2F } } - -#endif diff --git a/source/base/StarCellularLighting.hpp b/source/base/StarCellularLighting.hpp index c82032c..caa52ae 100644 --- a/source/base/StarCellularLighting.hpp +++ b/source/base/StarCellularLighting.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_CELLULAR_LIGHTING_HPP -#define STAR_CELLULAR_LIGHTING_HPP +#pragma once #include "StarEither.hpp" #include "StarRect.hpp" @@ -94,5 +93,3 @@ inline void CellularLightingCalculator::setCellIndex(size_t cellIndex, Vec3F con } } - -#endif diff --git a/source/base/StarCellularLiquid.hpp b/source/base/StarCellularLiquid.hpp index be30948..c06158c 100644 --- a/source/base/StarCellularLiquid.hpp +++ b/source/base/StarCellularLiquid.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_CELLULAR_LIQUID_HPP -#define STAR_CELLULAR_LIQUID_HPP +#pragma once #include "StarVariant.hpp" #include "StarRect.hpp" @@ -654,5 +653,3 @@ void LiquidCellEngine<LiquidId>::transferLevel( } } - -#endif diff --git a/source/base/StarConfiguration.hpp b/source/base/StarConfiguration.hpp index 7e200c0..ffa66c3 100644 --- a/source/base/StarConfiguration.hpp +++ b/source/base/StarConfiguration.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_CONFIGURATION_HPP -#define STAR_CONFIGURATION_HPP +#pragma once #include "StarJson.hpp" #include "StarThread.hpp" @@ -36,5 +35,3 @@ private: }; } - -#endif diff --git a/source/base/StarDirectoryAssetSource.hpp b/source/base/StarDirectoryAssetSource.hpp index 0604132..642c008 100644 --- a/source/base/StarDirectoryAssetSource.hpp +++ b/source/base/StarDirectoryAssetSource.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_DIRECTORY_ASSET_SOURCE_HPP -#define STAR_DIRECTORY_ASSET_SOURCE_HPP +#pragma once #include "StarAssetSource.hpp" #include "StarString.hpp" @@ -37,5 +36,3 @@ private: }; } - -#endif diff --git a/source/base/StarMixer.hpp b/source/base/StarMixer.hpp index b71a2f1..57d3882 100644 --- a/source/base/StarMixer.hpp +++ b/source/base/StarMixer.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_MIXER_HPP -#define STAR_MIXER_HPP +#pragma once #include "StarAudio.hpp" #include "StarThread.hpp" @@ -169,5 +168,3 @@ private: }; } - -#endif diff --git a/source/base/StarPackedAssetSource.hpp b/source/base/StarPackedAssetSource.hpp index eae5069..dbec948 100644 --- a/source/base/StarPackedAssetSource.hpp +++ b/source/base/StarPackedAssetSource.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_PACKED_ASSET_SOURCE_HPP -#define STAR_PACKED_ASSET_SOURCE_HPP +#pragma once #include "StarOrderedMap.hpp" #include "StarFile.hpp" @@ -41,5 +40,3 @@ private: }; } - -#endif diff --git a/source/base/StarVersion.hpp b/source/base/StarVersion.hpp index 70463d2..ad65875 100644 --- a/source/base/StarVersion.hpp +++ b/source/base/StarVersion.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_VERSION_HPP -#define STAR_VERSION_HPP +#pragma once #include "StarConfig.hpp" @@ -12,5 +11,3 @@ extern char const* const StarArchitectureString; typedef uint32_t VersionNumber; } - -#endif diff --git a/source/base/StarVersionOptionParser.hpp b/source/base/StarVersionOptionParser.hpp index 7a51f09..b2ed9e1 100644 --- a/source/base/StarVersionOptionParser.hpp +++ b/source/base/StarVersionOptionParser.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_VERSION_OPTION_PARSER_HPP -#define STAR_VERSION_OPTION_PARSER_HPP +#pragma once #include "StarOptionParser.hpp" #include "StarVersion.hpp" @@ -23,5 +22,3 @@ public: }; } - -#endif diff --git a/source/base/StarWorldGeometry.hpp b/source/base/StarWorldGeometry.hpp index 39bf4fe..2c93afd 100644 --- a/source/base/StarWorldGeometry.hpp +++ b/source/base/StarWorldGeometry.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_WORLD_GEOMETRY_HPP -#define STAR_WORLD_GEOMETRY_HPP +#pragma once #include "StarPoly.hpp" @@ -259,5 +258,3 @@ inline Vec2F WorldGeometry::nearestTo(Vec2F const& source, Vec2F const& target) } } - -#endif |