mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-17 22:45:23 +00:00
Various imps
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
#ifndef __URDE_CSFXHANDLE_HPP__
|
||||
#define __URDE_CSFXHANDLE_HPP__
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class CSfxHandle
|
||||
{
|
||||
static u32 mRefCount;
|
||||
u32 x0_index = 0;
|
||||
public:
|
||||
CSfxHandle() = default;
|
||||
CSfxHandle(const CSfxHandle&) = default;
|
||||
CSfxHandle(u32 idx);
|
||||
|
||||
void operator =(const CSfxHandle& other);
|
||||
bool operator !=(const CSfxHandle& other) const;
|
||||
bool operator ==(const CSfxHandle& other) const;
|
||||
u32 GetIndex() const { return x0_index; }
|
||||
static CSfxHandle NullHandle() { return {}; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user