mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-05 23:15:53 +00:00
Add CInstruction
Former-commit-id: 1f5290572d4592fad389df596bbf2682d1ba9492
This commit is contained in:
parent
2258c581c0
commit
4624d02e51
22
include/MetroidPrime/CInstruction.hpp
Normal file
22
include/MetroidPrime/CInstruction.hpp
Normal file
@ -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
|
7
src/MetroidPrime/CInstruction.cpp
Normal file
7
src/MetroidPrime/CInstruction.cpp
Normal file
@ -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…
x
Reference in New Issue
Block a user