mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
New code style refactor
This commit is contained in:
@@ -3,21 +3,19 @@
|
||||
#include "IOStreams.hpp"
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
class CPrimitive {
|
||||
CAssetId x0_animId;
|
||||
u32 x4_animIdx;
|
||||
std::string x8_animName;
|
||||
|
||||
class CPrimitive
|
||||
{
|
||||
CAssetId x0_animId;
|
||||
u32 x4_animIdx;
|
||||
std::string x8_animName;
|
||||
public:
|
||||
CPrimitive(CInputStream& in);
|
||||
CAssetId GetAnimResId() const { return x0_animId; }
|
||||
u32 GetAnimDbIdx() const { return x4_animIdx; }
|
||||
std::string_view GetName() const { return x8_animName; }
|
||||
bool operator<(const CPrimitive& other) const { return x8_animName < other.x8_animName; }
|
||||
CPrimitive(CInputStream& in);
|
||||
CAssetId GetAnimResId() const { return x0_animId; }
|
||||
u32 GetAnimDbIdx() const { return x4_animIdx; }
|
||||
std::string_view GetName() const { return x8_animName; }
|
||||
bool operator<(const CPrimitive& other) const { return x8_animName < other.x8_animName; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user