Match and link CLineSpacingInstruction

Former-commit-id: 481e7e2100
This commit is contained in:
2023-01-07 18:31:19 -08:00
parent eec994634a
commit 6d153e758c
22 changed files with 121 additions and 72 deletions

View File

@@ -0,0 +1,11 @@
#include "Kyoto/Text/CLineSpacingInstruction.hpp"
#include "Kyoto/Text/CFontRenderState.hpp"
void CLineSpacingInstruction::Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const {
state.SetLineSpacing(x4_spacing);
}
void CLineSpacingInstruction::PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const {
Invoke(state, buf);
}

View File

@@ -1,5 +1,6 @@
#include "MetroidPrime/CInstruction.hpp"
#include "Kyoto/Text/CInstruction.hpp"
/* TODO: These get ODR'd into CSplashScreen, so match and link that and put these in the header where they belong */
uint CInstruction::GetAssetCount() const { return 0; }
void CInstruction::GetAssets(rstl::vector< CToken >& assetsOut) const {}