mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:07:42 +00:00
New code style refactor
This commit is contained in:
@@ -3,20 +3,18 @@
|
||||
#include "RetroTypes.hpp"
|
||||
#include "WeaponCommon.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
class CWeaponMgr {
|
||||
std::map<TUniqueId, rstl::reserved_vector<s32, 10>> x0_weapons;
|
||||
|
||||
class CWeaponMgr
|
||||
{
|
||||
std::map<TUniqueId, rstl::reserved_vector<s32, 10>> x0_weapons;
|
||||
public:
|
||||
void Add(TUniqueId, EWeaponType);
|
||||
void Remove(TUniqueId);
|
||||
void IncrCount(TUniqueId, EWeaponType);
|
||||
void DecrCount(TUniqueId, EWeaponType);
|
||||
s32 GetNumActive(TUniqueId, EWeaponType) const;
|
||||
s32 GetIndex(TUniqueId) const;
|
||||
void Add(TUniqueId, EWeaponType);
|
||||
void Remove(TUniqueId);
|
||||
void IncrCount(TUniqueId, EWeaponType);
|
||||
void DecrCount(TUniqueId, EWeaponType);
|
||||
s32 GetNumActive(TUniqueId, EWeaponType) const;
|
||||
s32 GetIndex(TUniqueId) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user