Match and link CRemoveColorOverrideInstruction

Former-commit-id: d0b7837042
This commit is contained in:
2023-01-11 12:16:02 -08:00
parent 187c29105e
commit dbf90286dc
7 changed files with 40 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
#ifndef _CREMOVECOLOROVERRIDEINSTRUCTION
#define _CREMOVECOLOROVERRIDEINSTRUCTION
#include "Kyoto/Text/CInstruction.hpp"
class CRemoveColorOverrideInstruction : public CInstruction {
public:
explicit CRemoveColorOverrideInstruction(int idx) : x4_idx(idx) {}
void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
void PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
private:
int x4_idx;
};
#endif // _CREMOVECOLOROVERRIDEINSTRUCTION