diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2024-03-17 18:55:49 -0400 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2024-03-17 18:55:49 -0400 |
| commit | 6ca7763bc02e3307ba782cf6201d16d5386b2906 (patch) | |
| tree | 6de43ba0736d7377ad4a33068cd1fdc241799629 /include/f | |
| parent | de0d7a8e0afee90ee913685d31fc02301d652210 (diff) | |
change to header guards wooo
Diffstat (limited to 'include/f')
| -rw-r--r-- | include/f/f_base.h | 5 | ||||
| -rw-r--r-- | include/f/f_base_id.h | 7 | ||||
| -rw-r--r-- | include/f/f_helper_unk.h | 5 | ||||
| -rw-r--r-- | include/f/f_list_mg.h | 5 | ||||
| -rw-r--r-- | include/f/f_list_mg_ptmf.h | 5 | ||||
| -rw-r--r-- | include/f/f_list_nd.h | 5 | ||||
| -rw-r--r-- | include/f/f_list_nd_prio.h | 5 | ||||
| -rw-r--r-- | include/f/f_manager.h | 5 | ||||
| -rw-r--r-- | include/f/f_profile.h | 5 | ||||
| -rw-r--r-- | include/f/f_profile_name.h | 5 | ||||
| -rw-r--r-- | include/f/f_tree_mg.h | 5 | ||||
| -rw-r--r-- | include/f/f_tree_mg_ptmf.h | 5 | ||||
| -rw-r--r-- | include/f/f_tree_nd.h | 5 |
13 files changed, 53 insertions, 14 deletions
diff --git a/include/f/f_base.h b/include/f/f_base.h index 1cada108..2db49895 100644 --- a/include/f/f_base.h +++ b/include/f/f_base.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_BASE_H +#define F_BASE_H // This file is adapted from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_base.hpp and the Skyward Sword @@ -154,3 +155,5 @@ private: friend class fLiNdBa_c; friend class fTrMgBa_c; }; + +#endif diff --git a/include/f/f_base_id.h b/include/f/f_base_id.h index 9aed9781..fb0f362e 100644 --- a/include/f/f_base_id.h +++ b/include/f/f_base_id.h @@ -1,6 +1,9 @@ -#pragma once +#ifndef F_BASE_ID_H +#define F_BASE_ID_H enum fBaseID_e { FIRST_ID = 1, INVALID = -1, -};
\ No newline at end of file +}; + +#endif diff --git a/include/f/f_helper_unk.h b/include/f/f_helper_unk.h index af9f5b6e..6d755313 100644 --- a/include/f/f_helper_unk.h +++ b/include/f/f_helper_unk.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_HELPER_UNK_H +#define F_HELPER_UNK_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_helper_unk.hpp @@ -24,3 +25,5 @@ public: int Load(int); ///< @todo Document this method. bool LoadOnlyOne(); ///< @todo Document this method. }; + +#endif diff --git a/include/f/f_list_mg.h b/include/f/f_list_mg.h index 92a13356..eb4d86d7 100644 --- a/include/f/f_list_mg.h +++ b/include/f/f_list_mg.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_LIST_MANAGER_H +#define F_LIST_MANAGER_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_list_mg.hpp @@ -33,3 +34,5 @@ public: return (fLiNdBa_c *)cListMg_c::getLast(); } }; + +#endif diff --git a/include/f/f_list_mg_ptmf.h b/include/f/f_list_mg_ptmf.h index 765be6d6..30b3f491 100644 --- a/include/f/f_list_mg_ptmf.h +++ b/include/f/f_list_mg_ptmf.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_LIST_MANAGER_FUNC_H +#define F_LIST_MANAGER_FUNC_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_list_mg_ptmf.hpp @@ -29,3 +30,5 @@ public: private: int (fBase_c::*mpProcFunc)(); ///< The process function for the list. }; + +#endif diff --git a/include/f/f_list_nd.h b/include/f/f_list_nd.h index c583da5a..6e5cc8eb 100644 --- a/include/f/f_list_nd.h +++ b/include/f/f_list_nd.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_LIST_NODE_H +#define F_LIST_NODE_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_list_nd.hpp @@ -25,3 +26,5 @@ public: fBase_c *p_owner; }; + +#endif diff --git a/include/f/f_list_nd_prio.h b/include/f/f_list_nd_prio.h index 98b60f34..16785e39 100644 --- a/include/f/f_list_nd_prio.h +++ b/include/f/f_list_nd_prio.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_LIST_NODE_PRIORITY_H +#define F_LIST_NODE_PRIORITY_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_list_nd_prio.hpp @@ -47,3 +48,5 @@ public: u16 m_order; ///< The priority of this node. u16 m_new_order; ///< The priority the node should change to if it differs from ::mOrder. }; + +#endif diff --git a/include/f/f_manager.h b/include/f/f_manager.h index fdb7f662..d9dca6e7 100644 --- a/include/f/f_manager.h +++ b/include/f/f_manager.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_MANAGER_H +#define F_MANAGER_H // this file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_manager.hpp @@ -53,3 +54,5 @@ private: friend class fBase_c; }; + +#endif diff --git a/include/f/f_profile.h b/include/f/f_profile.h index 4a6d3492..fa85c7b6 100644 --- a/include/f/f_profile.h +++ b/include/f/f_profile.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_PROFILE_H +#define F_PROFILE_H // Ported from https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_profile.hpp @@ -75,3 +76,5 @@ struct fActorProfile_c : fBaseProfile_c { extern fBaseProfile_c *(*sProfileList)[NUMBER_OF_ACTORS]; ///< A list of all profiles. } // namespace fProfile + +#endif diff --git a/include/f/f_profile_name.h b/include/f/f_profile_name.h index 4287b6a3..a2cf3427 100644 --- a/include/f/f_profile_name.h +++ b/include/f/f_profile_name.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_PROFILE_NAME +#define F_PROFILE_NAME #include <common.h> @@ -712,3 +713,5 @@ enum PROFILE_NAME_e { INVALID, }; }; + +#endif diff --git a/include/f/f_tree_mg.h b/include/f/f_tree_mg.h index c8bfa8e4..d53e4a64 100644 --- a/include/f/f_tree_mg.h +++ b/include/f/f_tree_mg.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_TREE_MANAGER_H +#define F_TREE_MANAGER_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_tree_mg.hpp @@ -33,3 +34,5 @@ public: return (fTrNdBa_c *)cTreeMg_c::getRoot(); } }; + +#endif diff --git a/include/f/f_tree_mg_ptmf.h b/include/f/f_tree_mg_ptmf.h index 311c3ef4..07ea3221 100644 --- a/include/f/f_tree_mg_ptmf.h +++ b/include/f/f_tree_mg_ptmf.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef F_TREE_MANAGER_FUNC_H +#define F_TREE_MANAGER_FUNC_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_tree_mg_ptmf.hpp @@ -24,3 +25,5 @@ public: private: int (fBase_c::*mpProcFunc)(); ///< The process function for the tree. }; + +#endif diff --git a/include/f/f_tree_nd.h b/include/f/f_tree_nd.h index 006d4007..7f0bbec7 100644 --- a/include/f/f_tree_nd.h +++ b/include/f/f_tree_nd.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef C_TREE_NODE_H +#define C_TREE_NODE_H // This file was ported from // https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_tree_nd.hpp @@ -39,3 +40,5 @@ public: fBase_c *p_owner; }; + +#endif |
