changeset 2351:12a935783629

Adding include guards to new UI headers
author Grumpy7
date Wed, 09 Apr 2014 21:49:35 +0200
parents 7c10dfb6d802
children 8a49cf25fb88
files GUIButton.h UI/UICharacter.h UI/UIGame.h UI/UIGuilds.h UI/UIMainMenu.h UI/UIMsgProc.h UI/UIOptions.h UI/UIPartyCreation.h UI/UIPopup.h UI/UIRest.h UI/UISaveLoad.h UI/UIShops.h UI/UITransition.h
diffstat 13 files changed, 13 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/GUIButton.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/GUIButton.h	Wed Apr 09 21:49:35 2014 +0200
@@ -1,3 +1,3 @@
-
+#pragma once
 void CreateButtonInColumn(int a1, unsigned int a2);
 void UI_CreateEndConversationButton();
\ No newline at end of file
--- a/UI/UICharacter.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UICharacter.h	Wed Apr 09 21:49:35 2014 +0200
@@ -1,4 +1,4 @@
-
+#pragma once
 void CharacterUI_LoadPaperdollTextures();
 void WetsuitOn(unsigned int uPlayerID); // idb
 void WetsuitOff(unsigned int uPlayerID);
\ No newline at end of file
--- a/UI/UIGame.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIGame.h	Wed Apr 09 21:49:35 2014 +0200
@@ -1,3 +1,3 @@
-
+#pragma once
 void GameUI_WritePointedObjectStatusString();
 void __fastcall GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID); // idb
\ No newline at end of file
--- a/UI/UIGuilds.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIGuilds.h	Wed Apr 09 21:49:35 2014 +0200
@@ -1,2 +1,2 @@
-
+#pragma once
 void SpellBookGenerator();
\ No newline at end of file
--- a/UI/UIMainMenu.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIMainMenu.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file
--- a/UI/UIMsgProc.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIMsgProc.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file
--- a/UI/UIOptions.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIOptions.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file
--- a/UI/UIPartyCreation.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIPartyCreation.h	Wed Apr 09 21:49:35 2014 +0200
@@ -1,4 +1,4 @@
-
+#pragma once
 bool PlayerCreation_Choose4Skills();
 void LoadPlayerPortraintsAndVoices();
 void ReloadPlayerPortraits(int player_id, int face_id);
--- a/UI/UIPopup.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIPopup.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file
--- a/UI/UIRest.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIRest.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file
--- a/UI/UISaveLoad.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UISaveLoad.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file
--- a/UI/UIShops.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UIShops.h	Wed Apr 09 21:49:35 2014 +0200
@@ -1,4 +1,4 @@
-
+#pragma once
 void UIShop_Buy_Identify_Repair();
 void sub_4B1523_showSpellbookInfo(int spellItemId);
 void ShowPopupShopItem();
--- a/UI/UITransition.h	Wed Apr 09 21:45:07 2014 +0200
+++ b/UI/UITransition.h	Wed Apr 09 21:49:35 2014 +0200
@@ -0,0 +1,1 @@
+#pragma once
\ No newline at end of file