mirror of https://github.com/PrimeDecomp/prime.git
parent
2258c581c0
commit
4624d02e51
|
@ -0,0 +1,22 @@
|
||||||
|
#ifndef _CINSTRUCTION
|
||||||
|
#define _CINSTRUCTION
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
|
#include "Kyoto/CToken.hpp"
|
||||||
|
|
||||||
|
#include "rstl/vector.hpp"
|
||||||
|
|
||||||
|
class CFontRenderState;
|
||||||
|
class CTextRenderBuffer;
|
||||||
|
|
||||||
|
class CInstruction {
|
||||||
|
public:
|
||||||
|
virtual ~CInstruction() {}
|
||||||
|
virtual uint GetAssetCount() const;
|
||||||
|
virtual void GetAssets(rstl::vector<CToken>& assetsOut) const;
|
||||||
|
virtual void PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
|
||||||
|
virtual void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // _CINSTRUCTION
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include "MetroidPrime/CInstruction.hpp"
|
||||||
|
|
||||||
|
uint CInstruction::GetAssetCount() const { return 0; }
|
||||||
|
|
||||||
|
void CInstruction::GetAssets(rstl::vector< CToken >& assetsOut) const {}
|
||||||
|
|
||||||
|
void CInstruction::PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const {}
|
Loading…
Reference in New Issue