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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-25 15:46:47 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-25 15:46:47 +0100
commit3073a88cd16b6e85401363c814e5ac7ae11b9270 (patch)
tree30050be82e0056a2ceaf8233d5e88f2946773a53
parentb8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff)
Use "#pragma once" instead of include guards
-rw-r--r--source/application/StarApplication.hpp5
-rw-r--r--source/application/StarApplicationController.hpp5
-rw-r--r--source/application/StarDesktopService_pc_steam.hpp5
-rw-r--r--source/application/StarMainApplication.hpp5
-rw-r--r--source/application/StarP2PNetworkingService_pc.hpp5
-rw-r--r--source/application/StarPlatformServices_pc.hpp5
-rw-r--r--source/application/StarRenderer.hpp5
-rw-r--r--source/application/StarRenderer_opengl20.hpp5
-rw-r--r--source/application/StarStatisticsService_pc_steam.hpp5
-rw-r--r--source/application/StarTextureAtlas.hpp5
-rw-r--r--source/application/StarUserGeneratedContentService_pc_steam.hpp5
-rw-r--r--source/base/StarAnimatedPartSet.hpp5
-rw-r--r--source/base/StarAssetSource.hpp5
-rw-r--r--source/base/StarAssets.hpp5
-rw-r--r--source/base/StarBlocksAlongLine.hpp5
-rw-r--r--source/base/StarCellularLightArray.hpp5
-rw-r--r--source/base/StarCellularLighting.hpp5
-rw-r--r--source/base/StarCellularLiquid.hpp5
-rw-r--r--source/base/StarConfiguration.hpp5
-rw-r--r--source/base/StarDirectoryAssetSource.hpp5
-rw-r--r--source/base/StarMixer.hpp5
-rw-r--r--source/base/StarPackedAssetSource.hpp5
-rw-r--r--source/base/StarVersion.hpp5
-rw-r--r--source/base/StarVersionOptionParser.hpp5
-rw-r--r--source/base/StarWorldGeometry.hpp5
-rw-r--r--source/client/StarClientApplication.hpp5
-rw-r--r--source/core/StarAStar.hpp5
-rw-r--r--source/core/StarAlgorithm.hpp5
-rw-r--r--source/core/StarArray.hpp5
-rw-r--r--source/core/StarAssetPath.hpp5
-rw-r--r--source/core/StarAtomicSharedPtr.hpp5
-rw-r--r--source/core/StarAudio.hpp5
-rw-r--r--source/core/StarBTree.hpp6
-rw-r--r--source/core/StarBTreeDatabase.hpp5
-rw-r--r--source/core/StarBiMap.hpp5
-rw-r--r--source/core/StarBlockAllocator.hpp5
-rw-r--r--source/core/StarBuffer.hpp5
-rw-r--r--source/core/StarByteArray.hpp5
-rw-r--r--source/core/StarBytes.hpp5
-rw-r--r--source/core/StarCasting.hpp5
-rw-r--r--source/core/StarColor.hpp5
-rw-r--r--source/core/StarCompression.hpp5
-rw-r--r--source/core/StarConfig.hpp29
-rw-r--r--source/core/StarCurve25519.hpp6
-rw-r--r--source/core/StarDataStream.hpp5
-rw-r--r--source/core/StarDataStreamDevices.hpp5
-rw-r--r--source/core/StarDataStreamExtra.hpp5
-rw-r--r--source/core/StarDirectives.hpp5
-rw-r--r--source/core/StarDynamicLib.hpp5
-rw-r--r--source/core/StarEither.hpp5
-rw-r--r--source/core/StarEncode.hpp5
-rw-r--r--source/core/StarException.hpp5
-rw-r--r--source/core/StarFile.hpp5
-rw-r--r--source/core/StarFlatHashMap.hpp5
-rw-r--r--source/core/StarFlatHashSet.hpp5
-rw-r--r--source/core/StarFlatHashTable.hpp5
-rw-r--r--source/core/StarFont.hpp5
-rw-r--r--source/core/StarFormat.hpp5
-rw-r--r--source/core/StarFormattedJson.hpp5
-rw-r--r--source/core/StarHash.hpp5
-rw-r--r--source/core/StarHostAddress.hpp5
-rw-r--r--source/core/StarIODevice.hpp5
-rw-r--r--source/core/StarIdMap.hpp5
-rw-r--r--source/core/StarImage.hpp5
-rw-r--r--source/core/StarImageProcessing.hpp5
-rw-r--r--source/core/StarInputEvent.hpp5
-rw-r--r--source/core/StarInterpolation.hpp5
-rw-r--r--source/core/StarIterator.hpp5
-rw-r--r--source/core/StarJson.hpp5
-rw-r--r--source/core/StarJsonBuilder.hpp5
-rw-r--r--source/core/StarJsonExtra.hpp5
-rw-r--r--source/core/StarJsonParser.hpp5
-rw-r--r--source/core/StarJsonPatch.hpp5
-rw-r--r--source/core/StarJsonPath.hpp5
-rw-r--r--source/core/StarJsonRpc.hpp5
-rw-r--r--source/core/StarLexicalCast.hpp5
-rw-r--r--source/core/StarLine.hpp5
-rw-r--r--source/core/StarList.hpp5
-rw-r--r--source/core/StarListener.hpp5
-rw-r--r--source/core/StarLockFile.hpp5
-rw-r--r--source/core/StarLogging.hpp5
-rw-r--r--source/core/StarLruCache.hpp5
-rw-r--r--source/core/StarLua.hpp5
-rw-r--r--source/core/StarLuaConverters.hpp5
-rw-r--r--source/core/StarMap.hpp5
-rw-r--r--source/core/StarMathCommon.hpp5
-rw-r--r--source/core/StarMatrix3.hpp5
-rw-r--r--source/core/StarMaybe.hpp5
-rw-r--r--source/core/StarMemory.hpp5
-rw-r--r--source/core/StarMultiArray.hpp5
-rw-r--r--source/core/StarMultiArrayInterpolator.hpp5
-rw-r--r--source/core/StarMultiTable.hpp5
-rw-r--r--source/core/StarNetElement.hpp5
-rw-r--r--source/core/StarNetElementBasicFields.hpp5
-rw-r--r--source/core/StarNetElementContainers.hpp5
-rw-r--r--source/core/StarNetElementDynamicGroup.hpp5
-rw-r--r--source/core/StarNetElementFloatFields.hpp5
-rw-r--r--source/core/StarNetElementGroup.hpp5
-rw-r--r--source/core/StarNetElementSignal.hpp5
-rw-r--r--source/core/StarNetElementSyncGroup.hpp5
-rw-r--r--source/core/StarNetElementSystem.hpp5
-rw-r--r--source/core/StarNetImpl.hpp2
-rw-r--r--source/core/StarObserverStream.hpp5
-rw-r--r--source/core/StarOptionParser.hpp5
-rw-r--r--source/core/StarOrderedMap.hpp5
-rw-r--r--source/core/StarOrderedSet.hpp5
-rw-r--r--source/core/StarOutputProxy.hpp5
-rw-r--r--source/core/StarParametricFunction.hpp5
-rw-r--r--source/core/StarPch.hpp6
-rw-r--r--source/core/StarPeriodic.hpp5
-rw-r--r--source/core/StarPeriodicFunction.hpp5
-rw-r--r--source/core/StarPerlin.hpp5
-rw-r--r--source/core/StarPoly.hpp5
-rw-r--r--source/core/StarPythonic.hpp5
-rw-r--r--source/core/StarRandom.hpp5
-rw-r--r--source/core/StarRandomPoint.hpp5
-rw-r--r--source/core/StarRect.hpp5
-rw-r--r--source/core/StarRefPtr.hpp5
-rw-r--r--source/core/StarRpcPromise.hpp5
-rw-r--r--source/core/StarRpcThreadPromise.hpp5
-rw-r--r--source/core/StarSectorArray2D.hpp5
-rw-r--r--source/core/StarSecureRandom.hpp5
-rw-r--r--source/core/StarSet.hpp5
-rw-r--r--source/core/StarSha256.hpp5
-rw-r--r--source/core/StarShellParser.hpp5
-rw-r--r--source/core/StarSignalHandler.hpp5
-rw-r--r--source/core/StarSmallVector.hpp5
-rw-r--r--source/core/StarSocket.hpp5
-rw-r--r--source/core/StarSpatialHash2D.hpp5
-rw-r--r--source/core/StarSpline.hpp5
-rw-r--r--source/core/StarStaticRandom.hpp5
-rw-r--r--source/core/StarStaticVector.hpp5
-rw-r--r--source/core/StarString.hpp5
-rw-r--r--source/core/StarStringView.hpp5
-rw-r--r--source/core/StarString_windows.hpp5
-rw-r--r--source/core/StarStrongTypedef.hpp5
-rw-r--r--source/core/StarTcp.hpp5
-rw-r--r--source/core/StarText.hpp6
-rw-r--r--source/core/StarThread.hpp5
-rw-r--r--source/core/StarTickRateMonitor.hpp5
-rw-r--r--source/core/StarTime.hpp5
-rw-r--r--source/core/StarTtlCache.hpp5
-rw-r--r--source/core/StarUdp.hpp5
-rw-r--r--source/core/StarUnicode.hpp5
-rw-r--r--source/core/StarUuid.hpp5
-rw-r--r--source/core/StarVariant.hpp5
-rw-r--r--source/core/StarVector.hpp5
-rw-r--r--source/core/StarVlqEncoding.hpp5
-rw-r--r--source/core/StarWeightedPool.hpp5
-rw-r--r--source/core/StarWorkerPool.hpp5
-rw-r--r--source/core/StarXXHash.hpp5
-rw-r--r--source/frontend/StarActionBar.hpp5
-rw-r--r--source/frontend/StarAiInterface.hpp5
-rw-r--r--source/frontend/StarBaseScriptPane.hpp5
-rw-r--r--source/frontend/StarBindingsMenu.hpp5
-rw-r--r--source/frontend/StarBookmarkInterface.hpp5
-rw-r--r--source/frontend/StarCharCreation.hpp5
-rw-r--r--source/frontend/StarCharSelection.hpp5
-rw-r--r--source/frontend/StarChat.hpp5
-rw-r--r--source/frontend/StarChatBubbleManager.hpp5
-rw-r--r--source/frontend/StarChatBubbleSeparation.hpp5
-rw-r--r--source/frontend/StarCinematic.hpp5
-rw-r--r--source/frontend/StarClientCommandProcessor.hpp5
-rw-r--r--source/frontend/StarCodexInterface.hpp5
-rw-r--r--source/frontend/StarConfirmationDialog.hpp5
-rw-r--r--source/frontend/StarContainerInteractor.hpp5
-rw-r--r--source/frontend/StarContainerInterface.hpp5
-rw-r--r--source/frontend/StarCraftingInterface.hpp5
-rw-r--r--source/frontend/StarErrorScreen.hpp5
-rw-r--r--source/frontend/StarGraphicsMenu.hpp5
-rw-r--r--source/frontend/StarInterfaceCursor.hpp5
-rw-r--r--source/frontend/StarInterfaceLuaBindings.hpp5
-rw-r--r--source/frontend/StarInventory.hpp5
-rw-r--r--source/frontend/StarItemTooltip.hpp5
-rw-r--r--source/frontend/StarJoinRequestDialog.hpp5
-rw-r--r--source/frontend/StarKeybindingsMenu.hpp5
-rw-r--r--source/frontend/StarMainInterface.hpp5
-rw-r--r--source/frontend/StarMainInterfaceTypes.hpp5
-rw-r--r--source/frontend/StarMainMixer.hpp5
-rw-r--r--source/frontend/StarMerchantInterface.hpp5
-rw-r--r--source/frontend/StarModsMenu.hpp5
-rw-r--r--source/frontend/StarNameplatePainter.hpp5
-rw-r--r--source/frontend/StarOptionsMenu.hpp5
-rw-r--r--source/frontend/StarPopupInterface.hpp5
-rw-r--r--source/frontend/StarQuestIndicatorPainter.hpp5
-rw-r--r--source/frontend/StarQuestInterface.hpp5
-rw-r--r--source/frontend/StarQuestTracker.hpp5
-rw-r--r--source/frontend/StarRadioMessagePopup.hpp5
-rw-r--r--source/frontend/StarScriptPane.hpp5
-rw-r--r--source/frontend/StarSimpleTooltip.hpp5
-rw-r--r--source/frontend/StarSongbookInterface.hpp5
-rw-r--r--source/frontend/StarStatusPane.hpp5
-rw-r--r--source/frontend/StarTeleportDialog.hpp5
-rw-r--r--source/frontend/StarTitleScreen.hpp5
-rw-r--r--source/frontend/StarVoice.hpp6
-rw-r--r--source/frontend/StarVoiceLuaBindings.hpp5
-rw-r--r--source/frontend/StarVoiceSettingsMenu.hpp5
-rw-r--r--source/frontend/StarWireInterface.hpp5
-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
-rw-r--r--source/json_tool/editor_gui.hpp5
-rw-r--r--source/json_tool/json_tool.hpp5
-rw-r--r--source/mod_uploader/StarModUploader.hpp5
-rw-r--r--source/mod_uploader/StarSPlainTextEdit.hpp5
-rw-r--r--source/mod_uploader/StarStringConversion.hpp5
-rw-r--r--source/platform/StarDesktopService.hpp5
-rw-r--r--source/platform/StarP2PNetworkingService.hpp5
-rw-r--r--source/platform/StarStatisticsService.hpp5
-rw-r--r--source/platform/StarUserGeneratedContentService.hpp5
-rw-r--r--source/rendering/StarAnchorTypes.hpp5
-rw-r--r--source/rendering/StarAssetTextureGroup.hpp5
-rw-r--r--source/rendering/StarDrawablePainter.hpp5
-rw-r--r--source/rendering/StarEnvironmentPainter.hpp5
-rw-r--r--source/rendering/StarFontTextureGroup.hpp5
-rw-r--r--source/rendering/StarTextPainter.hpp5
-rw-r--r--source/rendering/StarTilePainter.hpp5
-rw-r--r--source/rendering/StarWorldCamera.hpp5
-rw-r--r--source/rendering/StarWorldPainter.hpp5
-rw-r--r--source/server/StarServerQueryThread.hpp5
-rw-r--r--source/server/StarServerRconClient.hpp5
-rw-r--r--source/server/StarServerRconThread.hpp5
-rw-r--r--source/windowing/StarButtonGroup.hpp5
-rw-r--r--source/windowing/StarButtonWidget.hpp5
-rw-r--r--source/windowing/StarCanvasWidget.hpp5
-rw-r--r--source/windowing/StarFlowLayout.hpp5
-rw-r--r--source/windowing/StarFuelWidget.hpp5
-rw-r--r--source/windowing/StarGuiContext.hpp5
-rw-r--r--source/windowing/StarGuiReader.hpp5
-rw-r--r--source/windowing/StarGuiTypes.hpp5
-rw-r--r--source/windowing/StarImageStretchWidget.hpp5
-rw-r--r--source/windowing/StarImageWidget.hpp5
-rw-r--r--source/windowing/StarItemGridWidget.hpp5
-rw-r--r--source/windowing/StarItemSlotWidget.hpp5
-rw-r--r--source/windowing/StarKeyBindings.hpp5
-rw-r--r--source/windowing/StarLabelWidget.hpp5
-rw-r--r--source/windowing/StarLargeCharPlateWidget.hpp5
-rw-r--r--source/windowing/StarLayout.hpp6
-rw-r--r--source/windowing/StarListWidget.hpp5
-rw-r--r--source/windowing/StarPane.hpp5
-rw-r--r--source/windowing/StarPaneManager.hpp5
-rw-r--r--source/windowing/StarPortraitWidget.hpp4
-rw-r--r--source/windowing/StarProgressWidget.hpp5
-rw-r--r--source/windowing/StarRegisteredPaneManager.hpp5
-rw-r--r--source/windowing/StarScrollArea.hpp5
-rw-r--r--source/windowing/StarSliderBar.hpp6
-rw-r--r--source/windowing/StarStackWidget.hpp6
-rw-r--r--source/windowing/StarTabSet.hpp5
-rw-r--r--source/windowing/StarTextBoxWidget.hpp5
-rw-r--r--source/windowing/StarVerticalLayout.hpp5
-rw-r--r--source/windowing/StarWidget.hpp5
-rw-r--r--source/windowing/StarWidgetLuaBindings.hpp5
-rw-r--r--source/windowing/StarWidgetParsing.hpp5
504 files changed, 525 insertions, 2018 deletions
diff --git a/source/application/StarApplication.hpp b/source/application/StarApplication.hpp
index 9e10f58..f639546 100644
--- a/source/application/StarApplication.hpp
+++ b/source/application/StarApplication.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_APPLICATION_HPP
-#define STAR_APPLICATION_HPP
+#pragma once
#include "StarInputEvent.hpp"
@@ -72,5 +71,3 @@ inline RendererPtr const& Application::renderer() const {
}
}
-
-#endif
diff --git a/source/application/StarApplicationController.hpp b/source/application/StarApplicationController.hpp
index 5747268..341e15e 100644
--- a/source/application/StarApplicationController.hpp
+++ b/source/application/StarApplicationController.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_APPLICATION_CONTROLLER_HPP
-#define STAR_APPLICATION_CONTROLLER_HPP
+#pragma once
#include "StarApplication.hpp"
#include "StarStatisticsService.hpp"
@@ -73,5 +72,3 @@ public:
};
}
-
-#endif
diff --git a/source/application/StarDesktopService_pc_steam.hpp b/source/application/StarDesktopService_pc_steam.hpp
index da38089..c25a5ec 100644
--- a/source/application/StarDesktopService_pc_steam.hpp
+++ b/source/application/StarDesktopService_pc_steam.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DESKTOP_SERVICE_PC_STEAM_HPP
-#define STAR_DESKTOP_SERVICE_PC_STEAM_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
@@ -15,5 +14,3 @@ public:
};
}
-
-#endif
diff --git a/source/application/StarMainApplication.hpp b/source/application/StarMainApplication.hpp
index 515dfb9..18c9fa5 100644
--- a/source/application/StarMainApplication.hpp
+++ b/source/application/StarMainApplication.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAIN_APPLICATION_HPP
-#define STAR_MAIN_APPLICATION_HPP
+#pragma once
#include "StarApplication.hpp"
#include "StarApplicationController.hpp"
@@ -30,5 +29,3 @@ namespace Star {
}
#endif
-
-#endif
diff --git a/source/application/StarP2PNetworkingService_pc.hpp b/source/application/StarP2PNetworkingService_pc.hpp
index 47cebb6..20fbefb 100644
--- a/source/application/StarP2PNetworkingService_pc.hpp
+++ b/source/application/StarP2PNetworkingService_pc.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_P2P_NETWORKING_SERVICE_PC_HPP
-#define STAR_P2P_NETWORKING_SERVICE_PC_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
#include "StarAlgorithm.hpp"
@@ -142,5 +141,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarPlatformServices_pc.hpp b/source/application/StarPlatformServices_pc.hpp
index 4240515..074c6df 100644
--- a/source/application/StarPlatformServices_pc.hpp
+++ b/source/application/StarPlatformServices_pc.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLATFORM_SERVICES_PC_HPP
-#define STAR_PLATFORM_SERVICES_PC_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarApplication.hpp"
@@ -79,5 +78,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarRenderer.hpp b/source/application/StarRenderer.hpp
index ad44c5c..7b75077 100644
--- a/source/application/StarRenderer.hpp
+++ b/source/application/StarRenderer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RENDERER_HPP
-#define STAR_RENDERER_HPP
+#pragma once
#include "StarVariant.hpp"
#include "StarImage.hpp"
@@ -166,5 +165,3 @@ public:
};
}
-
-#endif
diff --git a/source/application/StarRenderer_opengl20.hpp b/source/application/StarRenderer_opengl20.hpp
index cbf3924..8c96775 100644
--- a/source/application/StarRenderer_opengl20.hpp
+++ b/source/application/StarRenderer_opengl20.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RENDERER_OPENGL_HPP
-#define STAR_RENDERER_OPENGL_HPP
+#pragma once
#include "StarTextureAtlas.hpp"
#include "StarRenderer.hpp"
@@ -237,5 +236,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarStatisticsService_pc_steam.hpp b/source/application/StarStatisticsService_pc_steam.hpp
index f58d7c1..332be18 100644
--- a/source/application/StarStatisticsService_pc_steam.hpp
+++ b/source/application/StarStatisticsService_pc_steam.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATISTICS_SERVICE_PC_STEAM_HPP
-#define STAR_STATISTICS_SERVICE_PC_STEAM_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
@@ -37,5 +36,3 @@ private:
};
}
-
-#endif
diff --git a/source/application/StarTextureAtlas.hpp b/source/application/StarTextureAtlas.hpp
index 595f6ba..c3b9558 100644
--- a/source/application/StarTextureAtlas.hpp
+++ b/source/application/StarTextureAtlas.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TEXTURE_ATLAS_HPP
-#define STAR_TEXTURE_ATLAS_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarImage.hpp"
@@ -417,5 +416,3 @@ auto TextureAtlasSet<AtlasTextureHandle>::addTextureToAtlas(TextureAtlas* atlas,
}
}
-
-#endif
diff --git a/source/application/StarUserGeneratedContentService_pc_steam.hpp b/source/application/StarUserGeneratedContentService_pc_steam.hpp
index 8bd84d3..2a510b9 100644
--- a/source/application/StarUserGeneratedContentService_pc_steam.hpp
+++ b/source/application/StarUserGeneratedContentService_pc_steam.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_USER_GENERATED_CONTENT_SERVICE_PC_STEAM_HPP
-#define STAR_USER_GENERATED_CONTENT_SERVICE_PC_STEAM_HPP
+#pragma once
#include "StarPlatformServices_pc.hpp"
@@ -22,5 +21,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarAnimatedPartSet.hpp b/source/base/StarAnimatedPartSet.hpp
index bb3df6c..8cc2ef3 100644
--- a/source/base/StarAnimatedPartSet.hpp
+++ b/source/base/StarAnimatedPartSet.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ANIMATED_PART_SET_HPP
-#define STAR_ANIMATED_PART_SET_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarJson.hpp"
@@ -159,5 +158,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarAssetSource.hpp b/source/base/StarAssetSource.hpp
index b2cb245..0842d34 100644
--- a/source/base/StarAssetSource.hpp
+++ b/source/base/StarAssetSource.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ASSET_SOURCE_HPP
-#define STAR_ASSET_SOURCE_HPP
+#pragma once
#include "StarIODevice.hpp"
#include "StarJson.hpp"
@@ -31,5 +30,3 @@ public:
};
}
-
-#endif
diff --git a/source/base/StarAssets.hpp b/source/base/StarAssets.hpp
index 93c09cb..0024207 100644
--- a/source/base/StarAssets.hpp
+++ b/source/base/StarAssets.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ASSETS_HPP
-#define STAR_ASSETS_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarOrderedMap.hpp"
@@ -326,5 +325,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarBlocksAlongLine.hpp b/source/base/StarBlocksAlongLine.hpp
index bdd3c9a..6d59e6c 100644
--- a/source/base/StarBlocksAlongLine.hpp
+++ b/source/base/StarBlocksAlongLine.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BLOCKS_ALONG_LINE_HPP
-#define STAR_BLOCKS_ALONG_LINE_HPP
+#pragma once
#include "StarVector.hpp"
@@ -104,5 +103,3 @@ bool forBlocksAlongLine(Vector<Scalar, 2> origin, Vector<Scalar, 2> const& dxdy,
}
}
-
-#endif
diff --git a/source/base/StarCellularLightArray.hpp b/source/base/StarCellularLightArray.hpp
index f9e4094..d73cacf 100644
--- a/source/base/StarCellularLightArray.hpp
+++ b/source/base/StarCellularLightArray.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELLULAR_LIGHT_ARRAY_HPP
-#define STAR_CELLULAR_LIGHT_ARRAY_HPP
+#pragma once
#include "StarList.hpp"
#include "StarVector.hpp"
@@ -586,5 +585,3 @@ float CellularLightArray<LightTraits>::lineAttenuation(Vec2F const& start, Vec2F
}
}
-
-#endif
diff --git a/source/base/StarCellularLighting.hpp b/source/base/StarCellularLighting.hpp
index c82032c..caa52ae 100644
--- a/source/base/StarCellularLighting.hpp
+++ b/source/base/StarCellularLighting.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELLULAR_LIGHTING_HPP
-#define STAR_CELLULAR_LIGHTING_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarRect.hpp"
@@ -94,5 +93,3 @@ inline void CellularLightingCalculator::setCellIndex(size_t cellIndex, Vec3F con
}
}
-
-#endif
diff --git a/source/base/StarCellularLiquid.hpp b/source/base/StarCellularLiquid.hpp
index be30948..c06158c 100644
--- a/source/base/StarCellularLiquid.hpp
+++ b/source/base/StarCellularLiquid.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CELLULAR_LIQUID_HPP
-#define STAR_CELLULAR_LIQUID_HPP
+#pragma once
#include "StarVariant.hpp"
#include "StarRect.hpp"
@@ -654,5 +653,3 @@ void LiquidCellEngine<LiquidId>::transferLevel(
}
}
-
-#endif
diff --git a/source/base/StarConfiguration.hpp b/source/base/StarConfiguration.hpp
index 7e200c0..ffa66c3 100644
--- a/source/base/StarConfiguration.hpp
+++ b/source/base/StarConfiguration.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONFIGURATION_HPP
-#define STAR_CONFIGURATION_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarThread.hpp"
@@ -36,5 +35,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarDirectoryAssetSource.hpp b/source/base/StarDirectoryAssetSource.hpp
index 0604132..642c008 100644
--- a/source/base/StarDirectoryAssetSource.hpp
+++ b/source/base/StarDirectoryAssetSource.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DIRECTORY_ASSET_SOURCE_HPP
-#define STAR_DIRECTORY_ASSET_SOURCE_HPP
+#pragma once
#include "StarAssetSource.hpp"
#include "StarString.hpp"
@@ -37,5 +36,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarMixer.hpp b/source/base/StarMixer.hpp
index b71a2f1..57d3882 100644
--- a/source/base/StarMixer.hpp
+++ b/source/base/StarMixer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MIXER_HPP
-#define STAR_MIXER_HPP
+#pragma once
#include "StarAudio.hpp"
#include "StarThread.hpp"
@@ -169,5 +168,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarPackedAssetSource.hpp b/source/base/StarPackedAssetSource.hpp
index eae5069..dbec948 100644
--- a/source/base/StarPackedAssetSource.hpp
+++ b/source/base/StarPackedAssetSource.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PACKED_ASSET_SOURCE_HPP
-#define STAR_PACKED_ASSET_SOURCE_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarFile.hpp"
@@ -41,5 +40,3 @@ private:
};
}
-
-#endif
diff --git a/source/base/StarVersion.hpp b/source/base/StarVersion.hpp
index 70463d2..ad65875 100644
--- a/source/base/StarVersion.hpp
+++ b/source/base/StarVersion.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VERSION_HPP
-#define STAR_VERSION_HPP
+#pragma once
#include "StarConfig.hpp"
@@ -12,5 +11,3 @@ extern char const* const StarArchitectureString;
typedef uint32_t VersionNumber;
}
-
-#endif
diff --git a/source/base/StarVersionOptionParser.hpp b/source/base/StarVersionOptionParser.hpp
index 7a51f09..b2ed9e1 100644
--- a/source/base/StarVersionOptionParser.hpp
+++ b/source/base/StarVersionOptionParser.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VERSION_OPTION_PARSER_HPP
-#define STAR_VERSION_OPTION_PARSER_HPP
+#pragma once
#include "StarOptionParser.hpp"
#include "StarVersion.hpp"
@@ -23,5 +22,3 @@ public:
};
}
-
-#endif
diff --git a/source/base/StarWorldGeometry.hpp b/source/base/StarWorldGeometry.hpp
index 39bf4fe..2c93afd 100644
--- a/source/base/StarWorldGeometry.hpp
+++ b/source/base/StarWorldGeometry.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_GEOMETRY_HPP
-#define STAR_WORLD_GEOMETRY_HPP
+#pragma once
#include "StarPoly.hpp"
@@ -259,5 +258,3 @@ inline Vec2F WorldGeometry::nearestTo(Vec2F const& source, Vec2F const& target)
}
}
-
-#endif
diff --git a/source/client/StarClientApplication.hpp b/source/client/StarClientApplication.hpp
index 9e56227..6f80349 100644
--- a/source/client/StarClientApplication.hpp
+++ b/source/client/StarClientApplication.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CLIENT_APPLICATION_HPP
-#define STAR_CLIENT_APPLICATION_HPP
+#pragma once
#include "StarUniverseServer.hpp"
#include "StarUniverseClient.hpp"
@@ -120,5 +119,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarAStar.hpp b/source/core/StarAStar.hpp
index eedac8c..13d7dbd 100644
--- a/source/core/StarAStar.hpp
+++ b/source/core/StarAStar.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_A_STAR_HPP
-#define STAR_A_STAR_HPP
+#pragma once
#include <queue>
@@ -272,5 +271,3 @@ namespace AStar {
}
}
-
-#endif
diff --git a/source/core/StarAlgorithm.hpp b/source/core/StarAlgorithm.hpp
index ef82cc8..1e5e85c 100644
--- a/source/core/StarAlgorithm.hpp
+++ b/source/core/StarAlgorithm.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ALGORITHM_HPP
-#define STAR_ALGORITHM_HPP
+#pragma once
#include "StarException.hpp"
@@ -654,5 +653,3 @@ template <typename T>
struct FunctionTraits<T const&&> : public FunctionTraits<T> {};
}
-
-#endif
diff --git a/source/core/StarArray.hpp b/source/core/StarArray.hpp
index 1b3e150..85ce71b 100644
--- a/source/core/StarArray.hpp
+++ b/source/core/StarArray.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ARRAY_H
-#define STAR_ARRAY_H
+#pragma once
#include <array>
@@ -250,5 +249,3 @@ size_t hash<Array<DataT, SizeT>>::operator()(Array<DataT, SizeT> const& a) const
}
}
-
-#endif
diff --git a/source/core/StarAssetPath.hpp b/source/core/StarAssetPath.hpp
index 3fc7849..f800f2b 100644
--- a/source/core/StarAssetPath.hpp
+++ b/source/core/StarAssetPath.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ASSET_PATH_HPP
-#define STAR_ASSET_PATH_HPP
+#pragma once
#include "StarDirectives.hpp"
#include "StarHash.hpp"
@@ -78,5 +77,3 @@ struct hash<AssetPath> {
}
template <> struct fmt::formatter<Star::AssetPath> : ostream_formatter {};
-
-#endif \ No newline at end of file
diff --git a/source/core/StarAtomicSharedPtr.hpp b/source/core/StarAtomicSharedPtr.hpp
index 306192f..3ca909b 100644
--- a/source/core/StarAtomicSharedPtr.hpp
+++ b/source/core/StarAtomicSharedPtr.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ATOMIC_SHARED_PTR_HPP
-#define STAR_ATOMIC_SHARED_PTR_HPP
+#pragma once
#include "StarThread.hpp"
@@ -117,5 +116,3 @@ AtomicSharedPtr<T>& AtomicSharedPtr<T>::operator=(SharedPtr p) {
}
}
-
-#endif
diff --git a/source/core/StarAudio.hpp b/source/core/StarAudio.hpp
index eda28d9..cf8f91f 100644
--- a/source/core/StarAudio.hpp
+++ b/source/core/StarAudio.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AUDIO_HPP
-#define STAR_AUDIO_HPP
+#pragma once
#include "StarIODevice.hpp"
@@ -91,5 +90,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarBTree.hpp b/source/core/StarBTree.hpp
index 1ff53bd..cbfe899 100644
--- a/source/core/StarBTree.hpp
+++ b/source/core/StarBTree.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_B_TREE_HPP
-#define STAR_B_TREE_HPP
+#pragma once
+
#include "StarList.hpp"
#include "StarMaybe.hpp"
@@ -933,5 +933,3 @@ size_t BTreeMixin<Base>::indexFind(Index const& index, Key const& key) {
}
}
-
-#endif
diff --git a/source/core/StarBTreeDatabase.hpp b/source/core/StarBTreeDatabase.hpp
index aff45d3..8f7a4fd 100644
--- a/source/core/StarBTreeDatabase.hpp
+++ b/source/core/StarBTreeDatabase.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BTREE_DATABASE_HPP
-#define STAR_BTREE_DATABASE_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarBTree.hpp"
@@ -340,5 +339,3 @@ public:
};
}
-
-#endif
diff --git a/source/core/StarBiMap.hpp b/source/core/StarBiMap.hpp
index 8e3d616..07c9618 100644
--- a/source/core/StarBiMap.hpp
+++ b/source/core/StarBiMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BI_MAP_HPP
-#define STAR_BI_MAP_HPP
+#pragma once
#include "StarString.hpp"
@@ -415,5 +414,3 @@ bool BiMap<LeftT, RightT, LeftMapT, RightMapT>::operator==(BiMap const& m) const
}
}
-
-#endif
diff --git a/source/core/StarBlockAllocator.hpp b/source/core/StarBlockAllocator.hpp
index 23e0201..8528699 100644
--- a/source/core/StarBlockAllocator.hpp
+++ b/source/core/StarBlockAllocator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BLOCK_ALLOCATOR_HPP
-#define STAR_BLOCK_ALLOCATOR_HPP
+#pragma once
#include <array>
#include <vector>
@@ -264,5 +263,3 @@ typename BlockAllocator<T, BlockSize>::Data* BlockAllocator<T, BlockSize>::getAl
}
}
-
-#endif
diff --git a/source/core/StarBuffer.hpp b/source/core/StarBuffer.hpp
index a92138b..0e1213e 100644
--- a/source/core/StarBuffer.hpp
+++ b/source/core/StarBuffer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BUFFER_HPP
-#define STAR_BUFFER_HPP
+#pragma once
#include "StarIODevice.hpp"
#include "StarString.hpp"
@@ -118,5 +117,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarByteArray.hpp b/source/core/StarByteArray.hpp
index cb5633b..9b3e410 100644
--- a/source/core/StarByteArray.hpp
+++ b/source/core/StarByteArray.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BYTE_ARRAY_H
-#define STAR_BYTE_ARRAY_H
+#pragma once
#include "StarHash.hpp"
#include "StarException.hpp"
@@ -257,5 +256,3 @@ inline size_t hash<ByteArray>::operator()(ByteArray const& b) const {
}
template <> struct fmt::formatter<Star::ByteArray> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarBytes.hpp b/source/core/StarBytes.hpp
index 3dd013f..ce77483 100644
--- a/source/core/StarBytes.hpp
+++ b/source/core/StarBytes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BYTES_HPP
-#define STAR_BYTES_HPP
+#pragma once
#include "StarMemory.hpp"
@@ -105,5 +104,3 @@ inline void fromByteOrder(ByteOrder order, void* dest, void const* src, size_t l
}
}
-
-#endif
diff --git a/source/core/StarCasting.hpp b/source/core/StarCasting.hpp
index 0c2ed12..2b8d15a 100644
--- a/source/core/StarCasting.hpp
+++ b/source/core/StarCasting.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CASTING_HPP
-#define STAR_CASTING_HPP
+#pragma once
#include "StarException.hpp"
#include "StarFormat.hpp"
@@ -89,5 +88,3 @@ weak_ptr<Type const> asWeak(shared_ptr<Type const> const& p) {
}
}
-
-#endif
diff --git a/source/core/StarColor.hpp b/source/core/StarColor.hpp
index 18ae0a0..47e6896 100644
--- a/source/core/StarColor.hpp
+++ b/source/core/StarColor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_COLOR_HPP
-#define STAR_COLOR_HPP
+#pragma once
#include "StarStringView.hpp"
#include "StarVector.hpp"
@@ -171,5 +170,3 @@ inline Vec4B Color::v4fToByte(Vec4F const& f, bool doClamp) {
}
template <> struct fmt::formatter<Star::Color> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarCompression.hpp b/source/core/StarCompression.hpp
index ba36dc7..56dc774 100644
--- a/source/core/StarCompression.hpp
+++ b/source/core/StarCompression.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_COMPRESSION_HPP
-#define STAR_COMPRESSION_HPP
+#pragma once
#include "StarIODevice.hpp"
#include "StarString.hpp"
@@ -55,5 +54,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarConfig.hpp b/source/core/StarConfig.hpp
index 5a95569..fffc7da 100644
--- a/source/core/StarConfig.hpp
+++ b/source/core/StarConfig.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONFIG_HPP
-#define STAR_CONFIG_HPP
+#pragma once
#include "StarPch.hpp"
@@ -75,25 +74,23 @@ typedef int64_t StreamOffset;
#define STAR_CLASS(ClassName) \
class ClassName; \
- typedef std::shared_ptr<ClassName> ClassName##Ptr; \
- typedef std::shared_ptr<const ClassName> ClassName##ConstPtr; \
- typedef std::weak_ptr<ClassName> ClassName##WeakPtr; \
- typedef std::weak_ptr<const ClassName> ClassName##ConstWeakPtr; \
- typedef std::unique_ptr<ClassName> ClassName##UPtr; \
- typedef std::unique_ptr<const ClassName> ClassName##ConstUPtr
+ using ClassName##Ptr = std::shared_ptr<ClassName>; \
+ using ClassName##ConstPtr = std::shared_ptr<const ClassName>; \
+ using ClassName##WeakPtr = std::weak_ptr<ClassName>; \
+ using ClassName##ConstWeakPtr = std::weak_ptr<const ClassName>; \
+ using ClassName##UPtr = std::unique_ptr<ClassName>; \
+ using ClassName##ConstUPtr = std::unique_ptr<const ClassName>
#define STAR_STRUCT(StructName) \
struct StructName; \
- typedef std::shared_ptr<StructName> StructName##Ptr; \
- typedef std::shared_ptr<const StructName> StructName##ConstPtr; \
- typedef std::weak_ptr<StructName> StructName##WeakPtr; \
- typedef std::weak_ptr<const StructName> StructName##ConstWeakPtr; \
- typedef std::unique_ptr<StructName> StructName##UPtr; \
- typedef std::unique_ptr<const StructName> StructName##ConstUPtr
+ using StructName##Ptr = std::shared_ptr<StructName>; \
+ using StructName##ConstPtr = std::shared_ptr<const StructName>; \
+ using StructName##WeakPtr = std::weak_ptr<StructName>; \
+ using StructName##ConstWeakPtr = std::weak_ptr<const StructName>; \
+ using StructName##UPtr = std::unique_ptr<StructName>; \
+ using StructName##ConstUPtr = std::unique_ptr<const StructName>
#define STAR_QUOTE(name) #name
#define STAR_STR(macro) STAR_QUOTE(macro)
}
-
-#endif
diff --git a/source/core/StarCurve25519.hpp b/source/core/StarCurve25519.hpp
index 15fe4d1..d1eac1c 100644
--- a/source/core/StarCurve25519.hpp
+++ b/source/core/StarCurve25519.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_CURVE_25519_HPP
-#define STAR_CURVE_25519_HPP
+#pragma once
+
#include "StarEncode.hpp"
#include "StarByteArray.hpp"
#include "StarArray.hpp"
@@ -21,5 +21,3 @@ Signature sign(void* data, size_t len);
bool verify(uint8_t const* signature, uint8_t const* publicKey, void* data, size_t len);
}
-
-#endif \ No newline at end of file
diff --git a/source/core/StarDataStream.hpp b/source/core/StarDataStream.hpp
index c8cd805..02cb922 100644
--- a/source/core/StarDataStream.hpp
+++ b/source/core/StarDataStream.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DATA_STREAM_HPP
-#define STAR_DATA_STREAM_HPP
+#pragma once
#include "StarString.hpp"
@@ -389,5 +388,3 @@ void DataStream::readMapContainer(Container& container) {
}
}
-
-#endif
diff --git a/source/core/StarDataStreamDevices.hpp b/source/core/StarDataStreamDevices.hpp
index cec315e..dce7dcf 100644
--- a/source/core/StarDataStreamDevices.hpp
+++ b/source/core/StarDataStreamDevices.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DATA_STREAM_BUFFER_HPP
-#define STAR_DATA_STREAM_BUFFER_HPP
+#pragma once
#include "StarBuffer.hpp"
#include "StarDataStream.hpp"
@@ -248,5 +247,3 @@ T DataStreamBuffer::deserializeMapContainer(ByteArray data, ReadFunction readFun
}
}
-
-#endif
diff --git a/source/core/StarDataStreamExtra.hpp b/source/core/StarDataStreamExtra.hpp
index 3c8565a..d8a5091 100644
--- a/source/core/StarDataStreamExtra.hpp
+++ b/source/core/StarDataStreamExtra.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DATA_STREAM_EXTRA_HPP
-#define STAR_DATA_STREAM_EXTRA_HPP
+#pragma once
#include "StarDataStream.hpp"
#include "StarMultiArray.hpp"
@@ -389,5 +388,3 @@ DataStream& operator<<(DataStream& ds, tuple<T...> const& t) {
}
}
-
-#endif
diff --git a/source/core/StarDirectives.hpp b/source/core/StarDirectives.hpp
index b7575ed..ec43b9d 100644
--- a/source/core/StarDirectives.hpp
+++ b/source/core/StarDirectives.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DIRECTIVES_HPP
-#define STAR_DIRECTIVES_HPP
+#pragma once
#include "StarImageProcessing.hpp"
#include "StarHash.hpp"
@@ -122,5 +121,3 @@ struct hash<DirectivesGroup> {
typedef DirectivesGroup ImageDirectives;
}
-
-#endif
diff --git a/source/core/StarDynamicLib.hpp b/source/core/StarDynamicLib.hpp
index c479d8b..4795786 100644
--- a/source/core/StarDynamicLib.hpp
+++ b/source/core/StarDynamicLib.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PLATFORM_HPP
-#define STAR_PLATFORM_HPP
+#pragma once
#include "StarString.hpp"
@@ -34,5 +33,3 @@ inline DynamicLibUPtr DynamicLib::loadLibraryBase(String const& baseName) {
}
}
-
-#endif
diff --git a/source/core/StarEither.hpp b/source/core/StarEither.hpp
index bed6fd7..b45cd94 100644
--- a/source/core/StarEither.hpp
+++ b/source/core/StarEither.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EITHER_HPP
-#define STAR_EITHER_HPP
+#pragma once
#include "StarVariant.hpp"
@@ -239,5 +238,3 @@ Right* Either<Left, Right>::rightPtr() {
}
}
-
-#endif
diff --git a/source/core/StarEncode.hpp b/source/core/StarEncode.hpp
index 62350ae..a69b790 100644
--- a/source/core/StarEncode.hpp
+++ b/source/core/StarEncode.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENCODE_HPP
-#define STAR_ENCODE_HPP
+#pragma once
#include "StarString.hpp"
#include "StarByteArray.hpp"
@@ -23,5 +22,3 @@ String base64Encode(ByteArray const& data);
ByteArray base64Decode(String const& encodedData);
}
-
-#endif
diff --git a/source/core/StarException.hpp b/source/core/StarException.hpp
index 2805c9d..f9009bc 100644
--- a/source/core/StarException.hpp
+++ b/source/core/StarException.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_EXCEPTION_HPP
-#define STAR_EXCEPTION_HPP
+#pragma once
#include "StarMemory.hpp"
#include "StarOutputProxy.hpp"
@@ -103,5 +102,3 @@ StarException StarException::format(fmt::format_string<Args...> fmt, Args const&
}
}
-
-#endif
diff --git a/source/core/StarFile.hpp b/source/core/StarFile.hpp
index 517c148..fb489ab 100644
--- a/source/core/StarFile.hpp
+++ b/source/core/StarFile.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FILE_HPP
-#define STAR_FILE_HPP
+#pragma once
#include "StarIODevice.hpp"
#include "StarString.hpp"
@@ -146,5 +145,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarFlatHashMap.hpp b/source/core/StarFlatHashMap.hpp
index 7fd21ff..091844d 100644
--- a/source/core/StarFlatHashMap.hpp
+++ b/source/core/StarFlatHashMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FLAT_HASH_MAP_HPP
-#define STAR_FLAT_HASH_MAP_HPP
+#pragma once
#include <type_traits>
@@ -541,5 +540,3 @@ bool FlatHashMap<Key, Mapped, Hash, Equals, Allocator>::operator!=(FlatHashMap c
}
}
-
-#endif
diff --git a/source/core/StarFlatHashSet.hpp b/source/core/StarFlatHashSet.hpp
index 51d01f7..350b03a 100644
--- a/source/core/StarFlatHashSet.hpp
+++ b/source/core/StarFlatHashSet.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FLAT_HASH_SET_HPP
-#define STAR_FLAT_HASH_SET_HPP
+#pragma once
#include "StarFlatHashTable.hpp"
#include "StarHash.hpp"
@@ -493,5 +492,3 @@ bool FlatHashSet<Key, Hash, Equals, Allocator>::operator!=(FlatHashSet const& rh
}
}
-
-#endif
diff --git a/source/core/StarFlatHashTable.hpp b/source/core/StarFlatHashTable.hpp
index 793c573..9b9248b 100644
--- a/source/core/StarFlatHashTable.hpp
+++ b/source/core/StarFlatHashTable.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FLAT_HASH_TABLE_HPP
-#define STAR_FLAT_HASH_TABLE_HPP
+#pragma once
#include <vector>
@@ -553,5 +552,3 @@ void FlatHashTable<Value, Key, GetKey, Hash, Equals, Allocator>::checkCapacity(s
}
}
-
-#endif
diff --git a/source/core/StarFont.hpp b/source/core/StarFont.hpp
index a3b3ced..1fa5c8c 100644
--- a/source/core/StarFont.hpp
+++ b/source/core/StarFont.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FONT_HPP
-#define STAR_FONT_HPP
+#pragma once
#include "StarString.hpp"
#include "StarImage.hpp"
@@ -47,5 +46,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarFormat.hpp b/source/core/StarFormat.hpp
index f159928..5f9754a 100644
--- a/source/core/StarFormat.hpp
+++ b/source/core/StarFormat.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FORMAT_HPP
-#define STAR_FORMAT_HPP
+#pragma once
#include "StarMemory.hpp"
#include "StarException.hpp"
@@ -46,5 +45,3 @@ inline std::string toString(Type const& t) {
}
}
-
-#endif
diff --git a/source/core/StarFormattedJson.hpp b/source/core/StarFormattedJson.hpp
index df94523..f7e6b11 100644
--- a/source/core/StarFormattedJson.hpp
+++ b/source/core/StarFormattedJson.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_COMMENTS_HPP
-#define STAR_JSON_COMMENTS_HPP
+#pragma once
#include <list>
@@ -131,5 +130,3 @@ std::ostream& operator<<(std::ostream& os, FormattedJson const& json);
}
template <> struct fmt::formatter<Star::FormattedJson> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarHash.hpp b/source/core/StarHash.hpp
index 7ad942f..52e2fc3 100644
--- a/source/core/StarHash.hpp
+++ b/source/core/StarHash.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_HASH_HPP
-#define STAR_HASH_HPP
+#pragma once
#include "StarBytes.hpp"
@@ -96,5 +95,3 @@ size_t hashOf(T1 const& t1, T2 const& t2, TL const&... rest) {
};
}
-
-#endif
diff --git a/source/core/StarHostAddress.hpp b/source/core/StarHostAddress.hpp
index 6948b0e..07f27a9 100644
--- a/source/core/StarHostAddress.hpp
+++ b/source/core/StarHostAddress.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_HOST_ADDRESS_HPP
-#define STAR_HOST_ADDRESS_HPP
+#pragma once
#include "StarString.hpp"
#include "StarEither.hpp"
@@ -88,5 +87,3 @@ struct hash<HostAddressWithPort> {
template <> struct fmt::formatter<Star::HostAddress> : ostream_formatter {};
template <> struct fmt::formatter<Star::HostAddressWithPort> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarIODevice.hpp b/source/core/StarIODevice.hpp
index 834b1d4..b375e81 100644
--- a/source/core/StarIODevice.hpp
+++ b/source/core/StarIODevice.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_IO_DEVICE_H
-#define STAR_IO_DEVICE_H
+#pragma once
#include "StarByteArray.hpp"
#include "StarString.hpp"
@@ -129,5 +128,3 @@ inline bool IODevice::isWritable() const {
}
}
-
-#endif
diff --git a/source/core/StarIdMap.hpp b/source/core/StarIdMap.hpp
index 964b899..7f13b40 100644
--- a/source/core/StarIdMap.hpp
+++ b/source/core/StarIdMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ID_MAP_HPP
-#define STAR_ID_MAP_HPP
+#pragma once
#include "StarMap.hpp"
#include "StarMathCommon.hpp"
@@ -147,5 +146,3 @@ DataStream& operator<<(DataStream& ds, IdMapWrapper<BaseMap> const& map) {
}
}
-
-#endif
diff --git a/source/core/StarImage.hpp b/source/core/StarImage.hpp
index cce0d2f..6f186df 100644
--- a/source/core/StarImage.hpp
+++ b/source/core/StarImage.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_IMAGE_HPP
-#define STAR_IMAGE_HPP
+#pragma once
#include "StarString.hpp"
#include "StarVector.hpp"
@@ -309,5 +308,3 @@ void Image::forEachPixel(CallbackType&& callback) {
}
}
-
-#endif
diff --git a/source/core/StarImageProcessing.hpp b/source/core/StarImageProcessing.hpp
index ed3319b..71ce6fc 100644
--- a/source/core/StarImageProcessing.hpp
+++ b/source/core/StarImageProcessing.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_IMAGE_PROCESSING_HPP
-#define STAR_IMAGE_PROCESSING_HPP
+#pragma once
#include "StarList.hpp"
#include "StarRect.hpp"
@@ -164,5 +163,3 @@ void processImageOperation(ImageOperation const& operation, Image& input, ImageR
Image processImageOperations(List<ImageOperation> const& operations, Image input, ImageReferenceCallback refCallback = {});
}
-
-#endif
diff --git a/source/core/StarInputEvent.hpp b/source/core/StarInputEvent.hpp
index 896b192..fefca1b 100644
--- a/source/core/StarInputEvent.hpp
+++ b/source/core/StarInputEvent.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INPUT_EVENT_HPP
-#define STAR_INPUT_EVENT_HPP
+#pragma once
#include "StarString.hpp"
#include "StarBiMap.hpp"
@@ -308,5 +307,3 @@ inline KeyMod& operator&=(KeyMod& a, KeyMod b) {
}
}
-
-#endif
diff --git a/source/core/StarInterpolation.hpp b/source/core/StarInterpolation.hpp
index 426f37d..fb991d6 100644
--- a/source/core/StarInterpolation.hpp
+++ b/source/core/StarInterpolation.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INTERPOLATE_BASE
-#define STAR_INTERPOLATE_BASE
+#pragma once
#include "StarMathCommon.hpp"
#include "StarArray.hpp"
@@ -450,5 +449,3 @@ typename YContainer::value_type parametricInterpolate4(XContainer const& xvals,
}
}
-
-#endif
diff --git a/source/core/StarIterator.hpp b/source/core/StarIterator.hpp
index 389740a..fd7853c 100644
--- a/source/core/StarIterator.hpp
+++ b/source/core/StarIterator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITERATOR_H
-#define STAR_ITERATOR_H
+#pragma once
#include <algorithm>
@@ -433,5 +432,3 @@ SMutableMapIterator<Container> makeSMutableMapIterator(Container& c) {
}
}
-
-#endif
diff --git a/source/core/StarJson.hpp b/source/core/StarJson.hpp
index 19f390e..4aa6f7b 100644
--- a/source/core/StarJson.hpp
+++ b/source/core/StarJson.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_HPP
-#define STAR_JSON_HPP
+#pragma once
#include "StarDataStream.hpp"
#include "StarVariant.hpp"
@@ -360,5 +359,3 @@ Json jsonMergeQueryDef(String const& key, Json def, Json const& first, T const&.
template <> struct fmt::formatter<Star::Json> : ostream_formatter {};
template <> struct fmt::formatter<Star::JsonObject> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarJsonBuilder.hpp b/source/core/StarJsonBuilder.hpp
index 6be9e54..ea0df46 100644
--- a/source/core/StarJsonBuilder.hpp
+++ b/source/core/StarJsonBuilder.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_BUILDER_HPP
-#define STAR_JSON_BUILDER_HPP
+#pragma once
#include "StarJsonParser.hpp"
#include "StarJson.hpp"
@@ -100,5 +99,3 @@ void outputUtf32Json(Jsonlike const& val, OutputIterator out, int pretty, bool s
}
}
-
-#endif
diff --git a/source/core/StarJsonExtra.hpp b/source/core/StarJsonExtra.hpp
index 98de98b..2a0ca28 100644
--- a/source/core/StarJsonExtra.hpp
+++ b/source/core/StarJsonExtra.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_EXTRA_HPP
-#define STAR_JSON_EXTRA_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarPoly.hpp"
@@ -383,5 +382,3 @@ Polygon<Float> fixInsideOutPoly(Polygon<Float> p) {
}
}
-
-#endif
diff --git a/source/core/StarJsonParser.hpp b/source/core/StarJsonParser.hpp
index 522f434..91d93bb 100644
--- a/source/core/StarJsonParser.hpp
+++ b/source/core/StarJsonParser.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_PARSER_HPP
-#define STAR_JSON_PARSER_HPP
+#pragma once
#include <vector>
@@ -730,5 +729,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarJsonPatch.hpp b/source/core/StarJsonPatch.hpp
index 1cf689c..bd331c4 100644
--- a/source/core/StarJsonPatch.hpp
+++ b/source/core/StarJsonPatch.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_PATCH_HPP
-#define STAR_JSON_PATCH_HPP
+#pragma once
#include "StarJson.hpp"
@@ -37,5 +36,3 @@ namespace JsonPatching {
}
}
-
-#endif
diff --git a/source/core/StarJsonPath.hpp b/source/core/StarJsonPath.hpp
index bd60dad..e1f758b 100644
--- a/source/core/StarJsonPath.hpp
+++ b/source/core/StarJsonPath.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_PATH_HPP
-#define STAR_JSON_PATH_HPP
+#pragma once
#include "StarLexicalCast.hpp"
#include "StarJson.hpp"
@@ -328,5 +327,3 @@ namespace JsonPath {
}
}
-
-#endif
diff --git a/source/core/StarJsonRpc.hpp b/source/core/StarJsonRpc.hpp
index 651e717..b767703 100644
--- a/source/core/StarJsonRpc.hpp
+++ b/source/core/StarJsonRpc.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JSON_RPC_HPP
-#define STAR_JSON_RPC_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarByteArray.hpp"
@@ -50,5 +49,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarLexicalCast.hpp b/source/core/StarLexicalCast.hpp
index 7c43137..9c671e9 100644
--- a/source/core/StarLexicalCast.hpp
+++ b/source/core/StarLexicalCast.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LEXICAL_CAST_HPP
-#define STAR_LEXICAL_CAST_HPP
+#pragma once
#include "StarFormat.hpp"
#include "StarString.hpp"
@@ -43,5 +42,3 @@ Type lexicalCast(StringView s, std::ios_base::fmtflags flags = std::ios_base::bo
}
}
-
-#endif
diff --git a/source/core/StarLine.hpp b/source/core/StarLine.hpp
index 2ca8cdd..30c1705 100644
--- a/source/core/StarLine.hpp
+++ b/source/core/StarLine.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LINE_HPP
-#define STAR_LINE_HPP
+#pragma once
#include "StarMatrix3.hpp"
@@ -288,5 +287,3 @@ struct hash<Line<T, N>> {
template <typename T, size_t N>
struct fmt::formatter<Star::Line<T, N>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarList.hpp b/source/core/StarList.hpp
index cf7c6a6..1637dea 100644
--- a/source/core/StarList.hpp
+++ b/source/core/StarList.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LIST_HPP
-#define STAR_LIST_HPP
+#pragma once
#include <vector>
#include <deque>
@@ -1137,5 +1136,3 @@ typename ListEnumerateTypes<Container>::Result enumerate(Container&& container)
template <typename BaseList>
struct fmt::formatter<Star::ListMixin<BaseList>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarListener.hpp b/source/core/StarListener.hpp
index 51a8237..6c38e37 100644
--- a/source/core/StarListener.hpp
+++ b/source/core/StarListener.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LISTENER_HPP
-#define STAR_LISTENER_HPP
+#pragma once
#include "StarThread.hpp"
@@ -63,5 +62,3 @@ inline void TrackerListener::trigger() {
}
}
-
-#endif
diff --git a/source/core/StarLockFile.hpp b/source/core/StarLockFile.hpp
index af89c7f..a836cee 100644
--- a/source/core/StarLockFile.hpp
+++ b/source/core/StarLockFile.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LOCK_FILE_HPP
-#define STAR_LOCK_FILE_HPP
+#pragma once
#include "StarMaybe.hpp"
#include "StarString.hpp"
@@ -38,5 +37,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarLogging.hpp b/source/core/StarLogging.hpp
index 6e909fb..4f93d8a 100644
--- a/source/core/StarLogging.hpp
+++ b/source/core/StarLogging.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LOGGING_HPP
-#define STAR_LOGGING_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarSet.hpp"
@@ -197,5 +196,3 @@ void LogMap::set(String const& key, T const& t) {
}
}
-
-#endif
diff --git a/source/core/StarLruCache.hpp b/source/core/StarLruCache.hpp
index a59ed03..c4cde0f 100644
--- a/source/core/StarLruCache.hpp
+++ b/source/core/StarLruCache.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LRU_CACHE_HPP
-#define STAR_LRU_CACHE_HPP
+#pragma once
#include "StarOrderedMap.hpp"
#include "StarBlockAllocator.hpp"
@@ -145,5 +144,3 @@ void LruCacheBase<OrderedMapType>::clear() {
}
}
-
-#endif
diff --git a/source/core/StarLua.hpp b/source/core/StarLua.hpp
index d138c8b..84fc256 100644
--- a/source/core/StarLua.hpp
+++ b/source/core/StarLua.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_HPP
-#define STAR_LUA_HPP
+#pragma once
#include <typeindex>
#include <type_traits>
@@ -2224,5 +2223,3 @@ size_t LuaEngine::pushArguments(lua_State* state, Args const&... args) {
}
template <> struct fmt::formatter<Star::LuaValue> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarLuaConverters.hpp b/source/core/StarLuaConverters.hpp
index 277f691..d9dfc67 100644
--- a/source/core/StarLuaConverters.hpp
+++ b/source/core/StarLuaConverters.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LUA_CONVERTERS_HPP
-#define STAR_LUA_CONVERTERS_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarVector.hpp"
@@ -284,5 +283,3 @@ struct LuaConverter<LuaCallbacks> {
};
}
-
-#endif
diff --git a/source/core/StarMap.hpp b/source/core/StarMap.hpp
index 187f4cf..b50add2 100644
--- a/source/core/StarMap.hpp
+++ b/source/core/StarMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAP_HPP
-#define STAR_MAP_HPP
+#pragma once
#include <map>
#include <unordered_map>
@@ -317,5 +316,3 @@ std::ostream& operator<<(std::ostream& os, MapMixin<BaseMap> const& m) {
template <typename BaseMap>
struct fmt::formatter<Star::MapMixin<BaseMap>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarMathCommon.hpp b/source/core/StarMathCommon.hpp
index 27d2976..1627edb 100644
--- a/source/core/StarMathCommon.hpp
+++ b/source/core/StarMathCommon.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MATH_COMMON_HPP
-#define STAR_MATH_COMMON_HPP
+#pragma once
#include <type_traits>
#include <limits>
@@ -324,5 +323,3 @@ Integer cycleIncrement(Integer val, Integer min, Integer max) {
}
}
-
-#endif
diff --git a/source/core/StarMatrix3.hpp b/source/core/StarMatrix3.hpp
index 3fb8162..04d8005 100644
--- a/source/core/StarMatrix3.hpp
+++ b/source/core/StarMatrix3.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MATRIX3_HPP
-#define STAR_MATRIX3_HPP
+#pragma once
#include "StarVector.hpp"
@@ -455,5 +454,3 @@ std::ostream& operator<<(std::ostream& os, Matrix3<T> m) {
template <typename T>
struct fmt::formatter<Star::Matrix3<T>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarMaybe.hpp b/source/core/StarMaybe.hpp
index 2c53bcb..9576ee6 100644
--- a/source/core/StarMaybe.hpp
+++ b/source/core/StarMaybe.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAYBE_HPP
-#define STAR_MAYBE_HPP
+#pragma once
#include "StarException.hpp"
#include "StarHash.hpp"
@@ -399,5 +398,3 @@ size_t hash<Maybe<T>>::operator()(Maybe<T> const& m) const {
template <typename T>
struct fmt::formatter<Star::Maybe<T>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarMemory.hpp b/source/core/StarMemory.hpp
index a75ee20..b498e27 100644
--- a/source/core/StarMemory.hpp
+++ b/source/core/StarMemory.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MEMORY_HPP
-#define STAR_MEMORY_HPP
+#pragma once
#include <new>
@@ -16,5 +15,3 @@ void free(void* ptr);
void free(void* ptr, size_t size);
}
-
-#endif
diff --git a/source/core/StarMultiArray.hpp b/source/core/StarMultiArray.hpp
index bb33490..057653e 100644
--- a/source/core/StarMultiArray.hpp
+++ b/source/core/StarMultiArray.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MULTI_ARRAY_HPP
-#define STAR_MULTI_ARRAY_HPP
+#pragma once
#include "StarArray.hpp"
#include "StarList.hpp"
@@ -509,5 +508,3 @@ std::ostream& operator<<(std::ostream& os, MultiArray<Element, Rank> const& arra
template <typename Element, size_t Rank>
struct fmt::formatter<Star::MultiArray<Element, Rank>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarMultiArrayInterpolator.hpp b/source/core/StarMultiArrayInterpolator.hpp
index 40a708d..93cdcc5 100644
--- a/source/core/StarMultiArrayInterpolator.hpp
+++ b/source/core/StarMultiArrayInterpolator.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MULTI_ARRAY_INTERPOLATOR_HPP
-#define STAR_MULTI_ARRAY_INTERPOLATOR_HPP
+#pragma once
#include "StarMultiArray.hpp"
#include "StarInterpolation.hpp"
@@ -535,5 +534,3 @@ struct MultiArrayInterpolator4<MultiArray<ElementT, 3>, PositionT> {
};
}
-
-#endif
diff --git a/source/core/StarMultiTable.hpp b/source/core/StarMultiTable.hpp
index 3a44634..ca00de4 100644
--- a/source/core/StarMultiTable.hpp
+++ b/source/core/StarMultiTable.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MULTI_TABLE_HPP
-#define STAR_MULTI_TABLE_HPP
+#pragma once
#include "StarMultiArrayInterpolator.hpp"
@@ -165,5 +164,3 @@ typedef MultiTable<float, float, 4> MultiTable4F;
typedef MultiTable<double, double, 4> MultiTable4D;
}
-
-#endif
diff --git a/source/core/StarNetElement.hpp b/source/core/StarNetElement.hpp
index 5d21fe3..dd909b8 100644
--- a/source/core/StarNetElement.hpp
+++ b/source/core/StarNetElement.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_HPP
-#define STAR_NET_ELEMENT_HPP
+#pragma once
#include "StarDataStream.hpp"
@@ -58,5 +57,3 @@ public:
};
}
-
-#endif
diff --git a/source/core/StarNetElementBasicFields.hpp b/source/core/StarNetElementBasicFields.hpp
index 2d9f8e5..693c6c3 100644
--- a/source/core/StarNetElementBasicFields.hpp
+++ b/source/core/StarNetElementBasicFields.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_STEP_STATES_HPP
-#define STAR_NET_STEP_STATES_HPP
+#pragma once
#include <type_traits>
@@ -327,5 +326,3 @@ void NetElementData<T>::writeData(DataStream& ds, T const& v) const {
}
}
-
-#endif
diff --git a/source/core/StarNetElementContainers.hpp b/source/core/StarNetElementContainers.hpp
index b48755d..62cce86 100644
--- a/source/core/StarNetElementContainers.hpp
+++ b/source/core/StarNetElementContainers.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_CONTAINERS_HPP
-#define STAR_NET_ELEMENT_CONTAINERS_HPP
+#pragma once
#include "StarMap.hpp"
#include "StarDataStreamExtra.hpp"
@@ -448,5 +447,3 @@ void NetElementMapWrapper<BaseMap>::applyChange(ElementChange change) {
}
}
-
-#endif
diff --git a/source/core/StarNetElementDynamicGroup.hpp b/source/core/StarNetElementDynamicGroup.hpp
index 75d11c8..4f3a2d3 100644
--- a/source/core/StarNetElementDynamicGroup.hpp
+++ b/source/core/StarNetElementDynamicGroup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_DYNAMIC_GROUP_HPP
-#define STAR_NET_ELEMENT_DYNAMIC_GROUP_HPP
+#pragma once
#include "StarNetElement.hpp"
#include "StarIdMap.hpp"
@@ -313,5 +312,3 @@ void NetElementDynamicGroup<Element>::readyElement(ElementPtr const& element) {
}
}
-
-#endif
diff --git a/source/core/StarNetElementFloatFields.hpp b/source/core/StarNetElementFloatFields.hpp
index 20895cd..57f74a9 100644
--- a/source/core/StarNetElementFloatFields.hpp
+++ b/source/core/StarNetElementFloatFields.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_FLOAT_FIELDS_HPP
-#define STAR_NET_ELEMENT_FLOAT_FIELDS_HPP
+#pragma once
#include <type_traits>
@@ -242,5 +241,3 @@ T NetElementFloating<T>::interpolate() const {
}
}
-
-#endif
diff --git a/source/core/StarNetElementGroup.hpp b/source/core/StarNetElementGroup.hpp
index d583818..fd1bf58 100644
--- a/source/core/StarNetElementGroup.hpp
+++ b/source/core/StarNetElementGroup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_GROUP_HPP
-#define STAR_NET_ELEMENT_GROUP_HPP
+#pragma once
#include "StarSet.hpp"
#include "StarNetElement.hpp"
@@ -62,5 +61,3 @@ inline float NetElementGroup::netExtrapolationHint() const {
}
}
-
-#endif
diff --git a/source/core/StarNetElementSignal.hpp b/source/core/StarNetElementSignal.hpp
index 03a2586..9faa127 100644
--- a/source/core/StarNetElementSignal.hpp
+++ b/source/core/StarNetElementSignal.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_SIGNAL_HPP
-#define STAR_NET_ELEMENT_SIGNAL_HPP
+#pragma once
#include "StarNetElement.hpp"
@@ -141,5 +140,3 @@ List<Signal> NetElementSignal<Signal>::receive() {
}
}
-
-#endif
diff --git a/source/core/StarNetElementSyncGroup.hpp b/source/core/StarNetElementSyncGroup.hpp
index 2162ebe..b01200b 100644
--- a/source/core/StarNetElementSyncGroup.hpp
+++ b/source/core/StarNetElementSyncGroup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_SYNC_GROUP_HPP
-#define STAR_NET_ELEMENT_SYNC_GROUP_HPP
+#pragma once
#include "StarNetElementGroup.hpp"
@@ -50,5 +49,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarNetElementSystem.hpp b/source/core/StarNetElementSystem.hpp
index d5a3560..c651de7 100644
--- a/source/core/StarNetElementSystem.hpp
+++ b/source/core/StarNetElementSystem.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NET_ELEMENT_SYSTEM_HPP
-#define STAR_NET_ELEMENT_SYSTEM_HPP
+#pragma once
#include "StarNetElementBasicFields.hpp"
#include "StarNetElementFloatFields.hpp"
@@ -15,5 +14,3 @@ namespace Star {
typedef NetElementTop<NetElementCallbackGroup> NetElementTopGroup;
}
-
-#endif
diff --git a/source/core/StarNetImpl.hpp b/source/core/StarNetImpl.hpp
index 076b181..a84da6d 100644
--- a/source/core/StarNetImpl.hpp
+++ b/source/core/StarNetImpl.hpp
@@ -1,3 +1,5 @@
+#pragma once
+
#ifdef STAR_SYSTEM_FAMILY_WINDOWS
#include <winsock2.h>
#include <ws2tcpip.h>
diff --git a/source/core/StarObserverStream.hpp b/source/core/StarObserverStream.hpp
index 61c4f91..f78f07f 100644
--- a/source/core/StarObserverStream.hpp
+++ b/source/core/StarObserverStream.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OBSERVER_STREAM_HPP
-#define STAR_OBSERVER_STREAM_HPP
+#pragma once
#include "StarList.hpp"
@@ -94,5 +93,3 @@ void ObserverStream<T>::reset() {
}
}
-
-#endif
diff --git a/source/core/StarOptionParser.hpp b/source/core/StarOptionParser.hpp
index b17b040..946724c 100644
--- a/source/core/StarOptionParser.hpp
+++ b/source/core/StarOptionParser.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OPTION_PARSER_HPP
-#define STAR_OPTION_PARSER_HPP
+#pragma once
#include "StarString.hpp"
#include "StarVariant.hpp"
@@ -80,5 +79,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarOrderedMap.hpp b/source/core/StarOrderedMap.hpp
index 50482bf..11d1b78 100644
--- a/source/core/StarOrderedMap.hpp
+++ b/source/core/StarOrderedMap.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ORDERED_MAP_HPP
-#define STAR_ORDERED_MAP_HPP
+#pragma once
#include "StarMap.hpp"
@@ -656,5 +655,3 @@ std::ostream& operator<<(std::ostream& os, OrderedMapWrapper<Map, Key, Value, Al
template <template <typename...> class Map, typename Key, typename Value, typename Allocator, typename... MapArgs>
struct fmt::formatter<Star::OrderedMapWrapper<Map, Key, Value, Allocator, MapArgs...>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarOrderedSet.hpp b/source/core/StarOrderedSet.hpp
index 4645a38..b9ebc58 100644
--- a/source/core/StarOrderedSet.hpp
+++ b/source/core/StarOrderedSet.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ORDERED_SET_HPP
-#define STAR_ORDERED_SET_HPP
+#pragma once
#include <map>
@@ -429,5 +428,3 @@ std::ostream& operator<<(std::ostream& os, OrderedSetWrapper<Map, Value, Allocat
template <template <typename...> class Map, typename Value, typename Allocator, typename... Args>
struct fmt::formatter<Star::OrderedSetWrapper<Map, Value, Allocator, Args...>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarOutputProxy.hpp b/source/core/StarOutputProxy.hpp
index d8761fa..bd8be65 100644
--- a/source/core/StarOutputProxy.hpp
+++ b/source/core/StarOutputProxy.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OUTPUT_PROXY_HPP
-#define STAR_OUTPUT_PROXY_HPP
+#pragma once
#include "StarMemory.hpp"
@@ -64,5 +63,3 @@ inline std::ostream& operator<<(std::ostream& os, OutputProxy const& p) {
template <typename T>
struct fmt::formatter<Star::OutputAnyDetail::Wrapper<T>> : ostream_formatter {};
template <> struct fmt::formatter<Star::OutputProxy> : ostream_formatter {};
-
-#endif \ No newline at end of file
diff --git a/source/core/StarParametricFunction.hpp b/source/core/StarParametricFunction.hpp
index 64bede2..b4e6d32 100644
--- a/source/core/StarParametricFunction.hpp
+++ b/source/core/StarParametricFunction.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PARAMETRIC_FUNCTION_HPP
-#define STAR_PARAMETRIC_FUNCTION_HPP
+#pragma once
#include "StarInterpolation.hpp"
@@ -284,5 +283,3 @@ ValueType ParametricFunction<IndexType, ValueType>::operator()(IndexType index)
}
}
-
-#endif
diff --git a/source/core/StarPch.hpp b/source/core/StarPch.hpp
index 7757a41..6837f14 100644
--- a/source/core/StarPch.hpp
+++ b/source/core/StarPch.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PCH_HPP
-#define STAR_PCH_HPP
+#pragma once
#include <cstdint>
#include <cstdlib>
@@ -21,6 +20,3 @@
#include <iterator>
#include <type_traits>
#include <vector>
-
-
-#endif \ No newline at end of file
diff --git a/source/core/StarPeriodic.hpp b/source/core/StarPeriodic.hpp
index 2cf24cc..4940c1d 100644
--- a/source/core/StarPeriodic.hpp
+++ b/source/core/StarPeriodic.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PERIODIC_HPP
-#define STAR_PERIODIC_HPP
+#pragma once
#include "StarMathCommon.hpp"
#include "StarRandom.hpp"
@@ -94,5 +93,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarPeriodicFunction.hpp b/source/core/StarPeriodicFunction.hpp
index ee74808..cb9e444 100644
--- a/source/core/StarPeriodicFunction.hpp
+++ b/source/core/StarPeriodicFunction.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PERIODIC_FUNCTION_HPP
-#define STAR_PERIODIC_FUNCTION_HPP
+#pragma once
#include "StarInterpolation.hpp"
#include "StarRandom.hpp"
@@ -78,5 +77,3 @@ Float PeriodicFunction<Float>::value(WeightOperator weightOperator) const {
}
}
-
-#endif
diff --git a/source/core/StarPerlin.hpp b/source/core/StarPerlin.hpp
index 294f80f..e3ed68a 100644
--- a/source/core/StarPerlin.hpp
+++ b/source/core/StarPerlin.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PERLIN_HPP
-#define STAR_PERLIN_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarBiMap.hpp"
@@ -714,5 +713,3 @@ inline Float Perlin<Float>::billow(Float x, Float y, Float z) const {
}
}
-
-#endif
diff --git a/source/core/StarPoly.hpp b/source/core/StarPoly.hpp
index 806b495..8dc2c19 100644
--- a/source/core/StarPoly.hpp
+++ b/source/core/StarPoly.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_POLY_HPP
-#define STAR_POLY_HPP
+#pragma once
#include <numeric>
@@ -746,5 +745,3 @@ std::ostream& operator<<(std::ostream& os, Polygon<DataType> const& poly) {
}
}
-
-#endif
diff --git a/source/core/StarPythonic.hpp b/source/core/StarPythonic.hpp
index 0131130..a5f76dc 100644
--- a/source/core/StarPythonic.hpp
+++ b/source/core/StarPythonic.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PYTHONIC_HPP
-#define STAR_PYTHONIC_HPP
+#pragma once
#include "StarAlgorithm.hpp"
@@ -605,5 +604,3 @@ ResultContainer enumerateConstruct(Iterable&& list) {
}
}
-
-#endif
diff --git a/source/core/StarRandom.hpp b/source/core/StarRandom.hpp
index c39f6ef..a67a2c5 100644
--- a/source/core/StarRandom.hpp
+++ b/source/core/StarRandom.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RANDOM_HPP
-#define STAR_RANDOM_HPP
+#pragma once
#include "StarStaticRandom.hpp"
#include "StarByteArray.hpp"
@@ -214,5 +213,3 @@ void Random::shuffle(Container& container) {
}
}
-
-#endif
diff --git a/source/core/StarRandomPoint.hpp b/source/core/StarRandomPoint.hpp
index ac9fcd9..5fa73ab 100644
--- a/source/core/StarRandomPoint.hpp
+++ b/source/core/StarRandomPoint.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RANDOM_POINT_HPP
-#define STAR_RANDOM_POINT_HPP
+#pragma once
#include "StarRandom.hpp"
#include "StarPoly.hpp"
@@ -76,5 +75,3 @@ auto Random2dPointGenerator<PointData, DataType>::generate(Poly const& area, Poi
}
}
-
-#endif
diff --git a/source/core/StarRect.hpp b/source/core/StarRect.hpp
index 3525204..a32ba91 100644
--- a/source/core/StarRect.hpp
+++ b/source/core/StarRect.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RECT_HPP
-#define STAR_RECT_HPP
+#pragma once
#include "StarLine.hpp"
#include "StarList.hpp"
@@ -1075,5 +1074,3 @@ auto Box<T, N>::nearestCoordTo(Coord const& c) const -> Coord {
template <typename T, size_t N>
struct fmt::formatter<Star::Box<T, N>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarRefPtr.hpp b/source/core/StarRefPtr.hpp
index 8fabcdb..6309332 100644
--- a/source/core/StarRefPtr.hpp
+++ b/source/core/StarRefPtr.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_REF_PTR_HPP
-#define STAR_REF_PTR_HPP
+#pragma once
#include "StarException.hpp"
#include "StarHash.hpp"
@@ -299,5 +298,3 @@ inline RefCounter::RefCounter()
: m_refCounter(0) {}
}
-
-#endif
diff --git a/source/core/StarRpcPromise.hpp b/source/core/StarRpcPromise.hpp
index 7a08750..f8ae47a 100644
--- a/source/core/StarRpcPromise.hpp
+++ b/source/core/StarRpcPromise.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RPC_PROMISE_HPP
-#define STAR_RPC_PROMISE_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarString.hpp"
@@ -171,5 +170,3 @@ decltype(auto) RpcPromise<Result, Error>::wrap(Function function) {
}
}
-
-#endif
diff --git a/source/core/StarRpcThreadPromise.hpp b/source/core/StarRpcThreadPromise.hpp
index 043d0e7..896d21d 100644
--- a/source/core/StarRpcThreadPromise.hpp
+++ b/source/core/StarRpcThreadPromise.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RPC_THREAD_PROMISE_HPP
-#define STAR_RPC_THREAD_PROMISE_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarString.hpp"
@@ -160,5 +159,3 @@ Maybe<Error> RpcThreadPromise<Result, Error>::error() const {
}
}
-
-#endif
diff --git a/source/core/StarSectorArray2D.hpp b/source/core/StarSectorArray2D.hpp
index 1dd88a1..0fea5b0 100644
--- a/source/core/StarSectorArray2D.hpp
+++ b/source/core/StarSectorArray2D.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SECTOR_SET_HPP
-#define STAR_SECTOR_SET_HPP
+#pragma once
#include "StarMultiArray.hpp"
#include "StarSet.hpp"
@@ -374,5 +373,3 @@ bool SectorArray2D<ElementT, SectorSize>::evalColumnsPriv(
}
}
-
-#endif
diff --git a/source/core/StarSecureRandom.hpp b/source/core/StarSecureRandom.hpp
index e4110b0..d8b9754 100644
--- a/source/core/StarSecureRandom.hpp
+++ b/source/core/StarSecureRandom.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SECURE_RANDOM_HPP
-#define STAR_SECURE_RANDOM_HPP
+#pragma once
#include "StarByteArray.hpp"
@@ -10,5 +9,3 @@ namespace Star {
ByteArray secureRandomBytes(size_t size);
}
-
-#endif
diff --git a/source/core/StarSet.hpp b/source/core/StarSet.hpp
index f32a46c..3d7af0b 100644
--- a/source/core/StarSet.hpp
+++ b/source/core/StarSet.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SET_HPP
-#define STAR_SET_HPP
+#pragma once
#include <set>
#include <unordered_set>
@@ -318,5 +317,3 @@ HashSetMixin<BaseMap> HashSetMixin<BaseMap>::combination(HashSetMixin const& s)
}
}
-
-#endif
diff --git a/source/core/StarSha256.hpp b/source/core/StarSha256.hpp
index 6a9abd4..91d2591 100644
--- a/source/core/StarSha256.hpp
+++ b/source/core/StarSha256.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SHA_256_HPP
-#define STAR_SHA_256_HPP
+#pragma once
#include "StarString.hpp"
#include "StarByteArray.hpp"
@@ -40,5 +39,3 @@ ByteArray sha256(ByteArray const& in);
ByteArray sha256(String const& in);
}
-
-#endif
diff --git a/source/core/StarShellParser.hpp b/source/core/StarShellParser.hpp
index 8e89273..b8e77d0 100644
--- a/source/core/StarShellParser.hpp
+++ b/source/core/StarShellParser.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SHELL_PARSER_HPP
-#define STAR_SHELL_PARSER_HPP
+#pragma once
#include "StarString.hpp"
#include "StarEncode.hpp"
@@ -62,5 +61,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarSignalHandler.hpp b/source/core/StarSignalHandler.hpp
index 0b70d71..6bb8381 100644
--- a/source/core/StarSignalHandler.hpp
+++ b/source/core/StarSignalHandler.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SIGNAL_HANDLER_HPP
-#define STAR_SIGNAL_HANDLER_HPP
+#pragma once
#include "StarException.hpp"
@@ -33,5 +32,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarSmallVector.hpp b/source/core/StarSmallVector.hpp
index 77dc7a5..986a3a3 100644
--- a/source/core/StarSmallVector.hpp
+++ b/source/core/StarSmallVector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SMALL_VECTOR_HPP
-#define STAR_SMALL_VECTOR_HPP
+#pragma once
#include "StarAlgorithm.hpp"
@@ -443,5 +442,3 @@ bool SmallVector<Element, MaxStackSize>::isHeapAllocated() const {
}
}
-
-#endif
diff --git a/source/core/StarSocket.hpp b/source/core/StarSocket.hpp
index 1efe2c2..252f1ba 100644
--- a/source/core/StarSocket.hpp
+++ b/source/core/StarSocket.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SOCKET_HPP
-#define STAR_SOCKET_HPP
+#pragma once
#include "StarHostAddress.hpp"
#include "StarThread.hpp"
@@ -94,5 +93,3 @@ protected:
};
}
-
-#endif
diff --git a/source/core/StarSpatialHash2D.hpp b/source/core/StarSpatialHash2D.hpp
index 87f70e3..9534d31 100644
--- a/source/core/StarSpatialHash2D.hpp
+++ b/source/core/StarSpatialHash2D.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SPATIAL_HASH_2D_HPP
-#define STAR_SPATIAL_HASH_2D_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarMap.hpp"
@@ -333,5 +332,3 @@ void SpatialHash2D<KeyT, ScalarT, ValueT, IntT, AllocatorBlockSize>::updateSpati
}
}
-
-#endif
diff --git a/source/core/StarSpline.hpp b/source/core/StarSpline.hpp
index 4656eaa..3de7a28 100644
--- a/source/core/StarSpline.hpp
+++ b/source/core/StarSpline.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SPLINE_HPP
-#define STAR_SPLINE_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarInterpolation.hpp"
@@ -154,5 +153,3 @@ protected:
typedef Spline<float, 2, 3, Vec2F> CSplineF;
}
-
-#endif
diff --git a/source/core/StarStaticRandom.hpp b/source/core/StarStaticRandom.hpp
index b55b411..1b355c4 100644
--- a/source/core/StarStaticRandom.hpp
+++ b/source/core/StarStaticRandom.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATIC_RANDOM_HPP
-#define STAR_STATIC_RANDOM_HPP
+#pragma once
#include "StarString.hpp"
#include "StarXXHash.hpp"
@@ -143,5 +142,3 @@ void staticRandomShuffle(Container& container, T const& d, TL const&... rest) {
}
}
-
-#endif
diff --git a/source/core/StarStaticVector.hpp b/source/core/StarStaticVector.hpp
index 91a2e41..0407400 100644
--- a/source/core/StarStaticVector.hpp
+++ b/source/core/StarStaticVector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATIC_VECTOR_HPP
-#define STAR_STATIC_VECTOR_HPP
+#pragma once
#include "StarException.hpp"
#include "StarFormat.hpp"
@@ -400,5 +399,3 @@ bool StaticVector<Element, MaxSize>::operator<(StaticVector const& other) const
}
}
-
-#endif
diff --git a/source/core/StarString.hpp b/source/core/StarString.hpp
index 10f5b9f..154a4bc 100644
--- a/source/core/StarString.hpp
+++ b/source/core/StarString.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STRING_HPP
-#define STAR_STRING_HPP
+#pragma once
#include "StarUnicode.hpp"
#include "StarHash.hpp"
@@ -522,5 +521,3 @@ StringList StringList::sorted(Comparator&& comparator) const {
template <> struct fmt::formatter<Star::String> : formatter<std::string> {
fmt::appender format(Star::String const& s, format_context& ctx) const;
};
-
-#endif
diff --git a/source/core/StarStringView.hpp b/source/core/StarStringView.hpp
index 5598d0f..1412342 100644
--- a/source/core/StarStringView.hpp
+++ b/source/core/StarStringView.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STRING_VIEW_HPP
-#define STAR_STRING_VIEW_HPP
+#pragma once
#include "StarString.hpp"
@@ -120,5 +119,3 @@ private:
template <> struct fmt::formatter<Star::StringView> : formatter<std::string_view> {
fmt::appender format(Star::StringView const& s, format_context& ctx) const;
};
-
-#endif \ No newline at end of file
diff --git a/source/core/StarString_windows.hpp b/source/core/StarString_windows.hpp
index e681a9b..30665ba 100644
--- a/source/core/StarString_windows.hpp
+++ b/source/core/StarString_windows.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STRING_WINDOWS_HPP
-#define STAR_STRING_WINDOWS_HPP
+#pragma once
#include <windows.h>
@@ -11,5 +10,3 @@ String utf16ToString(WCHAR const* s);
unique_ptr<WCHAR[]> stringToUtf16(String const& s);
}
-
-#endif
diff --git a/source/core/StarStrongTypedef.hpp b/source/core/StarStrongTypedef.hpp
index f5cb5ac..4ee12cd 100644
--- a/source/core/StarStrongTypedef.hpp
+++ b/source/core/StarStrongTypedef.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STRONG_TYPEDEF_HPP
-#define STAR_STRONG_TYPEDEF_HPP
+#pragma once
#include <type_traits>
@@ -101,5 +100,3 @@
return t >= rhs.t; \
} \
}
-
-#endif
diff --git a/source/core/StarTcp.hpp b/source/core/StarTcp.hpp
index 362788e..f4b9073 100644
--- a/source/core/StarTcp.hpp
+++ b/source/core/StarTcp.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TCP_HPP
-#define STAR_TCP_HPP
+#pragma once
#include "StarIODevice.hpp"
#include "StarSocket.hpp"
@@ -71,5 +70,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarText.hpp b/source/core/StarText.hpp
index 63034a8..4f6a97a 100644
--- a/source/core/StarText.hpp
+++ b/source/core/StarText.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_TEXT_HPP
-#define STAR_TEXT_HPP
+#pragma once
+
#include "StarString.hpp"
#include "StarStringView.hpp"
@@ -22,5 +22,3 @@ namespace Text {
}
}
-
-#endif \ No newline at end of file
diff --git a/source/core/StarThread.hpp b/source/core/StarThread.hpp
index 25d51b6..4198737 100644
--- a/source/core/StarThread.hpp
+++ b/source/core/StarThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_THREAD_HPP
-#define STAR_THREAD_HPP
+#pragma once
#include "StarException.hpp"
#include "StarString.hpp"
@@ -421,5 +420,3 @@ inline bool SpinLock::tryLock() {
}
}
-
-#endif
diff --git a/source/core/StarTickRateMonitor.hpp b/source/core/StarTickRateMonitor.hpp
index a50ff5e..6b5ab71 100644
--- a/source/core/StarTickRateMonitor.hpp
+++ b/source/core/StarTickRateMonitor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TICK_RATE_MONITOR_HPP
-#define STAR_TICK_RATE_MONITOR_HPP
+#pragma once
#include "StarList.hpp"
@@ -74,5 +73,3 @@ private:
};
};
-
-#endif
diff --git a/source/core/StarTime.hpp b/source/core/StarTime.hpp
index 0905a5d..c230a5c 100644
--- a/source/core/StarTime.hpp
+++ b/source/core/StarTime.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TIME_HPP
-#define STAR_TIME_HPP
+#pragma once
#include "StarThread.hpp"
@@ -108,5 +107,3 @@ public:
};
}
-
-#endif
diff --git a/source/core/StarTtlCache.hpp b/source/core/StarTtlCache.hpp
index 0824880..d0ac729 100644
--- a/source/core/StarTtlCache.hpp
+++ b/source/core/StarTtlCache.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TTL_CACHE_HPP
-#define STAR_TTL_CACHE_HPP
+#pragma once
#include "StarLruCache.hpp"
#include "StarTime.hpp"
@@ -199,5 +198,3 @@ void TtlCacheBase<LruCacheType>::cleanup(function<bool(Key const&, Value const&)
}
}
-
-#endif
diff --git a/source/core/StarUdp.hpp b/source/core/StarUdp.hpp
index 81d28a4..7dccd3a 100644
--- a/source/core/StarUdp.hpp
+++ b/source/core/StarUdp.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UDP_HPP
-#define STAR_UDP_HPP
+#pragma once
#include "StarSocket.hpp"
@@ -37,5 +36,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarUnicode.hpp b/source/core/StarUnicode.hpp
index 9abff3e..d2aa602 100644
--- a/source/core/StarUnicode.hpp
+++ b/source/core/StarUnicode.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UTF8_HPP
-#define STAR_UTF8_HPP
+#pragma once
#include "StarByteArray.hpp"
#include "StarMaybe.hpp"
@@ -229,5 +228,3 @@ private:
};
}
-
-#endif
diff --git a/source/core/StarUuid.hpp b/source/core/StarUuid.hpp
index 3b540fc..05e1abd 100644
--- a/source/core/StarUuid.hpp
+++ b/source/core/StarUuid.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_UUID_HPP
-#define STAR_UUID_HPP
+#pragma once
#include "StarArray.hpp"
#include "StarDataStream.hpp"
@@ -40,5 +39,3 @@ DataStream& operator>>(DataStream& ds, Uuid& uuid);
DataStream& operator<<(DataStream& ds, Uuid const& uuid);
}
-
-#endif
diff --git a/source/core/StarVariant.hpp b/source/core/StarVariant.hpp
index d70d960..049779a 100644
--- a/source/core/StarVariant.hpp
+++ b/source/core/StarVariant.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VARIANT_HPP
-#define STAR_VARIANT_HPP
+#pragma once
#include <type_traits>
#include <utility>
@@ -943,5 +942,3 @@ void MVariant<Types...>::ConstRefCaller<Function>::operator()(T const& t) {
template <typename FirstType, typename... RestTypes>
struct fmt::formatter<Star::Variant<FirstType, RestTypes...>> : ostream_formatter {};
-
-#endif
diff --git a/source/core/StarVector.hpp b/source/core/StarVector.hpp
index 16d9d42..367c1a6 100644
--- a/source/core/StarVector.hpp
+++ b/source/core/StarVector.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VECTOR_HPP
-#define STAR_VECTOR_HPP
+#pragma once
#include "StarArray.hpp"
#include "StarMathCommon.hpp"
@@ -920,5 +919,3 @@ T operator^(Vector<T, 2> const& v1, Vector<T, 2> const& v2) {
}
}
-
-#endif
diff --git a/source/core/StarVlqEncoding.hpp b/source/core/StarVlqEncoding.hpp
index 2139ed1..c247f11 100644
--- a/source/core/StarVlqEncoding.hpp
+++ b/source/core/StarVlqEncoding.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VLQ_ENCODING_HPP
-#define STAR_VLQ_ENCODING_HPP
+#pragma once
#include "StarMemory.hpp"
@@ -102,5 +101,3 @@ size_t readVlqI(int64_t& v, InputIterator in, size_t maxBytes = 10) {
}
}
-
-#endif
diff --git a/source/core/StarWeightedPool.hpp b/source/core/StarWeightedPool.hpp
index ce09f40..fbd53af 100644
--- a/source/core/StarWeightedPool.hpp
+++ b/source/core/StarWeightedPool.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WEIGHTED_POOL_HPP
-#define STAR_WEIGHTED_POOL_HPP
+#pragma once
#include "StarRandom.hpp"
@@ -192,5 +191,3 @@ size_t WeightedPool<Item>::selectIndex(double target) const {
}
}
-
-#endif
diff --git a/source/core/StarWorkerPool.hpp b/source/core/StarWorkerPool.hpp
index fcbd41c..4d07aad 100644
--- a/source/core/StarWorkerPool.hpp
+++ b/source/core/StarWorkerPool.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORKER_POOL_HPP
-#define STAR_WORKER_POOL_HPP
+#pragma once
#include "StarThread.hpp"
@@ -218,5 +217,3 @@ WorkerPoolPromise<ResultType> WorkerPool::addProducer(function<ResultType()> pro
}
}
-
-#endif
diff --git a/source/core/StarXXHash.hpp b/source/core/StarXXHash.hpp
index bce7566..eb29991 100644
--- a/source/core/StarXXHash.hpp
+++ b/source/core/StarXXHash.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_XXHASH_HPP
-#define STAR_XXHASH_HPP
+#pragma once
#include "StarString.hpp"
#include "StarByteArray.hpp"
@@ -204,5 +203,3 @@ inline uint64_t xxHash3(String const& in) {
return xxHash3(in.utf8Ptr(), in.utf8Size());
}
}
-
-#endif
diff --git a/source/frontend/StarActionBar.hpp b/source/frontend/StarActionBar.hpp
index 883b364..b5b2473 100644
--- a/source/frontend/StarActionBar.hpp
+++ b/source/frontend/StarActionBar.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ACTIONBAR_HPP
-#define STAR_ACTIONBAR_HPP
+#pragma once
#include "StarInventoryTypes.hpp"
#include "StarMainInterfaceTypes.hpp"
@@ -57,5 +56,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarAiInterface.hpp b/source/frontend/StarAiInterface.hpp
index 7a4a229..a800990 100644
--- a/source/frontend/StarAiInterface.hpp
+++ b/source/frontend/StarAiInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_AI_INTERFACE_HPP
-#define STAR_AI_INTERFACE_HPP
+#pragma once
#include "StarAiTypes.hpp"
#include "StarGameTimers.hpp"
@@ -141,5 +140,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarBaseScriptPane.hpp b/source/frontend/StarBaseScriptPane.hpp
index 9b7c38a..0c00547 100644
--- a/source/frontend/StarBaseScriptPane.hpp
+++ b/source/frontend/StarBaseScriptPane.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BASE_SCRIPT_PANE_HPP
-#define STAR_BASE_SCRIPT_PANE_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarLuaComponents.hpp"
@@ -50,5 +49,3 @@ protected:
};
}
-
-#endif
diff --git a/source/frontend/StarBindingsMenu.hpp b/source/frontend/StarBindingsMenu.hpp
index 53d08ed..7edecda 100644
--- a/source/frontend/StarBindingsMenu.hpp
+++ b/source/frontend/StarBindingsMenu.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BINDINGS_MENU_HPP
-#define STAR_BINDINGS_MENU_HPP
+#pragma once
#include "StarBaseScriptPane.hpp"
@@ -20,5 +19,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarBookmarkInterface.hpp b/source/frontend/StarBookmarkInterface.hpp
index 5e29e5f..b3412a4 100644
--- a/source/frontend/StarBookmarkInterface.hpp
+++ b/source/frontend/StarBookmarkInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BOOKMARK_INTERFACE_HPP
-#define STAR_BOOKMARK_INTERFACE_HPP
+#pragma once
#include "StarPlayerUniverseMap.hpp"
#include "StarPane.hpp"
@@ -29,5 +28,3 @@ private:
void setupBookmarkEntry(WidgetPtr const& entry, TeleportBookmark const& bookmark);
}
-
-#endif
diff --git a/source/frontend/StarCharCreation.hpp b/source/frontend/StarCharCreation.hpp
index 7a52f4f..a4fc555 100644
--- a/source/frontend/StarCharCreation.hpp
+++ b/source/frontend/StarCharCreation.hpp
@@ -1,5 +1,4 @@
-#ifndef _STAR_CHAR_CREATION_H_
-#define _STAR_CHAR_CREATION_H_
+#pragma once
#include "StarPane.hpp"
#include "StarImageProcessing.hpp"
@@ -57,5 +56,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarCharSelection.hpp b/source/frontend/StarCharSelection.hpp
index f797457..64e1343 100644
--- a/source/frontend/StarCharSelection.hpp
+++ b/source/frontend/StarCharSelection.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAR_SELECTION_HPP
-#define STAR_CHAR_SELECTION_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarPlayerStorage.hpp"
@@ -34,5 +33,3 @@ private:
};
typedef shared_ptr<CharSelectionPane> CharSelectionPanePtr;
}
-
-#endif
diff --git a/source/frontend/StarChat.hpp b/source/frontend/StarChat.hpp
index 7d9d127..28117ff 100644
--- a/source/frontend/StarChat.hpp
+++ b/source/frontend/StarChat.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAT_HPP
-#define STAR_CHAT_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarChatTypes.hpp"
@@ -99,5 +98,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarChatBubbleManager.hpp b/source/frontend/StarChatBubbleManager.hpp
index 9d8a867..cf46fcc 100644
--- a/source/frontend/StarChatBubbleManager.hpp
+++ b/source/frontend/StarChatBubbleManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAT_BUBBLE_MANAGER_HPP
-#define STAR_CHAT_BUBBLE_MANAGER_HPP
+#pragma once
#include "StarChatAction.hpp"
#include "StarTextPainter.hpp"
@@ -96,5 +95,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarChatBubbleSeparation.hpp b/source/frontend/StarChatBubbleSeparation.hpp
index dfe5167..03571cf 100644
--- a/source/frontend/StarChatBubbleSeparation.hpp
+++ b/source/frontend/StarChatBubbleSeparation.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CHAT_BUBBLE_SEPARATION_HPP
-#define STAR_CHAT_BUBBLE_SEPARATION_HPP
+#pragma once
#include "StarRect.hpp"
#include "StarList.hpp"
@@ -196,5 +195,3 @@ bool BubbleSeparator<T>::compareBubbleY(Bubble const& a, Bubble const& b) {
return a.currentDestination[1] < b.currentDestination[1];
}
}
-
-#endif
diff --git a/source/frontend/StarCinematic.hpp b/source/frontend/StarCinematic.hpp
index a86523a..15ff2cd 100644
--- a/source/frontend/StarCinematic.hpp
+++ b/source/frontend/StarCinematic.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CINEMATIC_HPP
-#define STAR_CINEMATIC_HPP
+#pragma once
#include "StarTime.hpp"
#include "StarRenderer.hpp"
@@ -139,5 +138,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarClientCommandProcessor.hpp b/source/frontend/StarClientCommandProcessor.hpp
index 2faf597..50e5a06 100644
--- a/source/frontend/StarClientCommandProcessor.hpp
+++ b/source/frontend/StarClientCommandProcessor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CLIENT_COMMAND_PROCESSOR_HPP
-#define STAR_CLIENT_COMMAND_PROCESSOR_HPP
+#pragma once
#include "StarShellParser.hpp"
#include "StarLuaComponents.hpp"
@@ -74,5 +73,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarCodexInterface.hpp b/source/frontend/StarCodexInterface.hpp
index bd8e103..e5a1235 100644
--- a/source/frontend/StarCodexInterface.hpp
+++ b/source/frontend/StarCodexInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CODEX_INTERFACE_HPP
-#define STAR_CODEX_INTERFACE_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarPlayerCodexes.hpp"
@@ -63,5 +62,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarConfirmationDialog.hpp b/source/frontend/StarConfirmationDialog.hpp
index 793f6a3..364f434 100644
--- a/source/frontend/StarConfirmationDialog.hpp
+++ b/source/frontend/StarConfirmationDialog.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONFIRMATION_DIALOG_HPP
-#define STAR_CONFIRMATION_DIALOG_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarRpcPromise.hpp"
@@ -34,5 +33,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarContainerInteractor.hpp b/source/frontend/StarContainerInteractor.hpp
index 9b17748..d073fd3 100644
--- a/source/frontend/StarContainerInteractor.hpp
+++ b/source/frontend/StarContainerInteractor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONTAINER_INTERACTION_HPP
-#define STAR_CONTAINER_INTERACTION_HPP
+#pragma once
#include "StarContainerEntity.hpp"
@@ -42,5 +41,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarContainerInterface.hpp b/source/frontend/StarContainerInterface.hpp
index 811be89..cd3102d 100644
--- a/source/frontend/StarContainerInterface.hpp
+++ b/source/frontend/StarContainerInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CONTAINER_INTERFACE_HPP
-#define STAR_CONTAINER_INTERFACE_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarLuaComponents.hpp"
@@ -57,5 +56,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarCraftingInterface.hpp b/source/frontend/StarCraftingInterface.hpp
index 33c1e32..58dd022 100644
--- a/source/frontend/StarCraftingInterface.hpp
+++ b/source/frontend/StarCraftingInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CRAFTING_INTERFACE_HPP
-#define STAR_CRAFTING_INTERFACE_HPP
+#pragma once
#include "StarWorldPainter.hpp"
#include "StarWorldClient.hpp"
@@ -81,5 +80,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarErrorScreen.hpp b/source/frontend/StarErrorScreen.hpp
index e16d6f4..3c6a867 100644
--- a/source/frontend/StarErrorScreen.hpp
+++ b/source/frontend/StarErrorScreen.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ERROR_SCREEN_HPP
-#define STAR_ERROR_SCREEN_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarString.hpp"
@@ -45,5 +44,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarGraphicsMenu.hpp b/source/frontend/StarGraphicsMenu.hpp
index c081778..20db95c 100644
--- a/source/frontend/StarGraphicsMenu.hpp
+++ b/source/frontend/StarGraphicsMenu.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_GRAPHICS_MENU_HPP
-#define STAR_GRAPHICS_MENU_HPP
+#pragma once
#include "StarPane.hpp"
@@ -33,5 +32,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarInterfaceCursor.hpp b/source/frontend/StarInterfaceCursor.hpp
index 6936700..7872414 100644
--- a/source/frontend/StarInterfaceCursor.hpp
+++ b/source/frontend/StarInterfaceCursor.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INTERFACE_CURSOR_HPP
-#define STAR_INTERFACE_CURSOR_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarAnimation.hpp"
@@ -33,5 +32,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarInterfaceLuaBindings.hpp b/source/frontend/StarInterfaceLuaBindings.hpp
index 8bc0f0a..539cceb 100644
--- a/source/frontend/StarInterfaceLuaBindings.hpp
+++ b/source/frontend/StarInterfaceLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INTERFACE_LUA_BINDINGS_HPP
-#define STAR_INTERFACE_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -12,5 +11,3 @@ namespace LuaBindings {
}
}
-
-#endif
diff --git a/source/frontend/StarInventory.hpp b/source/frontend/StarInventory.hpp
index af08f62..4e67446 100644
--- a/source/frontend/StarInventory.hpp
+++ b/source/frontend/StarInventory.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_INVENTORY_HPP
-#define STAR_INVENTORY_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarInventoryTypes.hpp"
@@ -66,5 +65,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarItemTooltip.hpp b/source/frontend/StarItemTooltip.hpp
index 251980b..878e91f 100644
--- a/source/frontend/StarItemTooltip.hpp
+++ b/source/frontend/StarItemTooltip.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEM_TOOLTIP_HPP
-#define STAR_ITEM_TOOLTIP_HPP
+#pragma once
#include "StarString.hpp"
#include "StarStatusTypes.hpp"
@@ -24,5 +23,3 @@ namespace ItemTooltipBuilder {
};
}
-
-#endif
diff --git a/source/frontend/StarJoinRequestDialog.hpp b/source/frontend/StarJoinRequestDialog.hpp
index a228b3d..4648bb5 100644
--- a/source/frontend/StarJoinRequestDialog.hpp
+++ b/source/frontend/StarJoinRequestDialog.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_JOIN_REQUEST_DIALOG_HPP
-#define STAR_JOIN_REQUEST_DIALOG_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarRpcPromise.hpp"
@@ -26,5 +25,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarKeybindingsMenu.hpp b/source/frontend/StarKeybindingsMenu.hpp
index 3393b35..8a21cd7 100644
--- a/source/frontend/StarKeybindingsMenu.hpp
+++ b/source/frontend/StarKeybindingsMenu.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_KEYBINDINGS_MENU_HPP
-#define STAR_KEYBINDINGS_MENU_HPP
+#pragma once
#include "StarPane.hpp"
@@ -45,5 +44,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarMainInterface.hpp b/source/frontend/StarMainInterface.hpp
index 91a63ab..96e4fbd 100644
--- a/source/frontend/StarMainInterface.hpp
+++ b/source/frontend/StarMainInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAIN_INTERFACE_HPP
-#define STAR_MAIN_INTERFACE_HPP
+#pragma once
#include "StarInventory.hpp"
#include "StarInteractionTypes.hpp"
@@ -229,5 +228,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarMainInterfaceTypes.hpp b/source/frontend/StarMainInterfaceTypes.hpp
index 70fdee1..6b0bca3 100644
--- a/source/frontend/StarMainInterfaceTypes.hpp
+++ b/source/frontend/StarMainInterfaceTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAIN_INTERFACE_CONFIG_HPP
-#define STAR_MAIN_INTERFACE_CONFIG_HPP
+#pragma once
#include "StarJson.hpp"
#include "StarPoly.hpp"
@@ -157,5 +156,3 @@ struct MainInterfaceConfig {
};
}
-
-#endif \ No newline at end of file
diff --git a/source/frontend/StarMainMixer.hpp b/source/frontend/StarMainMixer.hpp
index 9e5ba3f..bcf5a5a 100644
--- a/source/frontend/StarMainMixer.hpp
+++ b/source/frontend/StarMainMixer.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAIN_MIXER_HPP
-#define STAR_MAIN_MIXER_HPP
+#pragma once
#include "StarMixer.hpp"
#include "StarGameTypes.hpp"
@@ -34,5 +33,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarMerchantInterface.hpp b/source/frontend/StarMerchantInterface.hpp
index d123c9b..b717a61 100644
--- a/source/frontend/StarMerchantInterface.hpp
+++ b/source/frontend/StarMerchantInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MERCHANT_INTERFACE_HPP
-#define STAR_MERCHANT_INTERFACE_HPP
+#pragma once
#include "StarWorldClient.hpp"
#include "StarPane.hpp"
@@ -80,5 +79,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarModsMenu.hpp b/source/frontend/StarModsMenu.hpp
index e73ac23..87425ec 100644
--- a/source/frontend/StarModsMenu.hpp
+++ b/source/frontend/StarModsMenu.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MODS_MENU_HPP
-#define STAR_MODS_MENU_HPP
+#pragma once
#include "StarPane.hpp"
@@ -35,5 +34,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarNameplatePainter.hpp b/source/frontend/StarNameplatePainter.hpp
index 7c3aeb4..d895cfb 100644
--- a/source/frontend/StarNameplatePainter.hpp
+++ b/source/frontend/StarNameplatePainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NAMEPLATE_PAINTER_HPP
-#define STAR_NAMEPLATE_PAINTER_HPP
+#pragma once
#include "StarWorldClient.hpp"
#include "StarWorldCamera.hpp"
@@ -52,5 +51,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarOptionsMenu.hpp b/source/frontend/StarOptionsMenu.hpp
index d98fb20..4bc36ad 100644
--- a/source/frontend/StarOptionsMenu.hpp
+++ b/source/frontend/StarOptionsMenu.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_OPTIONS_MENU_HPP
-#define STAR_OPTIONS_MENU_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarConfiguration.hpp"
@@ -73,5 +72,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarPopupInterface.hpp b/source/frontend/StarPopupInterface.hpp
index 56f537e..53e7836 100644
--- a/source/frontend/StarPopupInterface.hpp
+++ b/source/frontend/StarPopupInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_POPUP_INTERFACE_HPP
-#define STAR_POPUP_INTERFACE_HPP
+#pragma once
#include "StarPane.hpp"
@@ -18,5 +17,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarQuestIndicatorPainter.hpp b/source/frontend/StarQuestIndicatorPainter.hpp
index c222ac4..1189651 100644
--- a/source/frontend/StarQuestIndicatorPainter.hpp
+++ b/source/frontend/StarQuestIndicatorPainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUEST_INDICATOR_PAINTER_HPP
-#define STAR_QUEST_INDICATOR_PAINTER_HPP
+#pragma once
#include "StarWorldCamera.hpp"
#include "StarWorldClient.hpp"
@@ -32,5 +31,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarQuestInterface.hpp b/source/frontend/StarQuestInterface.hpp
index 366d4ac..d825b86 100644
--- a/source/frontend/StarQuestInterface.hpp
+++ b/source/frontend/StarQuestInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUEST_INTERFACE_HPP
-#define STAR_QUEST_INTERFACE_HPP
+#pragma once
#include "StarQuests.hpp"
#include "StarPane.hpp"
@@ -91,5 +90,3 @@ public:
};
}
-
-#endif
diff --git a/source/frontend/StarQuestTracker.hpp b/source/frontend/StarQuestTracker.hpp
index 4fbeb7a..8e3c892 100644
--- a/source/frontend/StarQuestTracker.hpp
+++ b/source/frontend/StarQuestTracker.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_QUEST_TRACKER_HPP
-#define STAR_QUEST_TRACKER_HPP
+#pragma once
#include "StarPane.hpp"
@@ -56,5 +55,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarRadioMessagePopup.hpp b/source/frontend/StarRadioMessagePopup.hpp
index d1d6c11..8f3ec8f 100644
--- a/source/frontend/StarRadioMessagePopup.hpp
+++ b/source/frontend/StarRadioMessagePopup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_RADIO_MESSAGE_POPUP_HPP
-#define STAR_RADIO_MESSAGE_POPUP_HPP
+#pragma once
#include "StarGameTimers.hpp"
#include "StarPane.hpp"
@@ -61,5 +60,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarScriptPane.hpp b/source/frontend/StarScriptPane.hpp
index 298d7c0..9f31dc6 100644
--- a/source/frontend/StarScriptPane.hpp
+++ b/source/frontend/StarScriptPane.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SCRIPT_PANE_HPP
-#define STAR_SCRIPT_PANE_HPP
+#pragma once
#include "StarBaseScriptPane.hpp"
@@ -31,5 +30,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarSimpleTooltip.hpp b/source/frontend/StarSimpleTooltip.hpp
index 0dc4000..0a4923c 100644
--- a/source/frontend/StarSimpleTooltip.hpp
+++ b/source/frontend/StarSimpleTooltip.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SIMPLE_TOOLTIP_HPP
-#define STAR_SIMPLE_TOOLTIP_HPP
+#pragma once
#include "StarString.hpp"
@@ -12,5 +11,3 @@ namespace SimpleTooltipBuilder {
};
}
-
-#endif
diff --git a/source/frontend/StarSongbookInterface.hpp b/source/frontend/StarSongbookInterface.hpp
index 85d091b..47622a4 100644
--- a/source/frontend/StarSongbookInterface.hpp
+++ b/source/frontend/StarSongbookInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SONGBOOK_INTERFACE_HPP
-#define STAR_SONGBOOK_INTERFACE_HPP
+#pragma once
#include "StarSongbook.hpp"
#include "StarPane.hpp"
@@ -20,5 +19,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarStatusPane.hpp b/source/frontend/StarStatusPane.hpp
index 5deba33..46794d8 100644
--- a/source/frontend/StarStatusPane.hpp
+++ b/source/frontend/StarStatusPane.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATUSPANE_HPP
-#define STAR_STATUSPANE_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarMainInterfaceTypes.hpp"
@@ -37,5 +36,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarTeleportDialog.hpp b/source/frontend/StarTeleportDialog.hpp
index 3dea84d..2cd7b82 100644
--- a/source/frontend/StarTeleportDialog.hpp
+++ b/source/frontend/StarTeleportDialog.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TELEPORTER_DIALOG_HPP
-#define STAR_TELEPORTER_DIALOG_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarWarping.hpp"
@@ -34,5 +33,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarTitleScreen.hpp b/source/frontend/StarTitleScreen.hpp
index 87ce0c8..65ebb57 100644
--- a/source/frontend/StarTitleScreen.hpp
+++ b/source/frontend/StarTitleScreen.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TITLE_HPP
-#define STAR_TITLE_HPP
+#pragma once
#include "StarSky.hpp"
#include "StarAmbient.hpp"
@@ -129,5 +128,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarVoice.hpp b/source/frontend/StarVoice.hpp
index f776cb7..fa149b6 100644
--- a/source/frontend/StarVoice.hpp
+++ b/source/frontend/StarVoice.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_VOICE_HPP
-#define STAR_VOICE_HPP
+#pragma once
+
#include "StarJson.hpp"
#include "StarBiMap.hpp"
#include "StarException.hpp"
@@ -222,5 +222,3 @@ private:
};
}
-
-#endif \ No newline at end of file
diff --git a/source/frontend/StarVoiceLuaBindings.hpp b/source/frontend/StarVoiceLuaBindings.hpp
index 5d670f3..d3eaae6 100644
--- a/source/frontend/StarVoiceLuaBindings.hpp
+++ b/source/frontend/StarVoiceLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VOICE_LUA_BINDINGS_HPP
-#define STAR_VOICE_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
@@ -12,5 +11,3 @@ namespace LuaBindings {
}
}
-
-#endif
diff --git a/source/frontend/StarVoiceSettingsMenu.hpp b/source/frontend/StarVoiceSettingsMenu.hpp
index 1f9e58d..e4b7ff3 100644
--- a/source/frontend/StarVoiceSettingsMenu.hpp
+++ b/source/frontend/StarVoiceSettingsMenu.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VOICE_SETTINGS_MENU_HPP
-#define STAR_VOICE_SETTINGS_MENU_HPP
+#pragma once
#include "StarBaseScriptPane.hpp"
@@ -20,5 +19,3 @@ private:
};
}
-
-#endif
diff --git a/source/frontend/StarWireInterface.hpp b/source/frontend/StarWireInterface.hpp
index f1c44d2..04a0f64 100644
--- a/source/frontend/StarWireInterface.hpp
+++ b/source/frontend/StarWireInterface.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIRE_INTERFACE_HPP
-#define STAR_WIRE_INTERFACE_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarWiring.hpp"
@@ -44,5 +43,3 @@ private:
};
}
-
-#endif
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
diff --git a/source/json_tool/editor_gui.hpp b/source/json_tool/editor_gui.hpp
index d24c029..f30bf70 100644
--- a/source/json_tool/editor_gui.hpp
+++ b/source/json_tool/editor_gui.hpp
@@ -1,5 +1,4 @@
-#ifndef EDITOR_GUI_HPP
-#define EDITOR_GUI_HPP
+#pragma once
#include <QErrorMessage>
#include <QLabel>
@@ -52,5 +51,3 @@ private:
int edit(int argc, char* argv[], JsonPath::PathPtr const& path, Options const& options, List<Input> const& inputs);
}
-
-#endif
diff --git a/source/json_tool/json_tool.hpp b/source/json_tool/json_tool.hpp
index 6f4c337..0eaaeba 100644
--- a/source/json_tool/json_tool.hpp
+++ b/source/json_tool/json_tool.hpp
@@ -1,5 +1,4 @@
-#ifndef JSON_TOOL_HPP
-#define JSON_TOOL_HPP
+#pragma once
#include "StarFormattedJson.hpp"
#include "StarJsonPath.hpp"
@@ -146,5 +145,3 @@ String reprWithLineEnding(FormattedJson const& json);
StringList findFiles(FindInput const& findArgs);
}
-
-#endif
diff --git a/source/mod_uploader/StarModUploader.hpp b/source/mod_uploader/StarModUploader.hpp
index 603b42f..9686de1 100644
--- a/source/mod_uploader/StarModUploader.hpp
+++ b/source/mod_uploader/StarModUploader.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MOD_UPLOADER
-#define STAR_MOD_UPLOADER
+#pragma once
#include <QMainWindow>
#include <QLabel>
@@ -55,5 +54,3 @@ private:
};
}
-
-#endif
diff --git a/source/mod_uploader/StarSPlainTextEdit.hpp b/source/mod_uploader/StarSPlainTextEdit.hpp
index 9ebc5f8..4e835fb 100644
--- a/source/mod_uploader/StarSPlainTextEdit.hpp
+++ b/source/mod_uploader/StarSPlainTextEdit.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SPLAIN_TEXT_EDIT_HPP
-#define STAR_SPLAIN_TEXT_EDIT_HPP
+#pragma once
#include <QPlainTextEdit>
@@ -24,5 +23,3 @@ private:
};
}
-
-#endif
diff --git a/source/mod_uploader/StarStringConversion.hpp b/source/mod_uploader/StarStringConversion.hpp
index 020398f..aed8b57 100644
--- a/source/mod_uploader/StarStringConversion.hpp
+++ b/source/mod_uploader/StarStringConversion.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STRING_CONVERSION
-#define STAR_STRING_CONVERSION
+#pragma once
#include <QString>
@@ -16,5 +15,3 @@ inline QString toQString(String const& str) {
}
}
-
-#endif
diff --git a/source/platform/StarDesktopService.hpp b/source/platform/StarDesktopService.hpp
index dafdc74..4de7113 100644
--- a/source/platform/StarDesktopService.hpp
+++ b/source/platform/StarDesktopService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DESKTOP_SERVICE_HPP
-#define STAR_DESKTOP_SERVICE_HPP
+#pragma once
namespace Star {
@@ -13,5 +12,3 @@ public:
};
}
-
-#endif
diff --git a/source/platform/StarP2PNetworkingService.hpp b/source/platform/StarP2PNetworkingService.hpp
index 562c2cb..288902c 100644
--- a/source/platform/StarP2PNetworkingService.hpp
+++ b/source/platform/StarP2PNetworkingService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_P2P_NETWORKING_SERVICE_HPP
-#define STAR_P2P_NETWORKING_SERVICE_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarHostAddress.hpp"
@@ -61,5 +60,3 @@ public:
};
};
-
-#endif
diff --git a/source/platform/StarStatisticsService.hpp b/source/platform/StarStatisticsService.hpp
index c6afec7..16f5cce 100644
--- a/source/platform/StarStatisticsService.hpp
+++ b/source/platform/StarStatisticsService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATS_BACKEND_HPP
-#define STAR_STATS_BACKEND_HPP
+#pragma once
#include "StarJson.hpp"
@@ -36,5 +35,3 @@ public:
};
}
-
-#endif
diff --git a/source/platform/StarUserGeneratedContentService.hpp b/source/platform/StarUserGeneratedContentService.hpp
index 3a582ba..ae55f85 100644
--- a/source/platform/StarUserGeneratedContentService.hpp
+++ b/source/platform/StarUserGeneratedContentService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_USER_GENERATED_CONTENT_SERVICE_HPP
-#define STAR_USER_GENERATED_CONTENT_SERVICE_HPP
+#pragma once
namespace Star {
@@ -22,5 +21,3 @@ public:
};
}
-
-#endif
diff --git a/source/rendering/StarAnchorTypes.hpp b/source/rendering/StarAnchorTypes.hpp
index 0e21d43..7053d0b 100644
--- a/source/rendering/StarAnchorTypes.hpp
+++ b/source/rendering/StarAnchorTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ANCHOR_TYPES_HPP
-#define STAR_ANCHOR_TYPES_HPP
+#pragma once
#include "StarBiMap.hpp"
@@ -20,5 +19,3 @@ enum class VerticalAnchor {
extern EnumMap<VerticalAnchor> const VerticalAnchorNames;
}
-
-#endif
diff --git a/source/rendering/StarAssetTextureGroup.hpp b/source/rendering/StarAssetTextureGroup.hpp
index 205a321..dbbaf91 100644
--- a/source/rendering/StarAssetTextureGroup.hpp
+++ b/source/rendering/StarAssetTextureGroup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ASSET_TEXTURE_GROUP_HPP
-#define STAR_ASSET_TEXTURE_GROUP_HPP
+#pragma once
#include "StarMaybe.hpp"
#include "StarString.hpp"
@@ -47,5 +46,3 @@ private:
};
}
-
-#endif
diff --git a/source/rendering/StarDrawablePainter.hpp b/source/rendering/StarDrawablePainter.hpp
index 5f0d6d6..721f315 100644
--- a/source/rendering/StarDrawablePainter.hpp
+++ b/source/rendering/StarDrawablePainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DRAWABLE_PAINTER_HPP
-#define STAR_DRAWABLE_PAINTER_HPP
+#pragma once
#include "StarDrawable.hpp"
#include "StarRenderer.hpp"
@@ -23,5 +22,3 @@ private:
};
}
-
-#endif
diff --git a/source/rendering/StarEnvironmentPainter.hpp b/source/rendering/StarEnvironmentPainter.hpp
index d439acd..f27aa0c 100644
--- a/source/rendering/StarEnvironmentPainter.hpp
+++ b/source/rendering/StarEnvironmentPainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ENVIRONMENT_PAINTER_HPP
-#define STAR_ENVIRONMENT_PAINTER_HPP
+#pragma once
#include "StarParallax.hpp"
#include "StarWorldRenderData.hpp"
@@ -76,5 +75,3 @@ private:
};
}
-
-#endif
diff --git a/source/rendering/StarFontTextureGroup.hpp b/source/rendering/StarFontTextureGroup.hpp
index e57271b..9a32daf 100644
--- a/source/rendering/StarFontTextureGroup.hpp
+++ b/source/rendering/StarFontTextureGroup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FONT_TEXTURE_GROUP_HPP
-#define STAR_FONT_TEXTURE_GROUP_HPP
+#pragma once
#include "StarColor.hpp"
#include "StarFont.hpp"
@@ -49,5 +48,3 @@ private:
};
}
-
-#endif
diff --git a/source/rendering/StarTextPainter.hpp b/source/rendering/StarTextPainter.hpp
index e71c385..a0db304 100644
--- a/source/rendering/StarTextPainter.hpp
+++ b/source/rendering/StarTextPainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TEXT_PAINTER_HPP
-#define STAR_TEXT_PAINTER_HPP
+#pragma once
#include "StarFontTextureGroup.hpp"
#include "StarAnchorTypes.hpp"
@@ -104,5 +103,3 @@ private:
};
}
-
-#endif
diff --git a/source/rendering/StarTilePainter.hpp b/source/rendering/StarTilePainter.hpp
index 3126a16..019b9db 100644
--- a/source/rendering/StarTilePainter.hpp
+++ b/source/rendering/StarTilePainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_NEW_TILE_PAINTER_HPP
-#define STAR_NEW_TILE_PAINTER_HPP
+#pragma once
#include "StarTtlCache.hpp"
#include "StarWorldRenderData.hpp"
@@ -106,5 +105,3 @@ private:
};
}
-
-#endif
diff --git a/source/rendering/StarWorldCamera.hpp b/source/rendering/StarWorldCamera.hpp
index 8ef39cb..d83a31a 100644
--- a/source/rendering/StarWorldCamera.hpp
+++ b/source/rendering/StarWorldCamera.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_CAMERA_HPP
-#define STAR_WORLD_CAMERA_HPP
+#pragma once
#include "StarWorldGeometry.hpp"
#include "StarGameTypes.hpp"
@@ -126,5 +125,3 @@ inline void WorldCamera::update(float dt) {
}
}
-
-#endif
diff --git a/source/rendering/StarWorldPainter.hpp b/source/rendering/StarWorldPainter.hpp
index ce7f1d8..43ce83c 100644
--- a/source/rendering/StarWorldPainter.hpp
+++ b/source/rendering/StarWorldPainter.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WORLD_PAINTER_HPP
-#define STAR_WORLD_PAINTER_HPP
+#pragma once
#include "StarWorldRenderData.hpp"
#include "StarTilePainter.hpp"
@@ -65,5 +64,3 @@ private:
};
}
-
-#endif
diff --git a/source/server/StarServerQueryThread.hpp b/source/server/StarServerQueryThread.hpp
index 3fb3339..54ab93f 100644
--- a/source/server/StarServerQueryThread.hpp
+++ b/source/server/StarServerQueryThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SERVER_QUERY_THREAD_HPP
-#define STAR_SERVER_QUERY_THREAD_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarHostAddress.hpp"
@@ -104,5 +103,3 @@ private:
};
}
-
-#endif
diff --git a/source/server/StarServerRconClient.hpp b/source/server/StarServerRconClient.hpp
index 8c9bb25..bfca40f 100644
--- a/source/server/StarServerRconClient.hpp
+++ b/source/server/StarServerRconClient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SERVER_RCON_CLIENT_HPP
-#define STAR_SERVER_RCON_CLIENT_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarTcp.hpp"
@@ -47,5 +46,3 @@ private:
};
typedef shared_ptr<ServerRconClient> ServerRconClientPtr;
}
-
-#endif
diff --git a/source/server/StarServerRconThread.hpp b/source/server/StarServerRconThread.hpp
index ea1b649..972a585 100644
--- a/source/server/StarServerRconThread.hpp
+++ b/source/server/StarServerRconThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SERVER_RCON_THREAD_HPP
-#define STAR_SERVER_RCON_THREAD_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarTcp.hpp"
@@ -32,5 +31,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarButtonGroup.hpp b/source/windowing/StarButtonGroup.hpp
index 07bd135..badab2b 100644
--- a/source/windowing/StarButtonGroup.hpp
+++ b/source/windowing/StarButtonGroup.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BUTTON_GROUP_HPP
-#define STAR_BUTTON_GROUP_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -55,5 +54,3 @@ private:
class ButtonGroupWidget : public ButtonGroup, public Widget {};
}
-
-#endif
diff --git a/source/windowing/StarButtonWidget.hpp b/source/windowing/StarButtonWidget.hpp
index d89f03c..d2616fe 100644
--- a/source/windowing/StarButtonWidget.hpp
+++ b/source/windowing/StarButtonWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BUTTON_WIDGET_HPP
-#define STAR_BUTTON_WIDGET_HPP
+#pragma once
#include "StarButtonGroup.hpp"
@@ -142,5 +141,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarCanvasWidget.hpp b/source/windowing/StarCanvasWidget.hpp
index 295f877..e160160 100644
--- a/source/windowing/StarCanvasWidget.hpp
+++ b/source/windowing/StarCanvasWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_CANVAS_WIDGET_HPP
-#define STAR_CANVAS_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -105,5 +104,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarFlowLayout.hpp b/source/windowing/StarFlowLayout.hpp
index 86127c6..afe11fa 100644
--- a/source/windowing/StarFlowLayout.hpp
+++ b/source/windowing/StarFlowLayout.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FLOW_LAYOUT_HPP
-#define STAR_FLOW_LAYOUT_HPP
+#pragma once
#include "StarLayout.hpp"
@@ -21,5 +20,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarFuelWidget.hpp b/source/windowing/StarFuelWidget.hpp
index 3a7f506..c057b9a 100644
--- a/source/windowing/StarFuelWidget.hpp
+++ b/source/windowing/StarFuelWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_FUEL_WIDGET_HPP
-#define STAR_FUEL_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -38,5 +37,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarGuiContext.hpp b/source/windowing/StarGuiContext.hpp
index 1f4be98..ef14619 100644
--- a/source/windowing/StarGuiContext.hpp
+++ b/source/windowing/StarGuiContext.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_GUI_CONTEXT_HPP
-#define STAR_GUI_CONTEXT_HPP
+#pragma once
#include "StarApplicationController.hpp"
#include "StarTextPainter.hpp"
@@ -147,5 +146,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarGuiReader.hpp b/source/windowing/StarGuiReader.hpp
index e031f62..40c7d39 100644
--- a/source/windowing/StarGuiReader.hpp
+++ b/source/windowing/StarGuiReader.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_GUI_READER_HPP
-#define STAR_GUI_READER_HPP
+#pragma once
#include "StarWidgetParsing.hpp"
@@ -19,5 +18,3 @@ protected:
};
}
-
-#endif
diff --git a/source/windowing/StarGuiTypes.hpp b/source/windowing/StarGuiTypes.hpp
index d890f64..9a86180 100644
--- a/source/windowing/StarGuiTypes.hpp
+++ b/source/windowing/StarGuiTypes.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIDGET_UTILITIES_HPP
-#define STAR_WIDGET_UTILITIES_HPP
+#pragma once
#include "StarString.hpp"
#include "StarVector.hpp"
@@ -47,5 +46,3 @@ T& directionalValueFromVector(GuiDirection direction, Vector<T, 2> const& vec) {
}
}
-
-#endif
diff --git a/source/windowing/StarImageStretchWidget.hpp b/source/windowing/StarImageStretchWidget.hpp
index 40470e8..cdc4f46 100644
--- a/source/windowing/StarImageStretchWidget.hpp
+++ b/source/windowing/StarImageStretchWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_IMAGE_STRETCH_WIDGET_HPP
-#define STAR_IMAGE_STRETCH_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -21,5 +20,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarImageWidget.hpp b/source/windowing/StarImageWidget.hpp
index f900b68..eef02c4 100644
--- a/source/windowing/StarImageWidget.hpp
+++ b/source/windowing/StarImageWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_IMAGE_WIDGET_HPP
-#define STAR_IMAGE_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -47,5 +46,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarItemGridWidget.hpp b/source/windowing/StarItemGridWidget.hpp
index 1238cb4..79c0469 100644
--- a/source/windowing/StarItemGridWidget.hpp
+++ b/source/windowing/StarItemGridWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEMGRID_WIDGET_HPP
-#define STAR_ITEMGRID_WIDGET_HPP
+#pragma once
#include "StarItemBag.hpp"
#include "StarWidget.hpp"
@@ -97,5 +96,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarItemSlotWidget.hpp b/source/windowing/StarItemSlotWidget.hpp
index 2e1b69a..9e8772d 100644
--- a/source/windowing/StarItemSlotWidget.hpp
+++ b/source/windowing/StarItemSlotWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_ITEMSLOT_WIDGET_HPP
-#define STAR_ITEMSLOT_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
#include "StarProgressWidget.hpp"
@@ -73,5 +72,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarKeyBindings.hpp b/source/windowing/StarKeyBindings.hpp
index e544a3a..d8737f7 100644
--- a/source/windowing/StarKeyBindings.hpp
+++ b/source/windowing/StarKeyBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_KEY_BINDINGS_HPP
-#define STAR_KEY_BINDINGS_HPP
+#pragma once
#include "StarInputEvent.hpp"
#include "StarSet.hpp"
@@ -115,5 +114,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarLabelWidget.hpp b/source/windowing/StarLabelWidget.hpp
index de692ce..a25e531 100644
--- a/source/windowing/StarLabelWidget.hpp
+++ b/source/windowing/StarLabelWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LABEL_WIDGET_HPP
-#define STAR_LABEL_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -51,5 +50,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarLargeCharPlateWidget.hpp b/source/windowing/StarLargeCharPlateWidget.hpp
index 7578ae9..ae35aae 100644
--- a/source/windowing/StarLargeCharPlateWidget.hpp
+++ b/source/windowing/StarLargeCharPlateWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LARGE_CHAR_PLATE_WIDGET_HPP
-#define STAR_LARGE_CHAR_PLATE_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
#include "StarButtonWidget.hpp"
@@ -60,5 +59,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarLayout.hpp b/source/windowing/StarLayout.hpp
index 6fc68da..6fcd60f 100644
--- a/source/windowing/StarLayout.hpp
+++ b/source/windowing/StarLayout.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_LAYOUT_HPP
-#define STAR_LAYOUT_HPP
+#pragma once
+
#include "StarWidget.hpp"
namespace Star {
@@ -12,5 +12,3 @@ public:
};
}
-
-#endif
diff --git a/source/windowing/StarListWidget.hpp b/source/windowing/StarListWidget.hpp
index 8bb63db..ae039f7 100644
--- a/source/windowing/StarListWidget.hpp
+++ b/source/windowing/StarListWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_LIST_WIDGET_HPP
-#define STAR_LIST_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
#include "StarGuiReader.hpp"
@@ -65,5 +64,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarPane.hpp b/source/windowing/StarPane.hpp
index 3a20ce0..1d1fc2a 100644
--- a/source/windowing/StarPane.hpp
+++ b/source/windowing/StarPane.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PANE_HPP
-#define STAR_PANE_HPP
+#pragma once
#include "StarWidget.hpp"
#include "StarBiMap.hpp"
@@ -134,5 +133,3 @@ protected:
};
}
-
-#endif
diff --git a/source/windowing/StarPaneManager.hpp b/source/windowing/StarPaneManager.hpp
index 37634ea..ffa46c7 100644
--- a/source/windowing/StarPaneManager.hpp
+++ b/source/windowing/StarPaneManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PANE_MANAGER_HPP
-#define STAR_PANE_MANAGER_HPP
+#pragma once
#include "StarPane.hpp"
#include "StarOrderedMap.hpp"
@@ -105,5 +104,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarPortraitWidget.hpp b/source/windowing/StarPortraitWidget.hpp
index 37b77dc..c9bf4ae 100644
--- a/source/windowing/StarPortraitWidget.hpp
+++ b/source/windowing/StarPortraitWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PORTRAIT_WIDGET_HPP
-#define STAR_PORTRAIT_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
#include "StarPlayer.hpp"
@@ -43,4 +42,3 @@ private:
};
}
-#endif
diff --git a/source/windowing/StarProgressWidget.hpp b/source/windowing/StarProgressWidget.hpp
index 2a4a231..95c2701 100644
--- a/source/windowing/StarProgressWidget.hpp
+++ b/source/windowing/StarProgressWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PROGRESS_WIDGET_HPP
-#define STAR_PROGRESS_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -38,5 +37,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarRegisteredPaneManager.hpp b/source/windowing/StarRegisteredPaneManager.hpp
index a33423a..bce6f20 100644
--- a/source/windowing/StarRegisteredPaneManager.hpp
+++ b/source/windowing/StarRegisteredPaneManager.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_REGISTERED_PANE_MANAGER_HPP
-#define STAR_REGISTERED_PANE_MANAGER_HPP
+#pragma once
#include "StarPaneManager.hpp"
@@ -132,5 +131,3 @@ typename RegisteredPaneManager<KeyT>::PaneInfo const& RegisteredPaneManager<KeyT
throw GuiException(strf("No registered pane with name '{}' found in RegisteredPaneManager", outputAny(paneId)));
}
}
-
-#endif
diff --git a/source/windowing/StarScrollArea.hpp b/source/windowing/StarScrollArea.hpp
index 1500744..eac1e53 100644
--- a/source/windowing/StarScrollArea.hpp
+++ b/source/windowing/StarScrollArea.hpp
@@ -1,5 +1,4 @@
-#ifndef _STAR_SCROLL_AREA_HPP_
-#define _STAR_SCROLL_AREA_HPP_
+#pragma once
#include "StarWidget.hpp"
#include "StarButtonWidget.hpp"
@@ -128,5 +127,3 @@ private:
};
typedef shared_ptr<ScrollArea> ScrollAreaPtr;
}
-
-#endif
diff --git a/source/windowing/StarSliderBar.hpp b/source/windowing/StarSliderBar.hpp
index 9555331..f217514 100644
--- a/source/windowing/StarSliderBar.hpp
+++ b/source/windowing/StarSliderBar.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_SLIDER_BAR_HPP
-#define STAR_SLIDER_BAR_HPP
+#pragma once
+
#include "StarWidget.hpp"
#include "StarButtonWidget.hpp"
#include "StarImageWidget.hpp"
@@ -53,5 +53,3 @@ private:
};
typedef shared_ptr<SliderBarWidget> SliderBarWidgetPtr;
}
-
-#endif
diff --git a/source/windowing/StarStackWidget.hpp b/source/windowing/StarStackWidget.hpp
index ba0c96d..eabee04 100644
--- a/source/windowing/StarStackWidget.hpp
+++ b/source/windowing/StarStackWidget.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_STACK_WIDGET_HPP
-#define STAR_STACK_WIDGET_HPP
+#pragma once
+
#include "StarWidget.hpp"
#include "StarEither.hpp"
@@ -21,5 +21,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarTabSet.hpp b/source/windowing/StarTabSet.hpp
index d860dcb..b3bc5a9 100644
--- a/source/windowing/StarTabSet.hpp
+++ b/source/windowing/StarTabSet.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TAB_SET_HPP
-#define STAR_TAB_SET_HPP
+#pragma once
#include "StarButtonGroup.hpp"
@@ -47,5 +46,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarTextBoxWidget.hpp b/source/windowing/StarTextBoxWidget.hpp
index a2ed8f7..11a0527 100644
--- a/source/windowing/StarTextBoxWidget.hpp
+++ b/source/windowing/StarTextBoxWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_TEXTBOX_WIDGET_HPP
-#define STAR_TEXTBOX_WIDGET_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -88,5 +87,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarVerticalLayout.hpp b/source/windowing/StarVerticalLayout.hpp
index b46ce17..e9ab75e 100644
--- a/source/windowing/StarVerticalLayout.hpp
+++ b/source/windowing/StarVerticalLayout.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_VERTICAL_LAYOUT_HPP
-#define STAR_VERTICAL_LAYOUT_HPP
+#pragma once
#include "StarLayout.hpp"
@@ -31,5 +30,3 @@ private:
};
}
-
-#endif
diff --git a/source/windowing/StarWidget.hpp b/source/windowing/StarWidget.hpp
index 1e78d74..9940396 100644
--- a/source/windowing/StarWidget.hpp
+++ b/source/windowing/StarWidget.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIDGET_HPP
-#define STAR_WIDGET_HPP
+#pragma once
#include "StarVector.hpp"
#include "StarCasting.hpp"
@@ -178,5 +177,3 @@ shared_ptr<WidgetType> Widget::findChild(String const& name) {
}
template <> struct fmt::formatter<Star::Widget> : ostream_formatter {};
-
-#endif
diff --git a/source/windowing/StarWidgetLuaBindings.hpp b/source/windowing/StarWidgetLuaBindings.hpp
index d133760..ebd5087 100644
--- a/source/windowing/StarWidgetLuaBindings.hpp
+++ b/source/windowing/StarWidgetLuaBindings.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_WIDGET_LUA_BINDINGS_HPP
-#define STAR_WIDGET_LUA_BINDINGS_HPP
+#pragma once
#include "StarLua.hpp"
#include "StarGuiReader.hpp"
@@ -22,5 +21,3 @@ namespace LuaBindings {
}
}
-
-#endif
diff --git a/source/windowing/StarWidgetParsing.hpp b/source/windowing/StarWidgetParsing.hpp
index 6065ef7..46fa317 100644
--- a/source/windowing/StarWidgetParsing.hpp
+++ b/source/windowing/StarWidgetParsing.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_PANE_OBJECT_PARSING_HPP
-#define STAR_PANE_OBJECT_PARSING_HPP
+#pragma once
#include "StarWidget.hpp"
@@ -72,5 +71,3 @@ protected:
};
}
-
-#endif