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

summaryrefslogtreecommitdiff
path: root/source/frontend
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 /source/frontend
parentb8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff)
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/frontend')
-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
47 files changed, 48 insertions, 188 deletions
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