mirror of
https://github.com/zeldaret/ss
synced 2026-09-04 02:09:59 -04:00
change to header guards wooo
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user