change to header guards wooo

This commit is contained in:
elijah-thomas774
2024-03-17 18:55:49 -04:00
parent de0d7a8e0a
commit 6ca7763bc0
84 changed files with 473 additions and 285 deletions
+4 -1
View File
@@ -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
+5 -2
View File
@@ -1,6 +1,9 @@
#pragma once
#ifndef F_BASE_ID_H
#define F_BASE_ID_H
enum fBaseID_e {
FIRST_ID = 1,
INVALID = -1,
};
};
#endif
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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