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 void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const = 0;
|
2023-01-08 02:31:19 +00:00
|
|
|
virtual void PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const;// {}
|
|
|
|
virtual void GetAssets(rstl::vector< CToken >& assetsOut) const;// {}
|
|
|
|
virtual uint GetAssetCount() const;// { return 0; }
|
2022-10-14 08:29:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CINSTRUCTION
|