Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game
diff options
context:
space:
mode:
Diffstat (limited to 'source/game')
-rw-r--r--source/game/StarActorMovementController.hpp5
-rw-r--r--source/game/StarAiDatabase.hpp5
-rw-r--r--source/game/StarAiTypes.hpp5
-rw-r--r--source/game/StarAmbient.hpp5
-rw-r--r--source/game/StarAnimation.hpp5
-rw-r--r--source/game/StarArmorWearer.hpp5
-rw-r--r--source/game/StarBehaviorDatabase.hpp5
-rw-r--r--source/game/StarBehaviorState.hpp4
-rw-r--r--source/game/StarBiome.hpp5
-rw-r--r--source/game/StarBiomeDatabase.hpp5
-rw-r--r--source/game/StarBiomePlacement.hpp5
-rw-r--r--source/game/StarCelestialCoordinate.hpp5
-rw-r--r--source/game/StarCelestialDatabase.hpp5
-rw-r--r--source/game/StarCelestialGraphics.hpp5
-rw-r--r--source/game/StarCelestialParameters.hpp5
-rw-r--r--source/game/StarCelestialTypes.hpp5
-rw-r--r--source/game/StarChatAction.hpp5
-rw-r--r--source/game/StarChatProcessor.hpp5
-rw-r--r--source/game/StarChatTypes.hpp5
-rw-r--r--source/game/StarClientContext.hpp5
-rw-r--r--source/game/StarCodex.hpp5
-rw-r--r--source/game/StarCodexDatabase.hpp5
-rw-r--r--source/game/StarCollectionDatabase.hpp4
-rw-r--r--source/game/StarCollisionBlock.hpp5
-rw-r--r--source/game/StarCollisionGenerator.hpp5
-rw-r--r--source/game/StarCommandProcessor.hpp5
-rw-r--r--source/game/StarDamage.hpp5
-rw-r--r--source/game/StarDamageDatabase.hpp5
-rw-r--r--source/game/StarDamageManager.hpp5
-rw-r--r--source/game/StarDamageTypes.hpp5
-rw-r--r--source/game/StarDanceDatabase.hpp5
-rw-r--r--source/game/StarDrawable.hpp5
-rw-r--r--source/game/StarDungeonGenerator.hpp5
-rw-r--r--source/game/StarDungeonImagePart.hpp5
-rw-r--r--source/game/StarDungeonTMXPart.hpp5
-rw-r--r--source/game/StarEffectEmitter.hpp5
-rw-r--r--source/game/StarEffectSourceDatabase.hpp5
-rw-r--r--source/game/StarEmoteProcessor.hpp5
-rw-r--r--source/game/StarEntityFactory.hpp5
-rw-r--r--source/game/StarEntityMap.hpp5
-rw-r--r--source/game/StarEntityRendering.hpp5
-rw-r--r--source/game/StarEntityRenderingTypes.hpp5
-rw-r--r--source/game/StarEntitySplash.hpp5
-rw-r--r--source/game/StarFallingBlocksAgent.hpp5
-rw-r--r--source/game/StarForceRegions.hpp5
-rw-r--r--source/game/StarGameTimers.hpp5
-rw-r--r--source/game/StarGameTypes.hpp5
-rw-r--r--source/game/StarHumanoid.hpp5
-rw-r--r--source/game/StarImageMetadataDatabase.hpp5
-rw-r--r--source/game/StarInput.hpp5
-rw-r--r--source/game/StarInteractionTypes.hpp5
-rw-r--r--source/game/StarInterpolationTracker.hpp5
-rw-r--r--source/game/StarInventoryTypes.hpp5
-rw-r--r--source/game/StarItem.hpp5
-rw-r--r--source/game/StarItemBag.hpp5
-rw-r--r--source/game/StarItemDatabase.hpp5
-rw-r--r--source/game/StarItemDescriptor.hpp5
-rw-r--r--source/game/StarItemDrop.hpp5
-rw-r--r--source/game/StarItemRecipe.hpp5
-rw-r--r--source/game/StarLightSource.hpp5
-rw-r--r--source/game/StarLiquidTypes.hpp5
-rw-r--r--source/game/StarLiquidsDatabase.hpp5
-rw-r--r--source/game/StarMaterialDatabase.hpp5
-rw-r--r--source/game/StarMaterialRenderProfile.hpp5
-rw-r--r--source/game/StarMaterialTypes.hpp5
-rw-r--r--source/game/StarMicroDungeon.hpp5
-rw-r--r--source/game/StarMonster.hpp5
-rw-r--r--source/game/StarMonsterDatabase.hpp5
-rw-r--r--source/game/StarMovementController.hpp5
-rw-r--r--source/game/StarNameGenerator.hpp5
-rw-r--r--source/game/StarNetPacketSocket.hpp5
-rw-r--r--source/game/StarNetPackets.hpp5
-rw-r--r--source/game/StarNetworkedAnimator.hpp5
-rw-r--r--source/game/StarNpc.hpp5
-rw-r--r--source/game/StarNpcDatabase.hpp5
-rw-r--r--source/game/StarObject.hpp5
-rw-r--r--source/game/StarObjectDatabase.hpp5
-rw-r--r--source/game/StarParallax.hpp5
-rw-r--r--source/game/StarParticle.hpp5
-rw-r--r--source/game/StarParticleDatabase.hpp5
-rw-r--r--source/game/StarParticleManager.hpp5
-rw-r--r--source/game/StarPlant.hpp5
-rw-r--r--source/game/StarPlantDatabase.hpp5
-rw-r--r--source/game/StarPlantDrop.hpp5
-rw-r--r--source/game/StarPlatformerAStar.hpp5
-rw-r--r--source/game/StarPlatformerAStarTypes.hpp5
-rw-r--r--source/game/StarPlayer.hpp5
-rw-r--r--source/game/StarPlayerBlueprints.hpp5
-rw-r--r--source/game/StarPlayerCodexes.hpp5
-rw-r--r--source/game/StarPlayerCompanions.hpp5
-rw-r--r--source/game/StarPlayerDeployment.hpp5
-rw-r--r--source/game/StarPlayerFactory.hpp5
-rw-r--r--source/game/StarPlayerInventory.hpp5
-rw-r--r--source/game/StarPlayerLog.hpp5
-rw-r--r--source/game/StarPlayerStorage.hpp5
-rw-r--r--source/game/StarPlayerTech.hpp5
-rw-r--r--source/game/StarPlayerTypes.hpp5
-rw-r--r--source/game/StarPlayerUniverseMap.hpp5
-rw-r--r--source/game/StarProjectile.hpp5
-rw-r--r--source/game/StarProjectileDatabase.hpp5
-rw-r--r--source/game/StarQuestDescriptor.hpp5
-rw-r--r--source/game/StarQuestManager.hpp5
-rw-r--r--source/game/StarQuestTemplateDatabase.hpp5
-rw-r--r--source/game/StarQuests.hpp5
-rw-r--r--source/game/StarRadioMessageDatabase.hpp5
-rw-r--r--source/game/StarRoot.hpp5
-rw-r--r--source/game/StarRootLoader.hpp5
-rw-r--r--source/game/StarServerClientContext.hpp5
-rw-r--r--source/game/StarSky.hpp5
-rw-r--r--source/game/StarSkyParameters.hpp5
-rw-r--r--source/game/StarSkyRenderData.hpp5
-rw-r--r--source/game/StarSkyTypes.hpp5
-rw-r--r--source/game/StarSongbook.hpp5
-rw-r--r--source/game/StarSpawnTypeDatabase.hpp5
-rw-r--r--source/game/StarSpawner.hpp5
-rw-r--r--source/game/StarSpeciesDatabase.hpp5
-rw-r--r--source/game/StarStagehand.hpp5
-rw-r--r--source/game/StarStagehandDatabase.hpp5
-rw-r--r--source/game/StarStatCollection.hpp5
-rw-r--r--source/game/StarStatSet.hpp5
-rw-r--r--source/game/StarStatistics.hpp5
-rw-r--r--source/game/StarStatisticsDatabase.hpp5
-rw-r--r--source/game/StarStatusController.hpp5
-rw-r--r--source/game/StarStatusEffectDatabase.hpp5
-rw-r--r--source/game/StarStatusTypes.hpp5
-rw-r--r--source/game/StarStoredFunctions.hpp5
-rw-r--r--source/game/StarSystemWorld.hpp5
-rw-r--r--source/game/StarSystemWorldClient.hpp5
-rw-r--r--source/game/StarSystemWorldServer.hpp5
-rw-r--r--source/game/StarSystemWorldServerThread.hpp5
-rw-r--r--source/game/StarTeamClient.hpp5
-rw-r--r--source/game/StarTeamManager.hpp5
-rw-r--r--source/game/StarTechController.hpp5
-rw-r--r--source/game/StarTechDatabase.hpp5
-rw-r--r--source/game/StarTenantDatabase.hpp5
-rw-r--r--source/game/StarTerrainDatabase.hpp5
-rw-r--r--source/game/StarTileDamage.hpp5
-rw-r--r--source/game/StarTileDrawer.hpp5
-rw-r--r--source/game/StarTileModification.hpp5
-rw-r--r--source/game/StarTileSectorArray.hpp5
-rw-r--r--source/game/StarTilesetDatabase.hpp5
-rw-r--r--source/game/StarToolUser.hpp5
-rw-r--r--source/game/StarTreasure.hpp5
-rw-r--r--source/game/StarUniverseClient.hpp5
-rw-r--r--source/game/StarUniverseConnection.hpp5
-rw-r--r--source/game/StarUniverseServer.hpp5
-rw-r--r--source/game/StarUniverseSettings.hpp5
-rw-r--r--source/game/StarVehicle.hpp5
-rw-r--r--source/game/StarVehicleDatabase.hpp5
-rw-r--r--source/game/StarVersioningDatabase.hpp5
-rw-r--r--source/game/StarWarping.hpp5
-rw-r--r--source/game/StarWeather.hpp5
-rw-r--r--source/game/StarWeatherTypes.hpp5
-rw-r--r--source/game/StarWireProcessor.hpp5
-rw-r--r--source/game/StarWiring.hpp5
-rw-r--r--source/game/StarWorldClient.hpp5
-rw-r--r--source/game/StarWorldClientState.hpp5
-rw-r--r--source/game/StarWorldGeneration.hpp5
-rw-r--r--source/game/StarWorldImpl.hpp5
-rw-r--r--source/game/StarWorldLayout.hpp5
-rw-r--r--source/game/StarWorldParameters.hpp5
-rw-r--r--source/game/StarWorldRenderData.hpp5
-rw-r--r--source/game/StarWorldServer.hpp5
-rw-r--r--source/game/StarWorldServerThread.hpp5
-rw-r--r--source/game/StarWorldStorage.hpp5
-rw-r--r--source/game/StarWorldStructure.hpp5
-rw-r--r--source/game/StarWorldTemplate.hpp5
-rw-r--r--source/game/StarWorldTiles.hpp5
-rw-r--r--source/game/interfaces/StarAggressiveEntity.hpp5
-rw-r--r--source/game/interfaces/StarAnchorableEntity.hpp5
-rw-r--r--source/game/interfaces/StarBeamItem.hpp5
-rw-r--r--source/game/interfaces/StarChattyEntity.hpp5
-rw-r--r--source/game/interfaces/StarContainerEntity.hpp5
-rw-r--r--source/game/interfaces/StarDamageBarEntity.hpp5
-rw-r--r--source/game/interfaces/StarDurabilityItem.hpp5
-rw-r--r--source/game/interfaces/StarEffectSourceItem.hpp5
-rw-r--r--source/game/interfaces/StarEmoteEntity.hpp5
-rw-r--r--source/game/interfaces/StarEntity.hpp5
-rw-r--r--source/game/interfaces/StarFireableItem.hpp5
-rw-r--r--source/game/interfaces/StarInspectableEntity.hpp5
-rw-r--r--source/game/interfaces/StarInteractiveEntity.hpp5
-rw-r--r--source/game/interfaces/StarLoungingEntities.hpp5
-rw-r--r--source/game/interfaces/StarNametagEntity.hpp5
-rw-r--r--source/game/interfaces/StarNonRotatedDrawablesItem.hpp5
-rw-r--r--source/game/interfaces/StarPhysicsEntity.hpp5
-rw-r--r--source/game/interfaces/StarPointableItem.hpp5
-rw-r--r--source/game/interfaces/StarPortraitEntity.hpp5
-rw-r--r--source/game/interfaces/StarPreviewTileTool.hpp5
-rw-r--r--source/game/interfaces/StarPreviewableItem.hpp5
-rw-r--r--source/game/interfaces/StarRenderableItem.hpp5
-rw-r--r--source/game/interfaces/StarScriptedEntity.hpp5
-rw-r--r--source/game/interfaces/StarStatusEffectEntity.hpp5
-rw-r--r--source/game/interfaces/StarStatusEffectItem.hpp5
-rw-r--r--source/game/interfaces/StarSwingableItem.hpp5
-rw-r--r--source/game/interfaces/StarTileEntity.hpp5
-rw-r--r--source/game/interfaces/StarToolUserEntity.hpp5
-rw-r--r--source/game/interfaces/StarToolUserItem.hpp5
-rw-r--r--source/game/interfaces/StarWarpTargetEntity.hpp5
-rw-r--r--source/game/interfaces/StarWireEntity.hpp5
-rw-r--r--source/game/interfaces/StarWorld.hpp5
-rw-r--r--source/game/items/StarActiveItem.hpp5
-rw-r--r--source/game/items/StarArmors.hpp5
-rw-r--r--source/game/items/StarAugmentItem.hpp5
-rw-r--r--source/game/items/StarBlueprintItem.hpp5
-rw-r--r--source/game/items/StarCodexItem.hpp5
-rw-r--r--source/game/items/StarConsumableItem.hpp5
-rw-r--r--source/game/items/StarCurrency.hpp5
-rw-r--r--source/game/items/StarInspectionTool.hpp5
-rw-r--r--source/game/items/StarInstrumentItem.hpp5
-rw-r--r--source/game/items/StarLiquidItem.hpp5
-rw-r--r--source/game/items/StarMaterialItem.hpp5
-rw-r--r--source/game/items/StarObjectItem.hpp5
-rw-r--r--source/game/items/StarThrownItem.hpp5
-rw-r--r--source/game/items/StarTools.hpp5
-rw-r--r--source/game/items/StarUnlockItem.hpp5
-rw-r--r--source/game/objects/StarContainerObject.hpp5
-rw-r--r--source/game/objects/StarFarmableObject.hpp5
-rw-r--r--source/game/objects/StarLoungeableObject.hpp5
-rw-r--r--source/game/objects/StarPhysicsObject.hpp5
-rw-r--r--source/game/objects/StarTeleporterObject.hpp2
-rw-r--r--source/game/scripting/StarBehaviorLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarCelestialLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarConfigLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarEntityLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarFireableItemLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarInputLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarItemLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarLuaActorMovementComponent.hpp5
-rw-r--r--source/game/scripting/StarLuaAnimationComponent.hpp5
-rw-r--r--source/game/scripting/StarLuaComponents.hpp5
-rw-r--r--source/game/scripting/StarLuaGameConverters.hpp5
-rw-r--r--source/game/scripting/StarLuaRoot.hpp5
-rw-r--r--source/game/scripting/StarMovementControllerLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarNetworkedAnimatorLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarPlayerLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarRootLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarScriptedAnimatorLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarStatusControllerLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarUniverseServerLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarUtilityLuaBindings.hpp5
-rw-r--r--source/game/scripting/StarWorldLuaBindings.hpp5
-rw-r--r--source/game/terrain/StarCacheSelector.hpp5
-rw-r--r--source/game/terrain/StarConstantSelector.hpp5
-rw-r--r--source/game/terrain/StarDisplacementSelector.hpp5
-rw-r--r--source/game/terrain/StarFlatSurfaceSelector.hpp5
-rw-r--r--source/game/terrain/StarIslandSurfaceSelector.hpp5
-rw-r--r--source/game/terrain/StarKarstCave.hpp5
-rw-r--r--source/game/terrain/StarMaxSelector.hpp5
-rw-r--r--source/game/terrain/StarMinMaxSelector.hpp5
-rw-r--r--source/game/terrain/StarMixSelector.hpp5
-rw-r--r--source/game/terrain/StarPerlinSelector.hpp5
-rw-r--r--source/game/terrain/StarRidgeBlocksSelector.hpp5
-rw-r--r--source/game/terrain/StarRotateSelector.hpp5
-rw-r--r--source/game/terrain/StarWormCave.hpp5
254 files changed, 255 insertions, 1010 deletions
diff --git a/source/game/StarActorMovementController.hpp b/source/game/StarActorMovementController.hpp
index 79ba426..05c4e45 100644
--- a/source/game/StarActorMovementController.hpp
+++ b/source/game/StarActorMovementController.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ACTOR_MOVEMENT_CONTROLLER_HPP
-#define STAR_ACTOR_MOVEMENT_CONTROLLER_HPP
+#pragma once
#include "StarMovementController.hpp"
#include "StarPlatformerAStarTypes.hpp"
@@ -364,5 +363,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarAiDatabase.hpp b/source/game/StarAiDatabase.hpp
index 04632ab..00c02e3 100644
--- a/source/game/StarAiDatabase.hpp
+++ b/source/game/StarAiDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AI_DATABASE_HPP
-#define STAR_AI_DATABASE_HPP
+#pragma once
#include "StarAiTypes.hpp"
@@ -58,5 +57,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarAiTypes.hpp b/source/game/StarAiTypes.hpp
index b3c2f53..d49b6f4 100644
--- a/source/game/StarAiTypes.hpp
+++ b/source/game/StarAiTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AI_TYPES_HPP
-#define STAR_AI_TYPES_HPP
+#pragma once
#include "StarOrderedSet.hpp"
#include "StarItemDescriptor.hpp"
@@ -42,5 +41,3 @@ struct AiMission {
};
}
-
-#endif
diff --git a/source/game/StarAmbient.hpp b/source/game/StarAmbient.hpp
index 40f547a..1b36cc3 100644
--- a/source/game/StarAmbient.hpp
+++ b/source/game/StarAmbient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AMBIENT_HPP
-#define STAR_AMBIENT_HPP
+#pragma once
#include "StarJson.hpp"
@@ -67,5 +66,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarAnimation.hpp b/source/game/StarAnimation.hpp
index 9fbe812..bd5603c 100644
--- a/source/game/StarAnimation.hpp
+++ b/source/game/StarAnimation.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ANIMATION_HPP
-#define STAR_ANIMATION_HPP
+#pragma once
#include "StarDrawable.hpp"
#include "StarBiMap.hpp"
@@ -55,5 +54,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarArmorWearer.hpp b/source/game/StarArmorWearer.hpp
index 84df8c7..c52de9b 100644
--- a/source/game/StarArmorWearer.hpp
+++ b/source/game/StarArmorWearer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ARMOR_WEARER_HPP
-#define STAR_ARMOR_WEARER_HPP
+#pragma once
#include "StarHumanoid.hpp"
#include "StarNetElementSystem.hpp"
@@ -93,5 +92,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarBehaviorDatabase.hpp b/source/game/StarBehaviorDatabase.hpp
index f1db93a..6892bf6 100644
--- a/source/game/StarBehaviorDatabase.hpp
+++ b/source/game/StarBehaviorDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BEHAVIOR_DATABASE_HPP
-#define STAR_BEHAVIOR_DATABASE_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarJson.hpp"
@@ -151,5 +150,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarBehaviorState.hpp b/source/game/StarBehaviorState.hpp
index c1721c2..cac684c 100644
--- a/source/game/StarBehaviorState.hpp
+++ b/source/game/StarBehaviorState.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BEHAVIOR_STATE_HPP
-#define STAR_BEHAVIOR_STATE_HPP
+#pragma once
#include "StarBehaviorDatabase.hpp"
#include "StarLua.hpp"
@@ -116,4 +115,3 @@ private:
};
}
-#endif
diff --git a/source/game/StarBiome.hpp b/source/game/StarBiome.hpp
index 1576394..279af4c 100644
--- a/source/game/StarBiome.hpp
+++ b/source/game/StarBiome.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BIOME_HPP
-#define STAR_BIOME_HPP
+#pragma once
#include "StarBiomePlacement.hpp"
#include "StarSpawner.hpp"
@@ -58,5 +57,3 @@ struct Biome {
};
}
-
-#endif
diff --git a/source/game/StarBiomeDatabase.hpp b/source/game/StarBiomeDatabase.hpp
index 481e640..9b8ecf3 100644
--- a/source/game/StarBiomeDatabase.hpp
+++ b/source/game/StarBiomeDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BIOME_DATABASE_HPP
-#define STAR_BIOME_DATABASE_HPP
+#pragma once
#include "StarBiome.hpp"
#include "StarWeatherTypes.hpp"
@@ -46,5 +45,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarBiomePlacement.hpp b/source/game/StarBiomePlacement.hpp
index 8c60705..d572a60 100644
--- a/source/game/StarBiomePlacement.hpp
+++ b/source/game/StarBiomePlacement.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BIOME_PLACEMENT_HPP
-#define STAR_BIOME_PLACEMENT_HPP
+#pragma once
#include "StarPerlin.hpp"
#include "StarWeightedPool.hpp"
@@ -98,5 +97,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCelestialCoordinate.hpp b/source/game/StarCelestialCoordinate.hpp
index e0b5304..9bdc381 100644
--- a/source/game/StarCelestialCoordinate.hpp
+++ b/source/game/StarCelestialCoordinate.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELESTIAL_COORDINATE_HPP
-#define STAR_CELESTIAL_COORDINATE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarVector.hpp"
@@ -94,5 +93,3 @@ private:
}
template <> struct fmt::formatter<Star::CelestialCoordinate> : ostream_formatter {};
-
-#endif
diff --git a/source/game/StarCelestialDatabase.hpp b/source/game/StarCelestialDatabase.hpp
index 22bac88..49665b0 100644
--- a/source/game/StarCelestialDatabase.hpp
+++ b/source/game/StarCelestialDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELESTIAL_DATABASE_HPP
-#define STAR_CELESTIAL_DATABASE_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarTtlCache.hpp"
@@ -225,5 +224,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCelestialGraphics.hpp b/source/game/StarCelestialGraphics.hpp
index 966f1df..7d263de 100644
--- a/source/game/StarCelestialGraphics.hpp
+++ b/source/game/StarCelestialGraphics.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELESTIAL_GENERATION_HPP
-#define STAR_CELESTIAL_GENERATION_HPP
+#pragma once
#include "StarCelestialDatabase.hpp"
@@ -56,5 +55,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCelestialParameters.hpp b/source/game/StarCelestialParameters.hpp
index 32a1c0c..a4b26a5 100644
--- a/source/game/StarCelestialParameters.hpp
+++ b/source/game/StarCelestialParameters.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELESTIAL_PARAMETERS_HPP
-#define STAR_CELESTIAL_PARAMETERS_HPP
+#pragma once
#include "StarCelestialCoordinate.hpp"
#include "StarWorldParameters.hpp"
@@ -48,5 +47,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCelestialTypes.hpp b/source/game/StarCelestialTypes.hpp
index 9450907..d6d187a 100644
--- a/source/game/StarCelestialTypes.hpp
+++ b/source/game/StarCelestialTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELESTIAL_TYPES_HPP
-#define STAR_CELESTIAL_TYPES_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarRect.hpp"
@@ -67,5 +66,3 @@ struct CelestialBaseInformation {
DataStream& operator>>(DataStream& ds, CelestialBaseInformation& celestialInformation);
DataStream& operator<<(DataStream& ds, CelestialBaseInformation const& celestialInformation);
}
-
-#endif
diff --git a/source/game/StarChatAction.hpp b/source/game/StarChatAction.hpp
index 9a9d7ae..b099be8 100644
--- a/source/game/StarChatAction.hpp
+++ b/source/game/StarChatAction.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAT_ACTION_HPP
-#define STAR_CHAT_ACTION_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarGameTypes.hpp"
@@ -36,5 +35,3 @@ struct PortraitChatAction {
typedef MVariant<SayChatAction, PortraitChatAction> ChatAction;
}
-
-#endif
diff --git a/source/game/StarChatProcessor.hpp b/source/game/StarChatProcessor.hpp
index 7683c3e..89bb5f5 100644
--- a/source/game/StarChatProcessor.hpp
+++ b/source/game/StarChatProcessor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAT_PROCESSOR_HPP
-#define STAR_CHAT_PROCESSOR_HPP
+#pragma once
#include "StarChatTypes.hpp"
#include "StarSet.hpp"
@@ -82,5 +81,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarChatTypes.hpp b/source/game/StarChatTypes.hpp
index 533efd6..376ec6d 100644
--- a/source/game/StarChatTypes.hpp
+++ b/source/game/StarChatTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAT_TYPES_HPP
-#define STAR_CHAT_TYPES_HPP
+#pragma once
#include "StarDataStream.hpp"
#include "StarGameTypes.hpp"
@@ -58,5 +57,3 @@ DataStream& operator>>(DataStream& ds, ChatReceivedMessage& receivedMessage);
DataStream& operator<<(DataStream& ds, ChatReceivedMessage const& receivedMessage);
};
-
-#endif
diff --git a/source/game/StarClientContext.hpp b/source/game/StarClientContext.hpp
index 425bfd3..1bad18d 100644
--- a/source/game/StarClientContext.hpp
+++ b/source/game/StarClientContext.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CLIENT_CONTEXT_HPP
-#define STAR_CLIENT_CONTEXT_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarJsonRpc.hpp"
@@ -62,5 +61,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCodex.hpp b/source/game/StarCodex.hpp
index e3b6f8c..aaea53b 100644
--- a/source/game/StarCodex.hpp
+++ b/source/game/StarCodex.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CODEX_HPP
-#define STAR_CODEX_HPP
+#pragma once
#include "StarJson.hpp"
@@ -35,5 +34,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCodexDatabase.hpp b/source/game/StarCodexDatabase.hpp
index 920aa93..a597a94 100644
--- a/source/game/StarCodexDatabase.hpp
+++ b/source/game/StarCodexDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CODEX_DATABASE_HPP
-#define STAR_CODEX_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarCodex.hpp"
@@ -22,5 +21,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCollectionDatabase.hpp b/source/game/StarCollectionDatabase.hpp
index 23d241c..69fc80b 100644
--- a/source/game/StarCollectionDatabase.hpp
+++ b/source/game/StarCollectionDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_COLLECTION_DATABASE_HPP
-#define STAR_COLLECTION_DATABASE_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarJson.hpp"
@@ -59,4 +58,3 @@ private:
}
-#endif \ No newline at end of file
diff --git a/source/game/StarCollisionBlock.hpp b/source/game/StarCollisionBlock.hpp
index af8a290..b24f650 100644
--- a/source/game/StarCollisionBlock.hpp
+++ b/source/game/StarCollisionBlock.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_COLLISION_BLOCK_HPP
-#define STAR_COLLISION_BLOCK_HPP
+#pragma once
#include "StarPoly.hpp"
#include "StarList.hpp"
@@ -133,5 +132,3 @@ inline CollisionBlock CollisionBlock::nullBlock(Vec2I const& space) {
}
}
-
-#endif
diff --git a/source/game/StarCollisionGenerator.hpp b/source/game/StarCollisionGenerator.hpp
index e6cfb72..b8240b8 100644
--- a/source/game/StarCollisionGenerator.hpp
+++ b/source/game/StarCollisionGenerator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_COLLISION_GENERATOR_HPP
-#define STAR_COLLISION_GENERATOR_HPP
+#pragma once
#include "StarCollisionBlock.hpp"
#include "StarMultiArray.hpp"
@@ -46,5 +45,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarCommandProcessor.hpp b/source/game/StarCommandProcessor.hpp
index 49af16a..6d9bd2d 100644
--- a/source/game/StarCommandProcessor.hpp
+++ b/source/game/StarCommandProcessor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_COMMAND_PROCESSOR_HPP
-#define STAR_COMMAND_PROCESSOR_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarShellParser.hpp"
@@ -73,5 +72,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarDamage.hpp b/source/game/StarDamage.hpp
index 2099c93..427efef 100644
--- a/source/game/StarDamage.hpp
+++ b/source/game/StarDamage.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DAMAGE_HPP
-#define STAR_DAMAGE_HPP
+#pragma once
#include "StarDamageTypes.hpp"
#include "StarWorldGeometry.hpp"
@@ -120,5 +119,3 @@ struct DamageNotification {
DataStream& operator<<(DataStream& ds, DamageNotification const& damageNotification);
DataStream& operator>>(DataStream& ds, DamageNotification& damageNotification);
}
-
-#endif
diff --git a/source/game/StarDamageDatabase.hpp b/source/game/StarDamageDatabase.hpp
index dd78c5d..e495417 100644
--- a/source/game/StarDamageDatabase.hpp
+++ b/source/game/StarDamageDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DAMAGE_DATABASE_HPP
-#define STAR_DAMAGE_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarThread.hpp"
@@ -42,5 +41,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarDamageManager.hpp b/source/game/StarDamageManager.hpp
index 0488657..c6ba245 100644
--- a/source/game/StarDamageManager.hpp
+++ b/source/game/StarDamageManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DAMAGE_MANAGER_HPP
-#define STAR_DAMAGE_MANAGER_HPP
+#pragma once
#include "StarDamage.hpp"
#include "StarDamageTypes.hpp"
@@ -95,5 +94,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarDamageTypes.hpp b/source/game/StarDamageTypes.hpp
index 20b15da..632b2ee 100644
--- a/source/game/StarDamageTypes.hpp
+++ b/source/game/StarDamageTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DAMAGE_TYPES_HPP
-#define STAR_DAMAGE_TYPES_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarDataStream.hpp"
@@ -57,5 +56,3 @@ DataStream& operator>>(DataStream& ds, EntityDamageTeam& team);
TeamNumber soloPvpTeam(ConnectionId clientId);
}
-
-#endif
diff --git a/source/game/StarDanceDatabase.hpp b/source/game/StarDanceDatabase.hpp
index c0422f4..f27e202 100644
--- a/source/game/StarDanceDatabase.hpp
+++ b/source/game/StarDanceDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DANCE_DATABASE_HPP
-#define STAR_DANCE_DATABASE_HPP
+#pragma once
#include "StarRoot.hpp"
#include "StarAssets.hpp"
@@ -43,5 +42,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarDrawable.hpp b/source/game/StarDrawable.hpp
index 08dca1d..b63e7c4 100644
--- a/source/game/StarDrawable.hpp
+++ b/source/game/StarDrawable.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DRAWABLE_HPP
-#define STAR_DRAWABLE_HPP
+#pragma once
#include "StarString.hpp"
#include "StarDataStream.hpp"
@@ -186,5 +185,3 @@ inline Drawable::ImagePart const& Drawable::imagePart() const {
}
}
-
-#endif
diff --git a/source/game/StarDungeonGenerator.hpp b/source/game/StarDungeonGenerator.hpp
index 49384da..233efbd 100644
--- a/source/game/StarDungeonGenerator.hpp
+++ b/source/game/StarDungeonGenerator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DUNGEON_GENERATOR_HPP
-#define STAR_DUNGEON_GENERATOR_HPP
+#pragma once
#include "StarImage.hpp"
#include "StarItemDescriptor.hpp"
@@ -710,5 +709,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarDungeonImagePart.hpp b/source/game/StarDungeonImagePart.hpp
index 7dee641..a749d19 100644
--- a/source/game/StarDungeonImagePart.hpp
+++ b/source/game/StarDungeonImagePart.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DUNGEON_IMAGE_PART_HPP
-#define STAR_DUNGEON_IMAGE_PART_HPP
+#pragma once
#include "StarDungeonGenerator.hpp"
@@ -38,5 +37,3 @@ namespace Dungeon {
};
}
}
-
-#endif
diff --git a/source/game/StarDungeonTMXPart.hpp b/source/game/StarDungeonTMXPart.hpp
index 6f61419..50edf84 100644
--- a/source/game/StarDungeonTMXPart.hpp
+++ b/source/game/StarDungeonTMXPart.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DUNGEON_TMX_PART_HPP
-#define STAR_DUNGEON_TMX_PART_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarDungeonGenerator.hpp"
@@ -211,5 +210,3 @@ namespace Dungeon {
}
}
-
-#endif
diff --git a/source/game/StarEffectEmitter.hpp b/source/game/StarEffectEmitter.hpp
index e457720..4a60477 100644
--- a/source/game/StarEffectEmitter.hpp
+++ b/source/game/StarEffectEmitter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EFFECT_EMITTER_HPP
-#define STAR_EFFECT_EMITTER_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarEffectSourceDatabase.hpp"
@@ -40,5 +39,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarEffectSourceDatabase.hpp b/source/game/StarEffectSourceDatabase.hpp
index 874471e..3ed6b92 100644
--- a/source/game/StarEffectSourceDatabase.hpp
+++ b/source/game/StarEffectSourceDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EFFECT_SOURCE_DATABASE_HPP
-#define STAR_EFFECT_SOURCE_DATABASE_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarJson.hpp"
@@ -70,5 +69,3 @@ List<Particle> particlesFromDefinition(Json const& config, Vec2F const& position
List<AudioInstancePtr> soundsFromDefinition(Json const& config, Vec2F const& position = Vec2F());
}
-
-#endif
diff --git a/source/game/StarEmoteProcessor.hpp b/source/game/StarEmoteProcessor.hpp
index 19bcf9c..a9a91a2 100644
--- a/source/game/StarEmoteProcessor.hpp
+++ b/source/game/StarEmoteProcessor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EMOTE_PROCESSOR_HPP
-#define STAR_EMOTE_PROCESSOR_HPP
+#pragma once
#include "StarHumanoid.hpp"
@@ -23,5 +22,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarEntityFactory.hpp b/source/game/StarEntityFactory.hpp
index 8286dcf..09d4e99 100644
--- a/source/game/StarEntityFactory.hpp
+++ b/source/game/StarEntityFactory.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENTITY_FACTORY_HPP
-#define STAR_ENTITY_FACTORY_HPP
+#pragma once
#include "StarVersioningDatabase.hpp"
#include "StarEntity.hpp"
@@ -51,5 +50,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarEntityMap.hpp b/source/game/StarEntityMap.hpp
index 73883e4..f428fea 100644
--- a/source/game/StarEntityMap.hpp
+++ b/source/game/StarEntityMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENTITY_MAP_HPP
-#define STAR_ENTITY_MAP_HPP
+#pragma once
#include "StarSpatialHash2D.hpp"
#include "StarEntity.hpp"
@@ -189,5 +188,3 @@ List<shared_ptr<EntityT>> EntityMap::atTile(Vec2I const& pos) const {
}
}
-
-#endif
diff --git a/source/game/StarEntityRendering.hpp b/source/game/StarEntityRendering.hpp
index c131a81..6b52dbd 100644
--- a/source/game/StarEntityRendering.hpp
+++ b/source/game/StarEntityRendering.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RENDERING_HPP
-#define STAR_RENDERING_HPP
+#pragma once
#include "StarMixer.hpp"
#include "StarEntityRenderingTypes.hpp"
@@ -37,5 +36,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/StarEntityRenderingTypes.hpp b/source/game/StarEntityRenderingTypes.hpp
index 0886993..49468fb 100644
--- a/source/game/StarEntityRenderingTypes.hpp
+++ b/source/game/StarEntityRenderingTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENTITY_RENDERING_TYPES_HPP
-#define STAR_ENTITY_RENDERING_TYPES_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarColor.hpp"
@@ -85,5 +84,3 @@ struct EntityHighlightEffect {
};
}
-
-#endif
diff --git a/source/game/StarEntitySplash.hpp b/source/game/StarEntitySplash.hpp
index 1099d15..259750d 100644
--- a/source/game/StarEntitySplash.hpp
+++ b/source/game/StarEntitySplash.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENTITY_UTILITIES_HPP
-#define STAR_ENTITY_UTILITIES_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarParticle.hpp"
@@ -26,5 +25,3 @@ struct EntitySplashConfig {
};
}
-
-#endif
diff --git a/source/game/StarFallingBlocksAgent.hpp b/source/game/StarFallingBlocksAgent.hpp
index 5ab651b..3808daa 100644
--- a/source/game/StarFallingBlocksAgent.hpp
+++ b/source/game/StarFallingBlocksAgent.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FALLING_BLOCKS_AGENT_HPP
-#define STAR_FALLING_BLOCKS_AGENT_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarSet.hpp"
@@ -46,5 +45,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarForceRegions.hpp b/source/game/StarForceRegions.hpp
index 85e49ef..e9fa91a 100644
--- a/source/game/StarForceRegions.hpp
+++ b/source/game/StarForceRegions.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FORCE_REGIONS_HPP
-#define STAR_FORCE_REGIONS_HPP
+#pragma once
#include "StarPoly.hpp"
#include "StarVariant.hpp"
@@ -91,5 +90,3 @@ typedef Variant<DirectionalForceRegion, RadialForceRegion, GradientForceRegion>
PhysicsForceRegion jsonToPhysicsForceRegion(Json const& json);
}
-
-#endif
diff --git a/source/game/StarGameTimers.hpp b/source/game/StarGameTimers.hpp
index 15380e6..2679cdf 100644
--- a/source/game/StarGameTimers.hpp
+++ b/source/game/StarGameTimers.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_GAME_TIMERS_HPP
-#define STAR_GAME_TIMERS_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarJson.hpp"
@@ -73,5 +72,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarGameTypes.hpp b/source/game/StarGameTypes.hpp
index ce24247..e92e6ab 100644
--- a/source/game/StarGameTypes.hpp
+++ b/source/game/StarGameTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_GAME_TYPES_HPP
-#define STAR_GAME_TYPES_HPP
+#pragma once
#include "StarString.hpp"
#include "StarBiMap.hpp"
@@ -167,5 +166,3 @@ enum class TileDamageResult {
};
}
-
-#endif
diff --git a/source/game/StarHumanoid.hpp b/source/game/StarHumanoid.hpp
index e296b32..e6d89cb 100644
--- a/source/game/StarHumanoid.hpp
+++ b/source/game/StarHumanoid.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_HUMANOID_HPP
-#define STAR_HUMANOID_HPP
+#pragma once
#include "StarDataStream.hpp"
#include "StarGameTypes.hpp"
@@ -371,5 +370,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarImageMetadataDatabase.hpp b/source/game/StarImageMetadataDatabase.hpp
index b8e6a33..69e7a07 100644
--- a/source/game/StarImageMetadataDatabase.hpp
+++ b/source/game/StarImageMetadataDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_IMAGE_METADATA_DATABASE_HPP
-#define STAR_IMAGE_METADATA_DATABASE_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarMap.hpp"
@@ -37,5 +36,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarInput.hpp b/source/game/StarInput.hpp
index 8cdd978..113eea9 100644
--- a/source/game/StarInput.hpp
+++ b/source/game/StarInput.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INPUT_HPP
-#define STAR_INPUT_HPP
+#pragma once
#include "StarInputEvent.hpp"
#include "StarJson.hpp"
@@ -211,5 +210,3 @@ private:
};
}
-
-#endif \ No newline at end of file
diff --git a/source/game/StarInteractionTypes.hpp b/source/game/StarInteractionTypes.hpp
index cff1c32..3f3b7bf 100644
--- a/source/game/StarInteractionTypes.hpp
+++ b/source/game/StarInteractionTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INTERACTION_TYPES_HPP
-#define STAR_INTERACTION_TYPES_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarJson.hpp"
@@ -50,5 +49,3 @@ DataStream& operator>>(DataStream& ds, InteractAction& ir);
DataStream& operator<<(DataStream& ds, InteractAction const& ir);
}
-
-#endif
diff --git a/source/game/StarInterpolationTracker.hpp b/source/game/StarInterpolationTracker.hpp
index 563c111..336f461 100644
--- a/source/game/StarInterpolationTracker.hpp
+++ b/source/game/StarInterpolationTracker.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_INTERPOLATION_TRACKER_HPP
-#define STAR_WORLD_INTERPOLATION_TRACKER_HPP
+#pragma once
#include "StarJson.hpp"
@@ -38,5 +37,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarInventoryTypes.hpp b/source/game/StarInventoryTypes.hpp
index f184d48..7510267 100644
--- a/source/game/StarInventoryTypes.hpp
+++ b/source/game/StarInventoryTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INVENTORY_TYPES_HPP
-#define STAR_INVENTORY_TYPES_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarBiMap.hpp"
@@ -58,5 +57,3 @@ static uint8_t const EssentialItemCount = 4;
}
template <> struct fmt::formatter<Star::InventorySlot> : ostream_formatter {};
-
-#endif
diff --git a/source/game/StarItem.hpp b/source/game/StarItem.hpp
index ed13f82..1fa7b45 100644
--- a/source/game/StarItem.hpp
+++ b/source/game/StarItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_HPP
-#define STAR_ITEM_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarDrawable.hpp"
@@ -178,5 +177,3 @@ inline ItemDescriptor itemSafeDescriptor(ItemPtr const& item) {
return item ? item->descriptor() : ItemDescriptor();
}
}
-
-#endif
diff --git a/source/game/StarItemBag.hpp b/source/game/StarItemBag.hpp
index 94ad14f..7b0246d 100644
--- a/source/game/StarItemBag.hpp
+++ b/source/game/StarItemBag.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_BAG_HPP
-#define STAR_ITEM_BAG_HPP
+#pragma once
#include "StarMathCommon.hpp"
#include "StarItemDescriptor.hpp"
@@ -116,5 +115,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarItemDatabase.hpp b/source/game/StarItemDatabase.hpp
index 15dd7ee..c45f4ca 100644
--- a/source/game/StarItemDatabase.hpp
+++ b/source/game/StarItemDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_DATABASE_HPP
-#define STAR_ITEM_DATABASE_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarItemRecipe.hpp"
@@ -214,5 +213,3 @@ bool ItemDatabase::diskLoad(Json const& diskStore, shared_ptr<ItemT>& itemPtr) c
}
}
}
-
-#endif
diff --git a/source/game/StarItemDescriptor.hpp b/source/game/StarItemDescriptor.hpp
index 1c964f4..5dab058 100644
--- a/source/game/StarItemDescriptor.hpp
+++ b/source/game/StarItemDescriptor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_DESCRIPTOR_HPP
-#define STAR_ITEM_DESCRIPTOR_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarDataStream.hpp"
@@ -80,5 +79,3 @@ struct hash<ItemDescriptor> {
}
template <> struct fmt::formatter<Star::ItemDescriptor> : ostream_formatter {};
-
-#endif
diff --git a/source/game/StarItemDrop.hpp b/source/game/StarItemDrop.hpp
index 7b76cd7..3d6e931 100644
--- a/source/game/StarItemDrop.hpp
+++ b/source/game/StarItemDrop.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_DROP_HPP
-#define STAR_ITEM_DROP_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarMovementController.hpp"
@@ -128,5 +127,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarItemRecipe.hpp b/source/game/StarItemRecipe.hpp
index df1236e..b2d51d7 100644
--- a/source/game/StarItemRecipe.hpp
+++ b/source/game/StarItemRecipe.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_RECIPE_HPP
-#define STAR_ITEM_RECIPE_HPP
+#pragma once
#include "StarItemDescriptor.hpp"
#include "StarGameTypes.hpp"
@@ -36,5 +35,3 @@ std::ostream& operator<<(std::ostream& os, ItemRecipe const& recipe);
}
template <> struct fmt::formatter<Star::ItemRecipe> : ostream_formatter {};
-
-#endif
diff --git a/source/game/StarLightSource.hpp b/source/game/StarLightSource.hpp
index b19240e..8810220 100644
--- a/source/game/StarLightSource.hpp
+++ b/source/game/StarLightSource.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LIGHT_SOURCE_HPP
-#define STAR_LIGHT_SOURCE_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarDataStream.hpp"
@@ -27,5 +26,3 @@ struct LightSource {
DataStream& operator<<(DataStream& ds, LightSource const& lightSource);
DataStream& operator>>(DataStream& ds, LightSource& lightSource);
}
-
-#endif
diff --git a/source/game/StarLiquidTypes.hpp b/source/game/StarLiquidTypes.hpp
index 8f48924..b5c5d4a 100644
--- a/source/game/StarLiquidTypes.hpp
+++ b/source/game/StarLiquidTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LIQUID_TYPES_HPP
-#define STAR_LIQUID_TYPES_HPP
+#pragma once
#include "StarMathCommon.hpp"
@@ -55,5 +54,3 @@ inline LiquidLevel LiquidNetUpdate::liquidLevel() const {
}
}
-
-#endif
diff --git a/source/game/StarLiquidsDatabase.hpp b/source/game/StarLiquidsDatabase.hpp
index 6bbb917..707be70 100644
--- a/source/game/StarLiquidsDatabase.hpp
+++ b/source/game/StarLiquidsDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LIQUIDS_DATABASE_HPP
-#define STAR_LIQUIDS_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarEither.hpp"
@@ -101,5 +100,3 @@ inline Vec3F LiquidsDatabase::radiantLight(LiquidLevel level) const {
}
}
-
-#endif
diff --git a/source/game/StarMaterialDatabase.hpp b/source/game/StarMaterialDatabase.hpp
index 369d8d1..8e4f350 100644
--- a/source/game/StarMaterialDatabase.hpp
+++ b/source/game/StarMaterialDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MATERIAL_DATABASE_HPP
-#define STAR_MATERIAL_DATABASE_HPP
+#pragma once
#include "StarColor.hpp"
#include "StarCollisionBlock.hpp"
@@ -268,5 +267,3 @@ inline Maybe<LiquidModInteraction> MaterialDatabase::liquidModInteraction(Liquid
return m_liquidModInteractions.maybe({liquid, modId});
}
}
-
-#endif
diff --git a/source/game/StarMaterialRenderProfile.hpp b/source/game/StarMaterialRenderProfile.hpp
index 2e02df7..658cd89 100644
--- a/source/game/StarMaterialRenderProfile.hpp
+++ b/source/game/StarMaterialRenderProfile.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MATERIAL_RENDER_MATCHING_HPP
-#define STAR_MATERIAL_RENDER_MATCHING_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarJson.hpp"
@@ -121,5 +120,3 @@ struct MaterialRenderProfile {
MaterialRenderProfile parseMaterialRenderProfile(Json const& spec, String const& relativePath = "");
}
-
-#endif
diff --git a/source/game/StarMaterialTypes.hpp b/source/game/StarMaterialTypes.hpp
index caf256b..2a8321d 100644
--- a/source/game/StarMaterialTypes.hpp
+++ b/source/game/StarMaterialTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MATERIAL_TYPES_HPP
-#define STAR_MATERIAL_TYPES_HPP
+#pragma once
namespace Star {
@@ -96,5 +95,3 @@ inline bool isBiomeMod(ModId mod) {
return mod == BiomeModId || mod == UndergroundBiomeModId;
}
}
-
-#endif
diff --git a/source/game/StarMicroDungeon.hpp b/source/game/StarMicroDungeon.hpp
index c62cf88..31231fd 100644
--- a/source/game/StarMicroDungeon.hpp
+++ b/source/game/StarMicroDungeon.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MICRO_DUNGEON_HPP
-#define STAR_MICRO_DUNGEON_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarString.hpp"
@@ -27,5 +26,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarMonster.hpp b/source/game/StarMonster.hpp
index 807197e..d6cae3e 100644
--- a/source/game/StarMonster.hpp
+++ b/source/game/StarMonster.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MONSTER_HPP
-#define STAR_MONSTER_HPP
+#pragma once
#include "StarEntity.hpp"
#include "StarNetElementSystem.hpp"
@@ -208,5 +207,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarMonsterDatabase.hpp b/source/game/StarMonsterDatabase.hpp
index 47080ce..9147542 100644
--- a/source/game/StarMonsterDatabase.hpp
+++ b/source/game/StarMonsterDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MONSTER_DATABASE_HPP
-#define STAR_MONSTER_DATABASE_HPP
+#pragma once
#include "StarNetworkedAnimator.hpp"
#include "StarActorMovementController.hpp"
@@ -197,5 +196,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarMovementController.hpp b/source/game/StarMovementController.hpp
index 4f3ee02..2dfe8e7 100644
--- a/source/game/StarMovementController.hpp
+++ b/source/game/StarMovementController.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MOVEMENT_CONTROLLER_HPP
-#define STAR_MOVEMENT_CONTROLLER_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarMaybe.hpp"
@@ -298,5 +297,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarNameGenerator.hpp b/source/game/StarNameGenerator.hpp
index 11376dc..fe21042 100644
--- a/source/game/StarNameGenerator.hpp
+++ b/source/game/StarNameGenerator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NAME_GENERATOR_HPP
-#define STAR_NAME_GENERATOR_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarRandom.hpp"
@@ -38,5 +37,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarNetPacketSocket.hpp b/source/game/StarNetPacketSocket.hpp
index bfdd20c..3530310 100644
--- a/source/game/StarNetPacketSocket.hpp
+++ b/source/game/StarNetPacketSocket.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_PACKET_SOCKET_HPP
-#define STAR_NET_PACKET_SOCKET_HPP
+#pragma once
#include "StarTcp.hpp"
#include "StarAtomicSharedPtr.hpp"
@@ -170,5 +169,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarNetPackets.hpp b/source/game/StarNetPackets.hpp
index a02f9bc..98455e2 100644
--- a/source/game/StarNetPackets.hpp
+++ b/source/game/StarNetPackets.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_PACKETS_HPP
-#define STAR_NET_PACKETS_HPP
+#pragma once
#include "StarDataStream.hpp"
#include "StarWorldTiles.hpp"
@@ -904,5 +903,3 @@ struct SystemObjectSpawnPacket : PacketBase<PacketType::SystemObjectSpawn> {
JsonObject parameters;
};
}
-
-#endif
diff --git a/source/game/StarNetworkedAnimator.hpp b/source/game/StarNetworkedAnimator.hpp
index 63f7774..feee8bf 100644
--- a/source/game/StarNetworkedAnimator.hpp
+++ b/source/game/StarNetworkedAnimator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NETWORKED_ANIMATOR_HPP
-#define STAR_NETWORKED_ANIMATOR_HPP
+#pragma once
#include "StarPeriodicFunction.hpp"
#include "StarAnimatedPartSet.hpp"
@@ -330,5 +329,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarNpc.hpp b/source/game/StarNpc.hpp
index 481dd9e..083abc6 100644
--- a/source/game/StarNpc.hpp
+++ b/source/game/StarNpc.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NPC_HPP
-#define STAR_NPC_HPP
+#pragma once
#include "StarNpcDatabase.hpp"
#include "StarEntity.hpp"
@@ -260,5 +259,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarNpcDatabase.hpp b/source/game/StarNpcDatabase.hpp
index f95e797..01dec97 100644
--- a/source/game/StarNpcDatabase.hpp
+++ b/source/game/StarNpcDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NPC_DATABASE_HPP
-#define STAR_NPC_DATABASE_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarHumanoid.hpp"
@@ -82,5 +81,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarObject.hpp b/source/game/StarObject.hpp
index 117917a..6483a27 100644
--- a/source/game/StarObject.hpp
+++ b/source/game/StarObject.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OBJECT_HPP
-#define STAR_OBJECT_HPP
+#pragma once
#include "StarPeriodic.hpp"
#include "StarPeriodicFunction.hpp"
@@ -271,5 +270,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarObjectDatabase.hpp b/source/game/StarObjectDatabase.hpp
index 5f3f675..76bae0f 100644
--- a/source/game/StarObjectDatabase.hpp
+++ b/source/game/StarObjectDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OBJECT_DATABASE_HPP
-#define STAR_OBJECT_DATABASE_HPP
+#pragma once
#include "StarPeriodicFunction.hpp"
#include "StarTtlCache.hpp"
@@ -220,5 +219,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarParallax.hpp b/source/game/StarParallax.hpp
index c28145b..ee65955 100644
--- a/source/game/StarParallax.hpp
+++ b/source/game/StarParallax.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PARALLAX_HPP
-#define STAR_PARALLAX_HPP
+#pragma once
#include "StarMaybe.hpp"
#include "StarColor.hpp"
@@ -71,5 +70,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarParticle.hpp b/source/game/StarParticle.hpp
index c0477e7..e3ab1ce 100644
--- a/source/game/StarParticle.hpp
+++ b/source/game/StarParticle.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PARTICLE_HPP
-#define STAR_PARTICLE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarColor.hpp"
@@ -123,5 +122,3 @@ typedef function<Particle()> ParticleVariantCreator;
ParticleVariantCreator makeParticleVariantCreator(Particle particle, Particle variance);
}
-
-#endif
diff --git a/source/game/StarParticleDatabase.hpp b/source/game/StarParticleDatabase.hpp
index f43b44c..81c38e7 100644
--- a/source/game/StarParticleDatabase.hpp
+++ b/source/game/StarParticleDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PARTICLE_DATABASE_HPP
-#define STAR_PARTICLE_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarThread.hpp"
@@ -43,5 +42,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarParticleManager.hpp b/source/game/StarParticleManager.hpp
index d18f1d2..3a94d9f 100644
--- a/source/game/StarParticleManager.hpp
+++ b/source/game/StarParticleManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PARTICLE_MANAGER_HPP
-#define STAR_PARTICLE_MANAGER_HPP
+#pragma once
#include "StarWorldGeometry.hpp"
#include "StarParticle.hpp"
@@ -39,5 +38,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlant.hpp b/source/game/StarPlant.hpp
index f0938c9..53aed5f 100644
--- a/source/game/StarPlant.hpp
+++ b/source/game/StarPlant.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLANT_HPP
-#define STAR_PLANT_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarNetElementSystem.hpp"
@@ -176,5 +175,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlantDatabase.hpp b/source/game/StarPlantDatabase.hpp
index f1ff631..9b86f2c 100644
--- a/source/game/StarPlantDatabase.hpp
+++ b/source/game/StarPlantDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLANT_DATABASE_HPP
-#define STAR_PLANT_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarThread.hpp"
@@ -133,5 +132,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlantDrop.hpp b/source/game/StarPlantDrop.hpp
index d01e1bb..1b630f4 100644
--- a/source/game/StarPlantDrop.hpp
+++ b/source/game/StarPlantDrop.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLANT_DROP_HPP
-#define STAR_PLANT_DROP_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarMovementController.hpp"
@@ -80,5 +79,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlatformerAStar.hpp b/source/game/StarPlatformerAStar.hpp
index 3e3b7d4..9bf6877 100644
--- a/source/game/StarPlatformerAStar.hpp
+++ b/source/game/StarPlatformerAStar.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLATFORMER_ASTAR_HPP
-#define STAR_PLATFORMER_ASTAR_HPP
+#pragma once
#include "StarBiMap.hpp"
#include "StarAStar.hpp"
@@ -76,5 +75,3 @@ namespace PlatformerAStar {
};
}
}
-
-#endif
diff --git a/source/game/StarPlatformerAStarTypes.hpp b/source/game/StarPlatformerAStarTypes.hpp
index 90afbbd..d3e5c0d 100644
--- a/source/game/StarPlatformerAStarTypes.hpp
+++ b/source/game/StarPlatformerAStarTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLATFORMER_ASTAR_TYPES_HPP
-#define STAR_PLATFORMER_ASTAR_TYPES_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarRect.hpp"
@@ -150,5 +149,3 @@ inline bool operator!=(Parameters const& lhs, Parameters const& rhs) {
template <> struct fmt::formatter<Star::PlatformerAStar::Node> : ostream_formatter {};
template <> struct fmt::formatter<Star::PlatformerAStar::Action> : ostream_formatter {};
template <> struct fmt::formatter<Star::PlatformerAStar::Edge> : ostream_formatter {};
-
-#endif
diff --git a/source/game/StarPlayer.hpp b/source/game/StarPlayer.hpp
index 1ac97a2..766f16e 100644
--- a/source/game/StarPlayer.hpp
+++ b/source/game/StarPlayer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_HPP
-#define STAR_PLAYER_HPP
+#pragma once
#include "StarUuid.hpp"
#include "StarNetElementSystem.hpp"
@@ -656,5 +655,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerBlueprints.hpp b/source/game/StarPlayerBlueprints.hpp
index 0b37c0d..1db8ed0 100644
--- a/source/game/StarPlayerBlueprints.hpp
+++ b/source/game/StarPlayerBlueprints.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_BLUEPRINTS_HPP
-#define STAR_PLAYER_BLUEPRINTS_HPP
+#pragma once
#include "StarByteArray.hpp"
#include "StarSet.hpp"
@@ -27,5 +26,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerCodexes.hpp b/source/game/StarPlayerCodexes.hpp
index f16d126..1d0d4df 100644
--- a/source/game/StarPlayerCodexes.hpp
+++ b/source/game/StarPlayerCodexes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_CODEXES_HPP
-#define STAR_PLAYER_CODEXES_HPP
+#pragma once
#include "StarUuid.hpp"
#include "StarJson.hpp"
@@ -37,5 +36,3 @@ private:
typedef shared_ptr<PlayerCodexes> PlayerCodexesPtr;
}
-
-#endif
diff --git a/source/game/StarPlayerCompanions.hpp b/source/game/StarPlayerCompanions.hpp
index dd1d66d..22934fb 100644
--- a/source/game/StarPlayerCompanions.hpp
+++ b/source/game/StarPlayerCompanions.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_COMPANIONS_HPP
-#define STAR_PLAYER_COMPANIONS_HPP
+#pragma once
#include "StarAiTypes.hpp"
#include "StarUuid.hpp"
@@ -62,5 +61,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerDeployment.hpp b/source/game/StarPlayerDeployment.hpp
index 7c0602d..ff34f97 100644
--- a/source/game/StarPlayerDeployment.hpp
+++ b/source/game/StarPlayerDeployment.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_DEPLOYMENT_HPP
-#define STAR_PLAYER_DEPLOYMENT_HPP
+#pragma once
#include "StarLuaComponents.hpp"
#include "StarLuaAnimationComponent.hpp"
@@ -43,5 +42,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerFactory.hpp b/source/game/StarPlayerFactory.hpp
index 210de7b..a366221 100644
--- a/source/game/StarPlayerFactory.hpp
+++ b/source/game/StarPlayerFactory.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_FACTORY_HPP
-#define STAR_PLAYER_FACTORY_HPP
+#pragma once
#include "StarItemDescriptor.hpp"
#include "StarHumanoid.hpp"
@@ -68,5 +67,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerInventory.hpp b/source/game/StarPlayerInventory.hpp
index 14a65ed..0ec0649 100644
--- a/source/game/StarPlayerInventory.hpp
+++ b/source/game/StarPlayerInventory.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_INVENTORY_HPP
-#define STAR_PLAYER_INVENTORY_HPP
+#pragma once
#include "StarInventoryTypes.hpp"
#include "StarMultiArray.hpp"
@@ -223,5 +222,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerLog.hpp b/source/game/StarPlayerLog.hpp
index ce76e49..61993bb 100644
--- a/source/game/StarPlayerLog.hpp
+++ b/source/game/StarPlayerLog.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_LOG_HPP
-#define STAR_PLAYER_LOG_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarJson.hpp"
@@ -53,5 +52,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerStorage.hpp b/source/game/StarPlayerStorage.hpp
index ea67e94..c9bc2d8 100644
--- a/source/game/StarPlayerStorage.hpp
+++ b/source/game/StarPlayerStorage.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_STORAGE_HPP
-#define STAR_PLAYER_STORAGE_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarUuid.hpp"
@@ -56,5 +55,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerTech.hpp b/source/game/StarPlayerTech.hpp
index 20f3183..3e1b9d2 100644
--- a/source/game/StarPlayerTech.hpp
+++ b/source/game/StarPlayerTech.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_TECH_HPP
-#define STAR_PLAYER_TECH_HPP
+#pragma once
#include "StarTechDatabase.hpp"
@@ -42,5 +41,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarPlayerTypes.hpp b/source/game/StarPlayerTypes.hpp
index 6d754a8..be46165 100644
--- a/source/game/StarPlayerTypes.hpp
+++ b/source/game/StarPlayerTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef PLAYER_TYPES_HPP
-#define PLAYER_TYPES_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarBiMap.hpp"
@@ -57,5 +56,3 @@ DataStream& operator>>(DataStream& ds, ShipUpgrades& upgrades);
DataStream& operator<<(DataStream& ds, ShipUpgrades const& upgrades);
}
-
-#endif
diff --git a/source/game/StarPlayerUniverseMap.hpp b/source/game/StarPlayerUniverseMap.hpp
index da14f9f..fad0c41 100644
--- a/source/game/StarPlayerUniverseMap.hpp
+++ b/source/game/StarPlayerUniverseMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_BOOKMARKS_HPP
-#define STAR_PLAYER_BOOKMARKS_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarWarping.hpp"
@@ -116,5 +115,3 @@ bool Bookmark<T>::operator<(Bookmark<T> const& rhs) const {
}
}
-
-#endif
diff --git a/source/game/StarProjectile.hpp b/source/game/StarProjectile.hpp
index 1bdfed1..6719a21 100644
--- a/source/game/StarProjectile.hpp
+++ b/source/game/StarProjectile.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PROJECTILE_HPP
-#define STAR_PROJECTILE_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarEntity.hpp"
@@ -189,5 +188,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarProjectileDatabase.hpp b/source/game/StarProjectileDatabase.hpp
index bb0cf97..f78f150 100644
--- a/source/game/StarProjectileDatabase.hpp
+++ b/source/game/StarProjectileDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PROJECTILE_DATABASE_HPP
-#define STAR_PROJECTILE_DATABASE_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarThread.hpp"
@@ -121,5 +120,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarQuestDescriptor.hpp b/source/game/StarQuestDescriptor.hpp
index 1ac9932..5a33673 100644
--- a/source/game/StarQuestDescriptor.hpp
+++ b/source/game/StarQuestDescriptor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUESTDESCRIPTOR_HPP
-#define STAR_QUESTDESCRIPTOR_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarPoly.hpp"
@@ -140,5 +139,3 @@ DataStream& operator<<(DataStream& ds, QuestDescriptor const& quest);
DataStream& operator>>(DataStream& ds, QuestArcDescriptor& questArc);
DataStream& operator<<(DataStream& ds, QuestArcDescriptor const& questArc);
}
-
-#endif
diff --git a/source/game/StarQuestManager.hpp b/source/game/StarQuestManager.hpp
index 0dec97e..1dfcb2c 100644
--- a/source/game/StarQuestManager.hpp
+++ b/source/game/StarQuestManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUEST_MANAGER_HPP
-#define STAR_QUEST_MANAGER_HPP
+#pragma once
#include "StarQuests.hpp"
@@ -77,5 +76,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarQuestTemplateDatabase.hpp b/source/game/StarQuestTemplateDatabase.hpp
index 75f1daf..3af67da 100644
--- a/source/game/StarQuestTemplateDatabase.hpp
+++ b/source/game/StarQuestTemplateDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUEST_TEMPLATE_DATABASE_HPP
-#define STAR_QUEST_TEMPLATE_DATABASE_HPP
+#pragma once
#include "StarItemDescriptor.hpp"
#include "StarThread.hpp"
@@ -79,5 +78,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarQuests.hpp b/source/game/StarQuests.hpp
index fd17f5d..9621ecd 100644
--- a/source/game/StarQuests.hpp
+++ b/source/game/StarQuests.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUESTS_HPP
-#define STAR_QUESTS_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarJsonRpc.hpp"
@@ -195,5 +194,3 @@ private:
QuestPtr createPreviewQuest(
String const& templateId, String const& position, String const& questGiverSpecies, Player* player);
}
-
-#endif
diff --git a/source/game/StarRadioMessageDatabase.hpp b/source/game/StarRadioMessageDatabase.hpp
index e9c83ba..6ec540e 100644
--- a/source/game/StarRadioMessageDatabase.hpp
+++ b/source/game/StarRadioMessageDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RADIO_MESSAGE_DATABASE_HPP
-#define STAR_RADIO_MESSAGE_DATABASE_HPP
+#pragma once
#include "StarBiMap.hpp"
#include "StarJson.hpp"
@@ -40,5 +39,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarRoot.hpp b/source/game/StarRoot.hpp
index 2fe3561..b60dfca 100644
--- a/source/game/StarRoot.hpp
+++ b/source/game/StarRoot.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ROOT_HPP
-#define STAR_ROOT_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarLogging.hpp"
@@ -328,5 +327,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarRootLoader.hpp b/source/game/StarRootLoader.hpp
index 0ad5ea6..574fd46 100644
--- a/source/game/StarRootLoader.hpp
+++ b/source/game/StarRootLoader.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ROOT_LOADER_HPP
-#define STAR_ROOT_LOADER_HPP
+#pragma once
#include "StarVersionOptionParser.hpp"
#include "StarRoot.hpp"
@@ -67,5 +66,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarServerClientContext.hpp b/source/game/StarServerClientContext.hpp
index b94c399..9dbab43 100644
--- a/source/game/StarServerClientContext.hpp
+++ b/source/game/StarServerClientContext.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CLIENT_CONTEXT_SERVER_HPP
-#define STAR_CLIENT_CONTEXT_SERVER_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarThread.hpp"
@@ -118,5 +117,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSky.hpp b/source/game/StarSky.hpp
index 1921a3a..4f6ec0c 100644
--- a/source/game/StarSky.hpp
+++ b/source/game/StarSky.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SKY_HPP
-#define STAR_SKY_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarNetElementSystem.hpp"
@@ -187,5 +186,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSkyParameters.hpp b/source/game/StarSkyParameters.hpp
index afafb55..9618e8d 100644
--- a/source/game/StarSkyParameters.hpp
+++ b/source/game/StarSkyParameters.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SKY_PARAMETERS_HPP
-#define STAR_SKY_PARAMETERS_HPP
+#pragma once
#include "StarSkyTypes.hpp"
#include "StarEither.hpp"
@@ -50,5 +49,3 @@ struct SkyParameters {
DataStream& operator>>(DataStream& ds, SkyParameters& sky);
DataStream& operator<<(DataStream& ds, SkyParameters const& sky);
}
-
-#endif
diff --git a/source/game/StarSkyRenderData.hpp b/source/game/StarSkyRenderData.hpp
index 544cb18..0e004b0 100644
--- a/source/game/StarSkyRenderData.hpp
+++ b/source/game/StarSkyRenderData.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SKY_RENDER_DATA_HPP
-#define STAR_SKY_RENDER_DATA_HPP
+#pragma once
#include "StarSkyParameters.hpp"
@@ -45,5 +44,3 @@ struct SkyRenderData {
DataStream& operator>>(DataStream& ds, SkyRenderData& skyRenderData);
DataStream& operator<<(DataStream& ds, SkyRenderData const& skyRenderData);
}
-
-#endif
diff --git a/source/game/StarSkyTypes.hpp b/source/game/StarSkyTypes.hpp
index 39f8dc1..844b826 100644
--- a/source/game/StarSkyTypes.hpp
+++ b/source/game/StarSkyTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SKY_TYPES_HPP
-#define STAR_SKY_TYPES_HPP
+#pragma once
#include "StarColor.hpp"
#include "StarBiMap.hpp"
@@ -85,5 +84,3 @@ struct SkyWorldHorizon {
};
}
-
-#endif
diff --git a/source/game/StarSongbook.hpp b/source/game/StarSongbook.hpp
index d56d54e..89a4bfd 100644
--- a/source/game/StarSongbook.hpp
+++ b/source/game/StarSongbook.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SONGBOOK_HPP
-#define STAR_SONGBOOK_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarJson.hpp"
@@ -111,5 +110,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSpawnTypeDatabase.hpp b/source/game/StarSpawnTypeDatabase.hpp
index a498cb0..bcb9e6f 100644
--- a/source/game/StarSpawnTypeDatabase.hpp
+++ b/source/game/StarSpawnTypeDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SPAWNTYPE_DATABASE_HPP
-#define STAR_SPAWNTYPE_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarVector.hpp"
@@ -90,5 +89,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSpawner.hpp b/source/game/StarSpawner.hpp
index b04382a..ed5d047 100644
--- a/source/game/StarSpawner.hpp
+++ b/source/game/StarSpawner.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SPAWNER_HPP
-#define STAR_SPAWNER_HPP
+#pragma once
#include "StarPeriodic.hpp"
#include "StarIdMap.hpp"
@@ -115,5 +114,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSpeciesDatabase.hpp b/source/game/StarSpeciesDatabase.hpp
index 505ccdd..883b2ef 100644
--- a/source/game/StarSpeciesDatabase.hpp
+++ b/source/game/StarSpeciesDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SPECIES_DATABASE_HPP
-#define STAR_SPECIES_DATABASE_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarItemDescriptor.hpp"
@@ -105,5 +104,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStagehand.hpp b/source/game/StarStagehand.hpp
index d6ce68d..4297370 100644
--- a/source/game/StarStagehand.hpp
+++ b/source/game/StarStagehand.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAGEHAND_HPP
-#define STAR_STAGEHAND_HPP
+#pragma once
#include "StarEntity.hpp"
#include "StarLuaComponents.hpp"
@@ -75,5 +74,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStagehandDatabase.hpp b/source/game/StarStagehandDatabase.hpp
index 50a395d..1bb2382 100644
--- a/source/game/StarStagehandDatabase.hpp
+++ b/source/game/StarStagehandDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAGEHAND_DATABASE_HPP
-#define STAR_STAGEHAND_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
@@ -22,5 +21,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatCollection.hpp b/source/game/StarStatCollection.hpp
index c535ef1..acb7e8f 100644
--- a/source/game/StarStatCollection.hpp
+++ b/source/game/StarStatCollection.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAT_COLLECTION_HPP
-#define STAR_STAT_COLLECTION_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarNetElementSystem.hpp"
@@ -66,5 +65,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatSet.hpp b/source/game/StarStatSet.hpp
index 759582b..2d583d5 100644
--- a/source/game/StarStatSet.hpp
+++ b/source/game/StarStatSet.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAT_SET_HPP
-#define STAR_STAT_SET_HPP
+#pragma once
#include "StarStatusTypes.hpp"
@@ -149,5 +148,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatistics.hpp b/source/game/StarStatistics.hpp
index 6a7beed..30ae810 100644
--- a/source/game/StarStatistics.hpp
+++ b/source/game/StarStatistics.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATISTICS_HPP
-#define STAR_STATISTICS_HPP
+#pragma once
#include "StarVersioningDatabase.hpp"
#include "StarStatisticsDatabase.hpp"
@@ -64,5 +63,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatisticsDatabase.hpp b/source/game/StarStatisticsDatabase.hpp
index ee30e21..e5b0451 100644
--- a/source/game/StarStatisticsDatabase.hpp
+++ b/source/game/StarStatisticsDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATISTICS_DATABASE_HPP
-#define STAR_STATISTICS_DATABASE_HPP
+#pragma once
#include "StarRoot.hpp"
#include "StarAssets.hpp"
@@ -47,5 +46,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatusController.hpp b/source/game/StarStatusController.hpp
index 94d636a..d89d3f4 100644
--- a/source/game/StarStatusController.hpp
+++ b/source/game/StarStatusController.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAT_CONTROLLER_HPP
-#define STAR_STAT_CONTROLLER_HPP
+#pragma once
#include "StarObserverStream.hpp"
#include "StarNetElementSystem.hpp"
@@ -237,5 +236,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatusEffectDatabase.hpp b/source/game/StarStatusEffectDatabase.hpp
index 2b67ff8..e4c39d3 100644
--- a/source/game/StarStatusEffectDatabase.hpp
+++ b/source/game/StarStatusEffectDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAT_EFFECT_DATABASE_HPP
-#define STAR_STAT_EFFECT_DATABASE_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarStatusTypes.hpp"
@@ -40,5 +39,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarStatusTypes.hpp b/source/game/StarStatusTypes.hpp
index 3ed886f..0a39501 100644
--- a/source/game/StarStatusTypes.hpp
+++ b/source/game/StarStatusTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATUS_TYPES_HPP
-#define STAR_STATUS_TYPES_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarStrongTypedef.hpp"
@@ -88,5 +87,3 @@ EphemeralStatusEffect jsonToEphemeralStatusEffect(Json const& config);
Json jsonFromEphemeralStatusEffect(EphemeralStatusEffect const& effect);
}
-
-#endif
diff --git a/source/game/StarStoredFunctions.hpp b/source/game/StarStoredFunctions.hpp
index f66a185..7c3b844 100644
--- a/source/game/StarStoredFunctions.hpp
+++ b/source/game/StarStoredFunctions.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STORED_FUNCTIONS_HPP
-#define STAR_STORED_FUNCTIONS_HPP
+#pragma once
#include "StarParametricFunction.hpp"
#include "StarJson.hpp"
@@ -97,5 +96,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSystemWorld.hpp b/source/game/StarSystemWorld.hpp
index ab0b63a..db12833 100644
--- a/source/game/StarSystemWorld.hpp
+++ b/source/game/StarSystemWorld.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SYSTEM_WORLD_HPP
-#define STAR_SYSTEM_WORLD_HPP
+#pragma once
#include "StarCelestialParameters.hpp"
#include "StarCelestialCoordinate.hpp"
@@ -228,5 +227,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarSystemWorldClient.hpp b/source/game/StarSystemWorldClient.hpp
index a222ff5..0a93291 100644
--- a/source/game/StarSystemWorldClient.hpp
+++ b/source/game/StarSystemWorldClient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SYSTEM_WORLD_CLIENT_HPP
-#define STAR_SYSTEM_WORLD_CLIENT_HPP
+#pragma once
#include "StarCelestialParameters.hpp"
#include "StarCelestialCoordinate.hpp"
@@ -55,5 +54,3 @@ private:
}
-
-#endif
diff --git a/source/game/StarSystemWorldServer.hpp b/source/game/StarSystemWorldServer.hpp
index 26a703c..4a5bfdf 100644
--- a/source/game/StarSystemWorldServer.hpp
+++ b/source/game/StarSystemWorldServer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SYSTEM_WORLD_SERVER_HPP
-#define STAR_SYSTEM_WORLD_SERVER_HPP
+#pragma once
#include "StarSystemWorld.hpp"
#include "StarUuid.hpp"
@@ -90,5 +89,3 @@ private:
}
-
-#endif
diff --git a/source/game/StarSystemWorldServerThread.hpp b/source/game/StarSystemWorldServerThread.hpp
index 6e09260..ca5c21a 100644
--- a/source/game/StarSystemWorldServerThread.hpp
+++ b/source/game/StarSystemWorldServerThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SYSTEM_WORLD_SERVER_THREAD_HPP
-#define STAR_SYSTEM_WORLD_SERVER_THREAD_HPP
+#pragma once
#include "StarSystemWorldServer.hpp"
#include "StarThread.hpp"
@@ -71,5 +70,3 @@ private:
}
-
-#endif
diff --git a/source/game/StarTeamClient.hpp b/source/game/StarTeamClient.hpp
index 1a04040..005b7b7 100644
--- a/source/game/StarTeamClient.hpp
+++ b/source/game/StarTeamClient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TEAMCLIENT_HPP
-#define STAR_TEAMCLIENT_HPP
+#pragma once
#include "StarUuid.hpp"
#include "StarDrawable.hpp"
@@ -84,5 +83,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTeamManager.hpp b/source/game/StarTeamManager.hpp
index 2993af3..f4c7998 100644
--- a/source/game/StarTeamManager.hpp
+++ b/source/game/StarTeamManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TEAMMANAGER_HPP
-#define STAR_TEAMMANAGER_HPP
+#pragma once
#include "StarDrawable.hpp"
#include "StarUuid.hpp"
@@ -78,5 +77,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTechController.hpp b/source/game/StarTechController.hpp
index d686b1e..3d642df 100644
--- a/source/game/StarTechController.hpp
+++ b/source/game/StarTechController.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TECH_CONTROLLER_HPP
-#define STAR_TECH_CONTROLLER_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarNetworkedAnimator.hpp"
@@ -169,5 +168,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTechDatabase.hpp b/source/game/StarTechDatabase.hpp
index cb541cc..ef85245 100644
--- a/source/game/StarTechDatabase.hpp
+++ b/source/game/StarTechDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TECH_DATABASE_HPP
-#define STAR_TECH_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarBiMap.hpp"
@@ -48,5 +47,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTenantDatabase.hpp b/source/game/StarTenantDatabase.hpp
index 7919c44..fdcc4db 100644
--- a/source/game/StarTenantDatabase.hpp
+++ b/source/game/StarTenantDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TENANT_DATABASE_HPP
-#define STAR_TENANT_DATABASE_HPP
+#pragma once
#include "StarRoot.hpp"
#include "StarAssets.hpp"
@@ -71,5 +70,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTerrainDatabase.hpp b/source/game/StarTerrainDatabase.hpp
index 91a001e..7ddcb20 100644
--- a/source/game/StarTerrainDatabase.hpp
+++ b/source/game/StarTerrainDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TERRAIN_DATABASE_HPP
-#define STAR_TERRAIN_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarThread.hpp"
@@ -62,5 +61,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTileDamage.hpp b/source/game/StarTileDamage.hpp
index f8643ea..2627d52 100644
--- a/source/game/StarTileDamage.hpp
+++ b/source/game/StarTileDamage.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TILE_DAMAGE_HPP
-#define STAR_TILE_DAMAGE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarVector.hpp"
@@ -152,5 +151,3 @@ inline TileDamageType TileDamageStatus::damageType() const {
}
}
-
-#endif
diff --git a/source/game/StarTileDrawer.hpp b/source/game/StarTileDrawer.hpp
index 907908a..8228535 100644
--- a/source/game/StarTileDrawer.hpp
+++ b/source/game/StarTileDrawer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TILE_DRAWER_HPP
-#define STAR_TILE_DRAWER_HPP
+#pragma once
#include "StarTtlCache.hpp"
#include "StarWorldRenderData.hpp"
@@ -73,5 +72,3 @@ void TileDrawer::forEachRenderTile(WorldRenderData const& renderData, RectI cons
}
}
-
-#endif \ No newline at end of file
diff --git a/source/game/StarTileModification.hpp b/source/game/StarTileModification.hpp
index 311a529..adb0b09 100644
--- a/source/game/StarTileModification.hpp
+++ b/source/game/StarTileModification.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TILE_MODIFICATION_HPP
-#define STAR_TILE_MODIFICATION_HPP
+#pragma once
#include "StarDataStream.hpp"
#include "StarVariant.hpp"
@@ -48,5 +47,3 @@ typedef MVariant<PlaceMaterial, PlaceMod, PlaceMaterialColor, PlaceLiquid> TileM
typedef List<pair<Vec2I, TileModification>> TileModificationList;
}
-
-#endif
diff --git a/source/game/StarTileSectorArray.hpp b/source/game/StarTileSectorArray.hpp
index fb96229..b54b209 100644
--- a/source/game/StarTileSectorArray.hpp
+++ b/source/game/StarTileSectorArray.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TILE_SECTOR_ARRAY_HPP
-#define STAR_TILE_SECTOR_ARRAY_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarSectorArray2D.hpp"
@@ -485,5 +484,3 @@ RectI TileSectorArray<Tile, SectorSize>::yClampRect(RectI const& r) const {
}
}
-
-#endif
diff --git a/source/game/StarTilesetDatabase.hpp b/source/game/StarTilesetDatabase.hpp
index 1eedffd..98aad5b 100644
--- a/source/game/StarTilesetDatabase.hpp
+++ b/source/game/StarTilesetDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TILESET_DATABASE_HPP
-#define STAR_TILESET_DATABASE_HPP
+#pragma once
#include "StarDungeonGenerator.hpp"
#include "StarJson.hpp"
@@ -138,5 +137,3 @@ namespace Tiled {
}
}
-
-#endif
diff --git a/source/game/StarToolUser.hpp b/source/game/StarToolUser.hpp
index eeec920..de1960c 100644
--- a/source/game/StarToolUser.hpp
+++ b/source/game/StarToolUser.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TOOL_USER_HPP
-#define STAR_TOOL_USER_HPP
+#pragma once
#include "StarHumanoid.hpp"
#include "StarNetElementSystem.hpp"
@@ -145,5 +144,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarTreasure.hpp b/source/game/StarTreasure.hpp
index 345c18f..fb273b8 100644
--- a/source/game/StarTreasure.hpp
+++ b/source/game/StarTreasure.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TREASURE_HPP
-#define STAR_TREASURE_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarParametricFunction.hpp"
@@ -89,5 +88,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarUniverseClient.hpp b/source/game/StarUniverseClient.hpp
index b7a8243..16457c7 100644
--- a/source/game/StarUniverseClient.hpp
+++ b/source/game/StarUniverseClient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UNIVERSE_CLIENT_HPP
-#define STAR_UNIVERSE_CLIENT_HPP
+#pragma once
#include "StarMaybe.hpp"
#include "StarHostAddress.hpp"
@@ -168,5 +167,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarUniverseConnection.hpp b/source/game/StarUniverseConnection.hpp
index 12b3aa5..666e2da 100644
--- a/source/game/StarUniverseConnection.hpp
+++ b/source/game/StarUniverseConnection.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UNIVERSE_CONNECTION_HPP
-#define STAR_UNIVERSE_CONNECTION_HPP
+#pragma once
#include "StarNetPacketSocket.hpp"
@@ -112,5 +111,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarUniverseServer.hpp b/source/game/StarUniverseServer.hpp
index 75f7dd0..49a9d80 100644
--- a/source/game/StarUniverseServer.hpp
+++ b/source/game/StarUniverseServer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UNIVERSE_SERVER_HPP
-#define STAR_UNIVERSE_SERVER_HPP
+#pragma once
#include "StarLockFile.hpp"
#include "StarIdMap.hpp"
@@ -254,5 +253,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarUniverseSettings.hpp b/source/game/StarUniverseSettings.hpp
index 5a1d85d..0f3810c 100644
--- a/source/game/StarUniverseSettings.hpp
+++ b/source/game/StarUniverseSettings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UNIVERSE_SETTINGS_HPP
-#define STAR_UNIVERSE_SETTINGS_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarJson.hpp"
@@ -48,5 +47,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarVehicle.hpp b/source/game/StarVehicle.hpp
index 4340f9a..b70d4ae 100644
--- a/source/game/StarVehicle.hpp
+++ b/source/game/StarVehicle.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VEHICLE_HPP
-#define STAR_VEHICLE_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarEntity.hpp"
@@ -171,5 +170,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarVehicleDatabase.hpp b/source/game/StarVehicleDatabase.hpp
index 4bdacbe..ba7bf7c 100644
--- a/source/game/StarVehicleDatabase.hpp
+++ b/source/game/StarVehicleDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VEHICLE_DATABASE_HPP
-#define STAR_VEHICLE_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarVehicle.hpp"
@@ -25,5 +24,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarVersioningDatabase.hpp b/source/game/StarVersioningDatabase.hpp
index 859c313..be4c523 100644
--- a/source/game/StarVersioningDatabase.hpp
+++ b/source/game/StarVersioningDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VERSIONING_DATABASE_HPP
-#define STAR_VERSIONING_DATABASE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarDataStream.hpp"
@@ -83,5 +82,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWarping.hpp b/source/game/StarWarping.hpp
index ea32da1..f5e6c04 100644
--- a/source/game/StarWarping.hpp
+++ b/source/game/StarWarping.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WARPING_HPP
-#define STAR_WARPING_HPP
+#pragma once
#include "StarStrongTypedef.hpp"
#include "StarUuid.hpp"
@@ -96,5 +95,3 @@ template <> struct fmt::formatter<Star::ClientShipWorldId> : ostream_formatter {
template <> struct fmt::formatter<Star::InstanceWorldId> : ostream_formatter {};
template <> struct fmt::formatter<Star::WorldId> : ostream_formatter {};
template <> struct fmt::formatter<Star::WarpToWorld> : ostream_formatter {};
-
-#endif
diff --git a/source/game/StarWeather.hpp b/source/game/StarWeather.hpp
index 4db0fff..7d699ea 100644
--- a/source/game/StarWeather.hpp
+++ b/source/game/StarWeather.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WEATHER_HPP
-#define STAR_WEATHER_HPP
+#pragma once
#include "StarNetElementSystem.hpp"
#include "StarWeatherTypes.hpp"
@@ -125,5 +124,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWeatherTypes.hpp b/source/game/StarWeatherTypes.hpp
index d7408d1..636f84e 100644
--- a/source/game/StarWeatherTypes.hpp
+++ b/source/game/StarWeatherTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WEATHER_LEVELS_HPP
-#define STAR_WEATHER_LEVELS_HPP
+#pragma once
#include "StarWeightedPool.hpp"
#include "StarParticle.hpp"
@@ -44,5 +43,3 @@ typedef WeightedPool<String> WeatherPool;
DataStream& operator>>(DataStream& ds, WeatherType& weatherType);
DataStream& operator<<(DataStream& ds, WeatherType const& weatherType);
}
-
-#endif
diff --git a/source/game/StarWireProcessor.hpp b/source/game/StarWireProcessor.hpp
index 9168966..56927ce 100644
--- a/source/game/StarWireProcessor.hpp
+++ b/source/game/StarWireProcessor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIRE_PROCESSOR_HPP
-#define STAR_WIRE_PROCESSOR_HPP
+#pragma once
#include "StarWiring.hpp"
@@ -40,5 +39,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWiring.hpp b/source/game/StarWiring.hpp
index 674625a..e49f92d 100644
--- a/source/game/StarWiring.hpp
+++ b/source/game/StarWiring.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIRING_HPP
-#define STAR_WIRING_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarWorldGeometry.hpp"
@@ -67,5 +66,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/StarWorldClient.hpp b/source/game/StarWorldClient.hpp
index 3e9d15e..5bfb11c 100644
--- a/source/game/StarWorldClient.hpp
+++ b/source/game/StarWorldClient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_CLIENT_HPP
-#define STAR_WORLD_CLIENT_HPP
+#pragma once
#include "StarWorldClientState.hpp"
#include "StarNetPackets.hpp"
@@ -363,5 +362,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldClientState.hpp b/source/game/StarWorldClientState.hpp
index ac755c9..31ff52f 100644
--- a/source/game/StarWorldClientState.hpp
+++ b/source/game/StarWorldClientState.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_CLIENT_STATE_HPP
-#define STAR_WORLD_CLIENT_STATE_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarNetElementSystem.hpp"
@@ -56,5 +55,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldGeneration.hpp b/source/game/StarWorldGeneration.hpp
index 4dacc67..dc315cb 100644
--- a/source/game/StarWorldGeneration.hpp
+++ b/source/game/StarWorldGeneration.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_GENERATION_HPP
-#define STAR_WORLD_GENERATION_HPP
+#pragma once
#include "StarDungeonGenerator.hpp"
#include "StarFallingBlocksAgent.hpp"
@@ -160,5 +159,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldImpl.hpp b/source/game/StarWorldImpl.hpp
index b72b095..1a4a509 100644
--- a/source/game/StarWorldImpl.hpp
+++ b/source/game/StarWorldImpl.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_IMPL_HPP
-#define STAR_WORLD_IMPL_HPP
+#pragma once
#include "StarIterator.hpp"
#include "StarEntityMap.hpp"
@@ -535,5 +534,3 @@ namespace WorldImpl {
}
}
-
-#endif
diff --git a/source/game/StarWorldLayout.hpp b/source/game/StarWorldLayout.hpp
index 21b147d..ca38ff1 100644
--- a/source/game/StarWorldLayout.hpp
+++ b/source/game/StarWorldLayout.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_REGIONS_HPP
-#define STAR_WORLD_REGIONS_HPP
+#pragma once
#include "StarPerlin.hpp"
#include "StarWeatherTypes.hpp"
@@ -177,5 +176,3 @@ inline TerrainSelectorConstPtr const& WorldLayout::getTerrainSelector(TerrainSel
}
}
-
-#endif
diff --git a/source/game/StarWorldParameters.hpp b/source/game/StarWorldParameters.hpp
index 3103278..0e54929 100644
--- a/source/game/StarWorldParameters.hpp
+++ b/source/game/StarWorldParameters.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_PARAMTERS_HPP
-#define STAR_WORLD_PARAMTERS_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarSkyTypes.hpp"
@@ -188,5 +187,3 @@ AsteroidsWorldParametersPtr generateAsteroidsWorldParameters(uint64_t seed);
FloatingDungeonWorldParametersPtr generateFloatingDungeonWorldParameters(String const& dungeonWorldName);
}
-
-#endif
diff --git a/source/game/StarWorldRenderData.hpp b/source/game/StarWorldRenderData.hpp
index 6d8c3b1..96fec29 100644
--- a/source/game/StarWorldRenderData.hpp
+++ b/source/game/StarWorldRenderData.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_CLIENT_DATA_HPP
-#define STAR_WORLD_CLIENT_DATA_HPP
+#pragma once
#include "StarImage.hpp"
#include "StarWorldTiles.hpp"
@@ -60,5 +59,3 @@ inline void WorldRenderData::clear() {
}
}
-
-#endif
diff --git a/source/game/StarWorldServer.hpp b/source/game/StarWorldServer.hpp
index ff93c81..7142d51 100644
--- a/source/game/StarWorldServer.hpp
+++ b/source/game/StarWorldServer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_SERVER_HPP
-#define STAR_WORLD_SERVER_HPP
+#pragma once
#include "StarWorld.hpp"
#include "StarWorldClientState.hpp"
@@ -405,5 +404,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldServerThread.hpp b/source/game/StarWorldServerThread.hpp
index d61c3dc..265d0aa 100644
--- a/source/game/StarWorldServerThread.hpp
+++ b/source/game/StarWorldServerThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_SERVER_THREAD_HPP
-#define STAR_WORLD_SERVER_THREAD_HPP
+#pragma once
#include "StarWorldServer.hpp"
#include "StarThread.hpp"
@@ -106,5 +105,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldStorage.hpp b/source/game/StarWorldStorage.hpp
index a0b248c..588204f 100644
--- a/source/game/StarWorldStorage.hpp
+++ b/source/game/StarWorldStorage.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_STORAGE_HPP
-#define STAR_WORLD_STORAGE_HPP
+#pragma once
#include "StarBTreeDatabase.hpp"
#include "StarVersioningDatabase.hpp"
@@ -304,5 +303,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldStructure.hpp b/source/game/StarWorldStructure.hpp
index 343ab20..476400e 100644
--- a/source/game/StarWorldStructure.hpp
+++ b/source/game/StarWorldStructure.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_STRUCTURE_HPP
-#define STAR_WORLD_STRUCTURE_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarRect.hpp"
@@ -92,5 +91,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldTemplate.hpp b/source/game/StarWorldTemplate.hpp
index 7769ded..c0d3177 100644
--- a/source/game/StarWorldTemplate.hpp
+++ b/source/game/StarWorldTemplate.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_TEMPLATE_HPP
-#define STAR_WORLD_TEMPLATE_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarLruCache.hpp"
@@ -203,5 +202,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/StarWorldTiles.hpp b/source/game/StarWorldTiles.hpp
index b33edcf..19c83d4 100644
--- a/source/game/StarWorldTiles.hpp
+++ b/source/game/StarWorldTiles.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_TILES_HPP
-#define STAR_WORLD_TILES_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarXXHash.hpp"
@@ -357,5 +356,3 @@ inline void RenderTile::hashPushLiquid(Hasher& hasher) const {
}
}
-
-#endif
diff --git a/source/game/interfaces/StarAggressiveEntity.hpp b/source/game/interfaces/StarAggressiveEntity.hpp
index 8f202dc..c9e7131 100644
--- a/source/game/interfaces/StarAggressiveEntity.hpp
+++ b/source/game/interfaces/StarAggressiveEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AGGRESSIVE_ENTITY_HPP
-#define STAR_AGGRESSIVE_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
@@ -13,5 +12,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarAnchorableEntity.hpp b/source/game/interfaces/StarAnchorableEntity.hpp
index 4f0e5b8..3b0e4e9 100644
--- a/source/game/interfaces/StarAnchorableEntity.hpp
+++ b/source/game/interfaces/StarAnchorableEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ANCHORABLE_ENTITY_HPP
-#define STAR_ANCHORABLE_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
@@ -35,5 +34,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarBeamItem.hpp b/source/game/interfaces/StarBeamItem.hpp
index 7c7cfae..8267a40 100644
--- a/source/game/interfaces/StarBeamItem.hpp
+++ b/source/game/interfaces/StarBeamItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BEAM_ITEM_HPP
-#define STAR_BEAM_ITEM_HPP
+#pragma once
#include "StarSpline.hpp"
#include "StarGameTypes.hpp"
@@ -74,5 +73,3 @@ protected:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarChattyEntity.hpp b/source/game/interfaces/StarChattyEntity.hpp
index cd6ac8a..6278a62 100644
--- a/source/game/interfaces/StarChattyEntity.hpp
+++ b/source/game/interfaces/StarChattyEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHATTY_ENTITY_HPP
-#define STAR_CHATTY_ENTITY_HPP
+#pragma once
#include "StarChatAction.hpp"
#include "StarEntity.hpp"
@@ -16,5 +15,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarContainerEntity.hpp b/source/game/interfaces/StarContainerEntity.hpp
index 6a123ee..d68e722 100644
--- a/source/game/interfaces/StarContainerEntity.hpp
+++ b/source/game/interfaces/StarContainerEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONTAINER_ENTITY_HPP
-#define STAR_CONTAINER_ENTITY_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarTileEntity.hpp"
@@ -46,5 +45,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarDamageBarEntity.hpp b/source/game/interfaces/StarDamageBarEntity.hpp
index 758ccab..bbcce57 100644
--- a/source/game/interfaces/StarDamageBarEntity.hpp
+++ b/source/game/interfaces/StarDamageBarEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DAMAGE_BAR_ENTITY_HPP
-#define STAR_DAMAGE_BAR_ENTITY_HPP
+#pragma once
#include "StarPortraitEntity.hpp"
@@ -23,5 +22,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarDurabilityItem.hpp b/source/game/interfaces/StarDurabilityItem.hpp
index 9743a67..fdc95e6 100644
--- a/source/game/interfaces/StarDurabilityItem.hpp
+++ b/source/game/interfaces/StarDurabilityItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DURABILITY_ITEM_HPP
-#define STAR_DURABILITY_ITEM_HPP
+#pragma once
#include "StarConfig.hpp"
@@ -14,5 +13,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarEffectSourceItem.hpp b/source/game/interfaces/StarEffectSourceItem.hpp
index 9890885..77fdc69 100644
--- a/source/game/interfaces/StarEffectSourceItem.hpp
+++ b/source/game/interfaces/StarEffectSourceItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EFFECT_SOURCE_ITEM_HPP
-#define STAR_EFFECT_SOURCE_ITEM_HPP
+#pragma once
#include "StarString.hpp"
@@ -14,5 +13,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarEmoteEntity.hpp b/source/game/interfaces/StarEmoteEntity.hpp
index b66da52..e1b85bb 100644
--- a/source/game/interfaces/StarEmoteEntity.hpp
+++ b/source/game/interfaces/StarEmoteEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EMOTE_ENTITY_HPP
-#define STAR_EMOTE_ENTITY_HPP
+#pragma once
#include "StarHumanoid.hpp"
#include "StarEntity.hpp"
@@ -14,5 +13,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarEntity.hpp b/source/game/interfaces/StarEntity.hpp
index e55fed8..7da2a41 100644
--- a/source/game/interfaces/StarEntity.hpp
+++ b/source/game/interfaces/StarEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENTITY_HPP
-#define STAR_ENTITY_HPP
+#pragma once
#include "StarCasting.hpp"
#include "StarDamage.hpp"
@@ -227,5 +226,3 @@ EntityFilter entityTypeFilter(function<bool(shared_ptr<EntityT> const&)> filter
};
}
}
-
-#endif
diff --git a/source/game/interfaces/StarFireableItem.hpp b/source/game/interfaces/StarFireableItem.hpp
index 4616bad..4659ba9 100644
--- a/source/game/interfaces/StarFireableItem.hpp
+++ b/source/game/interfaces/StarFireableItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FIREABLE_ITEM_HPP
-#define STAR_FIREABLE_ITEM_HPP
+#pragma once
#include "StarToolUserItem.hpp"
#include "StarStatusEffectItem.hpp"
@@ -87,5 +86,3 @@ protected:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarInspectableEntity.hpp b/source/game/interfaces/StarInspectableEntity.hpp
index c1c4abc..e2b0475 100644
--- a/source/game/interfaces/StarInspectableEntity.hpp
+++ b/source/game/interfaces/StarInspectableEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INSPECTABLE_ENTITY_HPP
-#define STAR_INSPECTABLE_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
@@ -33,5 +32,3 @@ inline Maybe<String> InspectableEntity::inspectionDescription(String const&) con
}
}
-
-#endif
diff --git a/source/game/interfaces/StarInteractiveEntity.hpp b/source/game/interfaces/StarInteractiveEntity.hpp
index 9e655e1..5887509 100644
--- a/source/game/interfaces/StarInteractiveEntity.hpp
+++ b/source/game/interfaces/StarInteractiveEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INTERACTIVE_ENTITY_HPP
-#define STAR_INTERACTIVE_ENTITY_HPP
+#pragma once
#include "StarInteractionTypes.hpp"
#include "StarEntity.hpp"
@@ -30,5 +29,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarLoungingEntities.hpp b/source/game/interfaces/StarLoungingEntities.hpp
index 89510a3..2ccc3bd 100644
--- a/source/game/interfaces/StarLoungingEntities.hpp
+++ b/source/game/interfaces/StarLoungingEntities.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LOUNGING_ENTITIES_HPP
-#define STAR_LOUNGING_ENTITIES_HPP
+#pragma once
#include "StarDrawable.hpp"
#include "StarAnchorableEntity.hpp"
@@ -68,5 +67,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarNametagEntity.hpp b/source/game/interfaces/StarNametagEntity.hpp
index 02aa643..0e42618 100644
--- a/source/game/interfaces/StarNametagEntity.hpp
+++ b/source/game/interfaces/StarNametagEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NAMETAG_ENTITY_HPP
-#define STAR_NAMETAG_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
@@ -17,5 +16,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarNonRotatedDrawablesItem.hpp b/source/game/interfaces/StarNonRotatedDrawablesItem.hpp
index d11eb7a..4773e32 100644
--- a/source/game/interfaces/StarNonRotatedDrawablesItem.hpp
+++ b/source/game/interfaces/StarNonRotatedDrawablesItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NON_ROTATED_DRAWABLES_ITEM_HPP
-#define STAR_NON_ROTATED_DRAWABLES_ITEM_HPP
+#pragma once
#include "StarDrawable.hpp"
@@ -14,5 +13,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarPhysicsEntity.hpp b/source/game/interfaces/StarPhysicsEntity.hpp
index b9a7611..058368b 100644
--- a/source/game/interfaces/StarPhysicsEntity.hpp
+++ b/source/game/interfaces/StarPhysicsEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PHYSICS_ENTITY_HPP
-#define STAR_PHYSICS_ENTITY_HPP
+#pragma once
#include "StarPoly.hpp"
#include "StarVariant.hpp"
@@ -57,5 +56,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarPointableItem.hpp b/source/game/interfaces/StarPointableItem.hpp
index a5bd6ea..0c4db8d 100644
--- a/source/game/interfaces/StarPointableItem.hpp
+++ b/source/game/interfaces/StarPointableItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_POINTABLE_ITEM_HPP
-#define STAR_POINTABLE_ITEM_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarDrawable.hpp"
@@ -18,5 +17,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarPortraitEntity.hpp b/source/game/interfaces/StarPortraitEntity.hpp
index 4dda3e6..b2ad3d3 100644
--- a/source/game/interfaces/StarPortraitEntity.hpp
+++ b/source/game/interfaces/StarPortraitEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PORTRAIT_ENTITY_HPP
-#define STAR_PORTRAIT_ENTITY_HPP
+#pragma once
#include "StarDrawable.hpp"
#include "StarEntity.hpp"
@@ -15,5 +14,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarPreviewTileTool.hpp b/source/game/interfaces/StarPreviewTileTool.hpp
index 12a4b2b..caa9d32 100644
--- a/source/game/interfaces/StarPreviewTileTool.hpp
+++ b/source/game/interfaces/StarPreviewTileTool.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PREVIEW_TILE_TOOL_HPP
-#define STAR_PREVIEW_TILE_TOOL_HPP
+#pragma once
#include "StarList.hpp"
@@ -16,5 +15,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarPreviewableItem.hpp b/source/game/interfaces/StarPreviewableItem.hpp
index 4cfebd5..31d2e45 100644
--- a/source/game/interfaces/StarPreviewableItem.hpp
+++ b/source/game/interfaces/StarPreviewableItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PREVIEWABLE_ITEM
-#define STAR_PREVIEWABLE_ITEM
+#pragma once
#include "StarDrawable.hpp"
@@ -15,5 +14,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarRenderableItem.hpp b/source/game/interfaces/StarRenderableItem.hpp
index 9b02763..834b6eb 100644
--- a/source/game/interfaces/StarRenderableItem.hpp
+++ b/source/game/interfaces/StarRenderableItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RENDERABLE_ITEM_HPP
-#define STAR_RENDERABLE_ITEM_HPP
+#pragma once
#include "StarEntityRendering.hpp"
@@ -15,5 +14,3 @@ namespace Star {
};
}
-
-#endif
diff --git a/source/game/interfaces/StarScriptedEntity.hpp b/source/game/interfaces/StarScriptedEntity.hpp
index 40aa552..b637d55 100644
--- a/source/game/interfaces/StarScriptedEntity.hpp
+++ b/source/game/interfaces/StarScriptedEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SCRIPTED_ENTITY_HPP
-#define STAR_SCRIPTED_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
#include "StarLua.hpp"
@@ -21,5 +20,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarStatusEffectEntity.hpp b/source/game/interfaces/StarStatusEffectEntity.hpp
index d971671..060f3b5 100644
--- a/source/game/interfaces/StarStatusEffectEntity.hpp
+++ b/source/game/interfaces/StarStatusEffectEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATUS_EFFECT_ENTITY_HPP
-#define STAR_STATUS_EFFECT_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
@@ -14,5 +13,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarStatusEffectItem.hpp b/source/game/interfaces/StarStatusEffectItem.hpp
index 8590e7b..4370094 100644
--- a/source/game/interfaces/StarStatusEffectItem.hpp
+++ b/source/game/interfaces/StarStatusEffectItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATUS_EFFECT_ITEM_HPP
-#define STAR_STATUS_EFFECT_ITEM_HPP
+#pragma once
#include "StarStatusTypes.hpp"
@@ -14,5 +13,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarSwingableItem.hpp b/source/game/interfaces/StarSwingableItem.hpp
index 2ea9cac..c12d162 100644
--- a/source/game/interfaces/StarSwingableItem.hpp
+++ b/source/game/interfaces/StarSwingableItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SWINGABLE_ITEM_HPP
-#define STAR_SWINGABLE_ITEM_HPP
+#pragma once
#include "StarFireableItem.hpp"
@@ -32,5 +31,3 @@ protected:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarTileEntity.hpp b/source/game/interfaces/StarTileEntity.hpp
index 7fd366f..60e953d 100644
--- a/source/game/interfaces/StarTileEntity.hpp
+++ b/source/game/interfaces/StarTileEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TILE_ENTITY_HPP
-#define STAR_TILE_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
#include "StarTileDamage.hpp"
@@ -96,5 +95,3 @@ inline bool MaterialSpace::operator==(MaterialSpace const& rhs) const {
}
}
-
-#endif
diff --git a/source/game/interfaces/StarToolUserEntity.hpp b/source/game/interfaces/StarToolUserEntity.hpp
index a83d5ff..dcda91d 100644
--- a/source/game/interfaces/StarToolUserEntity.hpp
+++ b/source/game/interfaces/StarToolUserEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TOOL_USER_ENTITY_HPP
-#define STAR_TOOL_USER_ENTITY_HPP
+#pragma once
#include "StarEntity.hpp"
#include "StarParticle.hpp"
@@ -100,5 +99,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarToolUserItem.hpp b/source/game/interfaces/StarToolUserItem.hpp
index a4318a9..34ecfba 100644
--- a/source/game/interfaces/StarToolUserItem.hpp
+++ b/source/game/interfaces/StarToolUserItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TOOL_USER_ITEM_HPP
-#define STAR_TOOL_USER_ITEM_HPP
+#pragma once
#include "StarToolUserEntity.hpp"
#include "StarPhysicsEntity.hpp"
@@ -45,5 +44,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarWarpTargetEntity.hpp b/source/game/interfaces/StarWarpTargetEntity.hpp
index cdc68f5..4f5b71b 100644
--- a/source/game/interfaces/StarWarpTargetEntity.hpp
+++ b/source/game/interfaces/StarWarpTargetEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WARP_TARGET_ENTITY_HPP
-#define STAR_WARP_TARGET_ENTITY_HPP
+#pragma once
#include "StarWarping.hpp"
#include "StarTileEntity.hpp"
@@ -16,5 +15,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarWireEntity.hpp b/source/game/interfaces/StarWireEntity.hpp
index a848865..57b6e92 100644
--- a/source/game/interfaces/StarWireEntity.hpp
+++ b/source/game/interfaces/StarWireEntity.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIRE_ENTITY_HPP
-#define STAR_WIRE_ENTITY_HPP
+#pragma once
#include "StarWiring.hpp"
#include "StarTileEntity.hpp"
@@ -24,5 +23,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/interfaces/StarWorld.hpp b/source/game/interfaces/StarWorld.hpp
index e1986fa..95fe7ae 100644
--- a/source/game/interfaces/StarWorld.hpp
+++ b/source/game/interfaces/StarWorld.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_HPP
-#define STAR_WORLD_HPP
+#pragma once
#include "StarTileEntity.hpp"
#include "StarInteractionTypes.hpp"
@@ -258,5 +257,3 @@ List<shared_ptr<EntityT>> World::atTile(Vec2I const& pos) const {
return list;
}
}
-
-#endif
diff --git a/source/game/items/StarActiveItem.hpp b/source/game/items/StarActiveItem.hpp
index 130b378..757739b 100644
--- a/source/game/items/StarActiveItem.hpp
+++ b/source/game/items/StarActiveItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ACTIVE_ITEM_HPP
-#define STAR_ACTIVE_ITEM_HPP
+#pragma once
#include "StarNetElementBasicFields.hpp"
#include "StarNetElementFloatFields.hpp"
@@ -97,5 +96,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarArmors.hpp b/source/game/items/StarArmors.hpp
index 0cee553..19847c7 100644
--- a/source/game/items/StarArmors.hpp
+++ b/source/game/items/StarArmors.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ARMORS_HPP
-#define STAR_ARMORS_HPP
+#pragma once
#include "StarGameTypes.hpp"
#include "StarItem.hpp"
@@ -130,5 +129,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarAugmentItem.hpp b/source/game/items/StarAugmentItem.hpp
index f50f092..4f8e990 100644
--- a/source/game/items/StarAugmentItem.hpp
+++ b/source/game/items/StarAugmentItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AUGMENT_ITEM_HPP
-#define STAR_AUGMENT_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
@@ -23,5 +22,3 @@ public:
};
}
-
-#endif
diff --git a/source/game/items/StarBlueprintItem.hpp b/source/game/items/StarBlueprintItem.hpp
index 995e6da..c973758 100644
--- a/source/game/items/StarBlueprintItem.hpp
+++ b/source/game/items/StarBlueprintItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BLUEPRINT_ITEM_HPP
-#define STAR_BLUEPRINT_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarWorld.hpp"
@@ -28,5 +27,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarCodexItem.hpp b/source/game/items/StarCodexItem.hpp
index b1c825d..c1ef5df 100644
--- a/source/game/items/StarCodexItem.hpp
+++ b/source/game/items/StarCodexItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CODEX_ITEM_HPP
-#define STAR_CODEX_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarPlayerCodexes.hpp"
@@ -26,5 +25,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarConsumableItem.hpp b/source/game/items/StarConsumableItem.hpp
index b0d0721..0b4974c 100644
--- a/source/game/items/StarConsumableItem.hpp
+++ b/source/game/items/StarConsumableItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONSUMABLE_ITEM_HPP
-#define STAR_CONSUMABLE_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarGameTypes.hpp"
@@ -34,5 +33,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarCurrency.hpp b/source/game/items/StarCurrency.hpp
index 860cdaf..3c3a46b 100644
--- a/source/game/items/StarCurrency.hpp
+++ b/source/game/items/StarCurrency.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CURRENCY_HPP
-#define STAR_CURRENCY_HPP
+#pragma once
#include "StarItem.hpp"
@@ -29,5 +28,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarInspectionTool.hpp b/source/game/items/StarInspectionTool.hpp
index 7fa7fb2..6ce121d 100644
--- a/source/game/items/StarInspectionTool.hpp
+++ b/source/game/items/StarInspectionTool.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INSPECTION_TOOL_HPP
-#define STAR_INSPECTION_TOOL_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarPointableItem.hpp"
@@ -70,5 +69,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarInstrumentItem.hpp b/source/game/items/StarInstrumentItem.hpp
index c57a0ad..e21c762 100644
--- a/source/game/items/StarInstrumentItem.hpp
+++ b/source/game/items/StarInstrumentItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INSTRUMENT_ITEM_HPP
-#define STAR_INSTRUMENT_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarInstrumentItem.hpp"
@@ -53,5 +52,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarLiquidItem.hpp b/source/game/items/StarLiquidItem.hpp
index b4c4cfc..1a0682a 100644
--- a/source/game/items/StarLiquidItem.hpp
+++ b/source/game/items/StarLiquidItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LIQUID_ITEM_HPP
-#define STAR_LIQUID_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarFireableItem.hpp"
@@ -44,5 +43,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarMaterialItem.hpp b/source/game/items/StarMaterialItem.hpp
index e0a5c3c..3bbb14c 100644
--- a/source/game/items/StarMaterialItem.hpp
+++ b/source/game/items/StarMaterialItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MATERIAL_ITEM_HPP
-#define STAR_MATERIAL_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarFireableItem.hpp"
@@ -71,5 +70,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarObjectItem.hpp b/source/game/items/StarObjectItem.hpp
index f45d3d6..c2ff253 100644
--- a/source/game/items/StarObjectItem.hpp
+++ b/source/game/items/StarObjectItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OBJECT_ITEM_HPP
-#define STAR_OBJECT_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarFireableItem.hpp"
@@ -35,5 +34,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarThrownItem.hpp b/source/game/items/StarThrownItem.hpp
index 81f3932..2fea0bd 100644
--- a/source/game/items/StarThrownItem.hpp
+++ b/source/game/items/StarThrownItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_THROWN_ITEM_HPP
-#define STAR_THROWN_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarDrawable.hpp"
@@ -28,5 +27,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarTools.hpp b/source/game/items/StarTools.hpp
index 75cdcaf..5ab41f9 100644
--- a/source/game/items/StarTools.hpp
+++ b/source/game/items/StarTools.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TOOLS_HPP
-#define STAR_TOOLS_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarBeamItem.hpp"
@@ -240,5 +239,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/items/StarUnlockItem.hpp b/source/game/items/StarUnlockItem.hpp
index 281f819..6478bcc 100644
--- a/source/game/items/StarUnlockItem.hpp
+++ b/source/game/items/StarUnlockItem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELESTIAL_ITEM_HPP
-#define STAR_CELESTIAL_ITEM_HPP
+#pragma once
#include "StarItem.hpp"
#include "StarWorld.hpp"
@@ -31,5 +30,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/objects/StarContainerObject.hpp b/source/game/objects/StarContainerObject.hpp
index 482e502..384480c 100644
--- a/source/game/objects/StarContainerObject.hpp
+++ b/source/game/objects/StarContainerObject.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONTAINER_OBJECT_HPP
-#define STAR_CONTAINER_OBJECT_HPP
+#pragma once
#include "StarItemBag.hpp"
#include "StarObject.hpp"
@@ -108,5 +107,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/objects/StarFarmableObject.hpp b/source/game/objects/StarFarmableObject.hpp
index b3768bf..96648d4 100644
--- a/source/game/objects/StarFarmableObject.hpp
+++ b/source/game/objects/StarFarmableObject.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FARMABLE_OBJECT_HPP
-#define STAR_FARMABLE_OBJECT_HPP
+#pragma once
#include "StarObject.hpp"
@@ -40,5 +39,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/objects/StarLoungeableObject.hpp b/source/game/objects/StarLoungeableObject.hpp
index 1fda8ca..7d6cd7e 100644
--- a/source/game/objects/StarLoungeableObject.hpp
+++ b/source/game/objects/StarLoungeableObject.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INTERACTABLE_OBJECT_HPP
-#define STAR_INTERACTABLE_OBJECT_HPP
+#pragma once
#include "StarObject.hpp"
#include "StarLoungingEntities.hpp"
@@ -36,5 +35,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/objects/StarPhysicsObject.hpp b/source/game/objects/StarPhysicsObject.hpp
index 98fd4b3..8d8e8cd 100644
--- a/source/game/objects/StarPhysicsObject.hpp
+++ b/source/game/objects/StarPhysicsObject.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PHYSICS_OBJECT_HPP
-#define STAR_PHYSICS_OBJECT_HPP
+#pragma once
#include "StarObject.hpp"
#include "StarPhysicsEntity.hpp"
@@ -45,5 +44,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/objects/StarTeleporterObject.hpp b/source/game/objects/StarTeleporterObject.hpp
index 67a9fa7..9547e64 100644
--- a/source/game/objects/StarTeleporterObject.hpp
+++ b/source/game/objects/StarTeleporterObject.hpp
@@ -1,3 +1,5 @@
+#pragma once
+
#include "StarWarpTargetEntity.hpp"
#include "StarObject.hpp"
diff --git a/source/game/scripting/StarBehaviorLuaBindings.hpp b/source/game/scripting/StarBehaviorLuaBindings.hpp
index 5e8ae2b..d2a882b 100644
--- a/source/game/scripting/StarBehaviorLuaBindings.hpp
+++ b/source/game/scripting/StarBehaviorLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BEHAVIOR_LUA_BINDINGS_HPP
-#define STAR_BEHAVIOR_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarBehaviorState.hpp"
@@ -13,5 +12,3 @@ namespace LuaBindings {
LuaCallbacks makeBehaviorLuaCallbacks(List<BehaviorStatePtr>* list);
}
}
-
-#endif
diff --git a/source/game/scripting/StarCelestialLuaBindings.hpp b/source/game/scripting/StarCelestialLuaBindings.hpp
index a830365..37a1c42 100644
--- a/source/game/scripting/StarCelestialLuaBindings.hpp
+++ b/source/game/scripting/StarCelestialLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ROOT_LUA_BINDINGS_HPP
-#define STAR_ROOT_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -12,5 +11,3 @@ namespace LuaBindings {
LuaCallbacks makeCelestialCallbacks(UniverseClient* client);
}
}
-
-#endif
diff --git a/source/game/scripting/StarConfigLuaBindings.hpp b/source/game/scripting/StarConfigLuaBindings.hpp
index 6bd1749..d5686ca 100644
--- a/source/game/scripting/StarConfigLuaBindings.hpp
+++ b/source/game/scripting/StarConfigLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONFIG_LUA_BINDINGS_HPP
-#define STAR_CONFIG_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -9,5 +8,3 @@ namespace LuaBindings {
LuaCallbacks makeConfigCallbacks(function<Json(String const&, Json const&)> getParameter);
}
}
-
-#endif
diff --git a/source/game/scripting/StarEntityLuaBindings.hpp b/source/game/scripting/StarEntityLuaBindings.hpp
index 55316c9..8c1e898 100644
--- a/source/game/scripting/StarEntityLuaBindings.hpp
+++ b/source/game/scripting/StarEntityLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENTITY_LUA_BINDINGS_HPP
-#define STAR_ENTITY_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarEntity.hpp"
@@ -18,5 +17,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarFireableItemLuaBindings.hpp b/source/game/scripting/StarFireableItemLuaBindings.hpp
index 67a4071..8001aef 100644
--- a/source/game/scripting/StarFireableItemLuaBindings.hpp
+++ b/source/game/scripting/StarFireableItemLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FIREABLE_ITEM_LUA_BINDINGS_HPP
-#define STAR_FIREABLE_ITEM_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -29,5 +28,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarInputLuaBindings.hpp b/source/game/scripting/StarInputLuaBindings.hpp
index 77cb2f1..e10745d 100644
--- a/source/game/scripting/StarInputLuaBindings.hpp
+++ b/source/game/scripting/StarInputLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INPUT_LUA_BINDINGS_HPP
-#define STAR_INPUT_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -12,5 +11,3 @@ namespace LuaBindings {
}
}
-
-#endif
diff --git a/source/game/scripting/StarItemLuaBindings.hpp b/source/game/scripting/StarItemLuaBindings.hpp
index 26def8b..804508f 100644
--- a/source/game/scripting/StarItemLuaBindings.hpp
+++ b/source/game/scripting/StarItemLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_LUA_BINDINGS_HPP
-#define STAR_ITEM_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarVector.hpp"
@@ -41,5 +40,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarLuaActorMovementComponent.hpp b/source/game/scripting/StarLuaActorMovementComponent.hpp
index 5744da8..048a476 100644
--- a/source/game/scripting/StarLuaActorMovementComponent.hpp
+++ b/source/game/scripting/StarLuaActorMovementComponent.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ACTOR_MOVEMENT_COMPONENT_HPP
-#define STAR_ACTOR_MOVEMENT_COMPONENT_HPP
+#pragma once
#include "StarActorMovementController.hpp"
#include "StarLuaGameConverters.hpp"
@@ -436,5 +435,3 @@ void LuaActorMovementComponent<Base>::clearControls() {
m_controlPathMove = {};
}
}
-
-#endif
diff --git a/source/game/scripting/StarLuaAnimationComponent.hpp b/source/game/scripting/StarLuaAnimationComponent.hpp
index 21742fb..540f517 100644
--- a/source/game/scripting/StarLuaAnimationComponent.hpp
+++ b/source/game/scripting/StarLuaAnimationComponent.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_ANIMATION_COMPONENT_HPP
-#define STAR_LUA_ANIMATION_COMPONENT_HPP
+#pragma once
#include "StarLuaComponents.hpp"
#include "StarJsonExtra.hpp"
@@ -119,5 +118,3 @@ void LuaAnimationComponent<Base>::contextShutdown() {
}
}
-
-#endif
diff --git a/source/game/scripting/StarLuaComponents.hpp b/source/game/scripting/StarLuaComponents.hpp
index 98e3638..e3d1d20 100644
--- a/source/game/scripting/StarLuaComponents.hpp
+++ b/source/game/scripting/StarLuaComponents.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_COMPONENT_HPP
-#define STAR_LUA_COMPONENT_HPP
+#pragma once
#include "StarPeriodic.hpp"
#include "StarLogging.hpp"
@@ -370,5 +369,3 @@ void LuaMessageHandlingComponent<Base>::contextShutdown() {
Base::contextShutdown();
}
}
-
-#endif
diff --git a/source/game/scripting/StarLuaGameConverters.hpp b/source/game/scripting/StarLuaGameConverters.hpp
index c8c7923..e1d5d22 100644
--- a/source/game/scripting/StarLuaGameConverters.hpp
+++ b/source/game/scripting/StarLuaGameConverters.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_GAME_CONVERTERS_HPP
-#define STAR_LUA_GAME_CONVERTERS_HPP
+#pragma once
#include "StarLuaConverters.hpp"
#include "StarInventoryTypes.hpp"
@@ -180,5 +179,3 @@ struct LuaUserDataMethods<BlackboardWeakPtr> {
};
}
-
-#endif
diff --git a/source/game/scripting/StarLuaRoot.hpp b/source/game/scripting/StarLuaRoot.hpp
index a26cf04..49e91b0 100644
--- a/source/game/scripting/StarLuaRoot.hpp
+++ b/source/game/scripting/StarLuaRoot.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_ROOT_HPP
-#define STAR_LUA_ROOT_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarLua.hpp"
@@ -70,5 +69,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/scripting/StarMovementControllerLuaBindings.hpp b/source/game/scripting/StarMovementControllerLuaBindings.hpp
index 6324b4c..87d1ff7 100644
--- a/source/game/scripting/StarMovementControllerLuaBindings.hpp
+++ b/source/game/scripting/StarMovementControllerLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MOVEMENT_CONTROLLER_LUA_BINDINGS_HPP
-#define STAR_MOVEMENT_CONTROLLER_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -11,5 +10,3 @@ namespace LuaBindings {
LuaCallbacks makeMovementControllerCallbacks(MovementController* movementController);
}
}
-
-#endif
diff --git a/source/game/scripting/StarNetworkedAnimatorLuaBindings.hpp b/source/game/scripting/StarNetworkedAnimatorLuaBindings.hpp
index a8b86f7..ba7f431 100644
--- a/source/game/scripting/StarNetworkedAnimatorLuaBindings.hpp
+++ b/source/game/scripting/StarNetworkedAnimatorLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NETWORKED_ANIMATOR_LUA_BINDINGS_HPP
-#define STAR_NETWORKED_ANIMATOR_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarPoly.hpp"
@@ -14,5 +13,3 @@ namespace LuaBindings {
}
}
-
-#endif
diff --git a/source/game/scripting/StarPlayerLuaBindings.hpp b/source/game/scripting/StarPlayerLuaBindings.hpp
index 62faeef..3e2252a 100644
--- a/source/game/scripting/StarPlayerLuaBindings.hpp
+++ b/source/game/scripting/StarPlayerLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLAYER_LUA_BINDINGS_HPP
-#define STAR_PLAYER_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -11,5 +10,3 @@ namespace LuaBindings {
LuaCallbacks makePlayerCallbacks(Player* player);
}
}
-
-#endif
diff --git a/source/game/scripting/StarRootLuaBindings.hpp b/source/game/scripting/StarRootLuaBindings.hpp
index 570d2d7..5f52dd1 100644
--- a/source/game/scripting/StarRootLuaBindings.hpp
+++ b/source/game/scripting/StarRootLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ROOT_LUA_BINDINGS_HPP
-#define STAR_ROOT_LUA_BINDINGS_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarGameTypes.hpp"
@@ -58,5 +57,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarScriptedAnimatorLuaBindings.hpp b/source/game/scripting/StarScriptedAnimatorLuaBindings.hpp
index 1237fc5..27f8ed5 100644
--- a/source/game/scripting/StarScriptedAnimatorLuaBindings.hpp
+++ b/source/game/scripting/StarScriptedAnimatorLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SCRIPTED_ANIMATOR_LUA_BINDINGS_HPP
-#define STAR_SCRIPTED_ANIMATOR_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarNetworkedAnimator.hpp"
@@ -10,5 +9,3 @@ namespace LuaBindings {
LuaCallbacks makeScriptedAnimatorCallbacks(const NetworkedAnimator* animator, function<Json(String const&, Json const&)> getParameter);
}
}
-
-#endif
diff --git a/source/game/scripting/StarStatusControllerLuaBindings.hpp b/source/game/scripting/StarStatusControllerLuaBindings.hpp
index 814e5c8..df60ebc 100644
--- a/source/game/scripting/StarStatusControllerLuaBindings.hpp
+++ b/source/game/scripting/StarStatusControllerLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STAT_CONTROLLER_LUA_BINDINGS_HPP
-#define STAR_STAT_CONTROLLER_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarEntity.hpp"
@@ -55,5 +54,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarUniverseServerLuaBindings.hpp b/source/game/scripting/StarUniverseServerLuaBindings.hpp
index 0b6b21b..f4fbdd4 100644
--- a/source/game/scripting/StarUniverseServerLuaBindings.hpp
+++ b/source/game/scripting/StarUniverseServerLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UNIVERSE_SERVER_LUA_BINDINGS_HPP
-#define STAR_UNIVERSE_SERVER_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarGameTypes.hpp"
@@ -29,5 +28,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarUtilityLuaBindings.hpp b/source/game/scripting/StarUtilityLuaBindings.hpp
index aa2a257..8435ecd 100644
--- a/source/game/scripting/StarUtilityLuaBindings.hpp
+++ b/source/game/scripting/StarUtilityLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UTILITY_LUA_BINDINGS_HPP
-#define STAR_UTILITY_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -24,5 +23,3 @@ namespace LuaBindings {
}
}
}
-
-#endif
diff --git a/source/game/scripting/StarWorldLuaBindings.hpp b/source/game/scripting/StarWorldLuaBindings.hpp
index e308ded..965f025 100644
--- a/source/game/scripting/StarWorldLuaBindings.hpp
+++ b/source/game/scripting/StarWorldLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_BINDINGS_HPP
-#define STAR_LUA_BINDINGS_HPP
+#pragma once
#include "StarBiMap.hpp"
#include "StarRect.hpp"
@@ -180,5 +179,3 @@ namespace LuaBindings {
}
}
-
-#endif
diff --git a/source/game/terrain/StarCacheSelector.hpp b/source/game/terrain/StarCacheSelector.hpp
index 0d4faf1..d3750e8 100644
--- a/source/game/terrain/StarCacheSelector.hpp
+++ b/source/game/terrain/StarCacheSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CACHE_SELECTOR_HPP
-#define STAR_CACHE_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarLruCache.hpp"
@@ -19,5 +18,3 @@ struct CacheSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarConstantSelector.hpp b/source/game/terrain/StarConstantSelector.hpp
index 40c19c4..fecb3ec 100644
--- a/source/game/terrain/StarConstantSelector.hpp
+++ b/source/game/terrain/StarConstantSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SOLID_SELECTOR_HPP
-#define STAR_SOLID_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
@@ -16,5 +15,3 @@ struct ConstantSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarDisplacementSelector.hpp b/source/game/terrain/StarDisplacementSelector.hpp
index 3b3868c..77e678c 100644
--- a/source/game/terrain/StarDisplacementSelector.hpp
+++ b/source/game/terrain/StarDisplacementSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DISPLACEMENT_SELECTOR_HPP
-#define STAR_DISPLACEMENT_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarPerlin.hpp"
@@ -33,5 +32,3 @@ struct DisplacementSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarFlatSurfaceSelector.hpp b/source/game/terrain/StarFlatSurfaceSelector.hpp
index 6f7a890..f0cb01b 100644
--- a/source/game/terrain/StarFlatSurfaceSelector.hpp
+++ b/source/game/terrain/StarFlatSurfaceSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FLAT_SURFACE_SELECTOR_HPP
-#define STAR_FLAT_SURFACE_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
@@ -18,5 +17,3 @@ struct FlatSurfaceSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarIslandSurfaceSelector.hpp b/source/game/terrain/StarIslandSurfaceSelector.hpp
index 009317b..697dc12 100644
--- a/source/game/terrain/StarIslandSurfaceSelector.hpp
+++ b/source/game/terrain/StarIslandSurfaceSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ISLAND_SURFACE_SELECTOR_HPP
-#define STAR_ISLAND_SURFACE_SELECTOR_HPP
+#pragma once
#include "StarLruCache.hpp"
#include "StarPerlin.hpp"
@@ -35,5 +34,3 @@ struct IslandSurfaceSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarKarstCave.hpp b/source/game/terrain/StarKarstCave.hpp
index 6fea37c..0e83150 100644
--- a/source/game/terrain/StarKarstCave.hpp
+++ b/source/game/terrain/StarKarstCave.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_KARST_CAVE_HPP
-#define STAR_KARST_CAVE_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarLruCache.hpp"
@@ -60,5 +59,3 @@ private:
};
}
-
-#endif
diff --git a/source/game/terrain/StarMaxSelector.hpp b/source/game/terrain/StarMaxSelector.hpp
index 56f035b..45bf6ed 100644
--- a/source/game/terrain/StarMaxSelector.hpp
+++ b/source/game/terrain/StarMaxSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAX_SELECTOR_HPP
-#define STAR_MAX_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
@@ -16,5 +15,3 @@ struct MaxSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarMinMaxSelector.hpp b/source/game/terrain/StarMinMaxSelector.hpp
index 46e5771..99cff5e 100644
--- a/source/game/terrain/StarMinMaxSelector.hpp
+++ b/source/game/terrain/StarMinMaxSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MIN_MAX_SELECTOR_HPP
-#define STAR_MIN_MAX_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
@@ -16,5 +15,3 @@ struct MinMaxSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarMixSelector.hpp b/source/game/terrain/StarMixSelector.hpp
index 43bb82f..5f5a645 100644
--- a/source/game/terrain/StarMixSelector.hpp
+++ b/source/game/terrain/StarMixSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MIX_SELECTOR_HPP
-#define STAR_MIX_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
@@ -18,5 +17,3 @@ struct MixSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarPerlinSelector.hpp b/source/game/terrain/StarPerlinSelector.hpp
index 5d37ad4..6e7bcc7 100644
--- a/source/game/terrain/StarPerlinSelector.hpp
+++ b/source/game/terrain/StarPerlinSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PERLIN_SELECTOR_HPP
-#define STAR_PERLIN_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarPerlin.hpp"
@@ -20,5 +19,3 @@ struct PerlinSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarRidgeBlocksSelector.hpp b/source/game/terrain/StarRidgeBlocksSelector.hpp
index 7e755b3..9b6809a 100644
--- a/source/game/terrain/StarRidgeBlocksSelector.hpp
+++ b/source/game/terrain/StarRidgeBlocksSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RIDGE_BLOCKS_SELECTOR_HPP
-#define STAR_RIDGE_BLOCKS_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarPerlin.hpp"
@@ -28,5 +27,3 @@ struct RidgeBlocksSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarRotateSelector.hpp b/source/game/terrain/StarRotateSelector.hpp
index 0a3dde3..e407083 100644
--- a/source/game/terrain/StarRotateSelector.hpp
+++ b/source/game/terrain/StarRotateSelector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ROTATE_SELECTOR_HPP
-#define STAR_ROTATE_SELECTOR_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarVector.hpp"
@@ -20,5 +19,3 @@ struct RotateSelector : TerrainSelector {
};
}
-
-#endif
diff --git a/source/game/terrain/StarWormCave.hpp b/source/game/terrain/StarWormCave.hpp
index 97787fe..2782d23 100644
--- a/source/game/terrain/StarWormCave.hpp
+++ b/source/game/terrain/StarWormCave.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORM_CAVE_HPP
-#define STAR_WORM_CAVE_HPP
+#pragma once
#include "StarTerrainDatabase.hpp"
#include "StarLruCache.hpp"
@@ -38,5 +37,3 @@ private:
};
}
-
-#endif