prime/include/MetroidPrime/CInstruction.hpp

23 lines
525 B
C++
Raw Normal View History

2022-10-14 08:29:59 +00:00
#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