2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 02:46:09 +00:00

Initial CFont implementation, proper CTexture/CGraphicsPalette structures

This commit is contained in:
2022-02-26 18:18:58 -08:00
parent 40a1f3c4a0
commit b02ec12049
14 changed files with 312 additions and 110 deletions

View File

@@ -3,6 +3,7 @@
#include "Runtime/CTimeProvider.hpp"
#include "Runtime/Graphics/CLight.hpp"
#include "Runtime/Graphics/CLineRenderer.hpp"
#include "Runtime/Graphics/CTexture.hpp"
#include "Runtime/Graphics/Shaders/CTextSupportShader.hpp"
#include "Runtime/GuiSys/CGuiSys.hpp"
@@ -145,6 +146,12 @@ void CGraphics::EndScene() {
UpdateFPSCounter();
}
bool CGraphics::BeginRender2D(const CTexture& tex) { return false; }
void CGraphics::DoRender2D(const CTexture& tex, s32 x, s32 y, s32 w1, s32 w2, s32 w3, s32 w4, s32 w5,
const zeus::CColor& col) {}
void CGraphics::EndRender2D(bool v) {}
void CGraphics::SetAlphaCompare(ERglAlphaFunc comp0, u8 ref0, ERglAlphaOp op, ERglAlphaFunc comp1, u8 ref1) {}
void CGraphics::SetViewPointMatrix(const zeus::CTransform& xf) {