chore(gx): name TEXTLINETEXTURE::WriteGeometry param

This commit is contained in:
fallenoak 2025-12-21 11:40:27 -06:00
parent fe217c3ac3
commit 1f160ebd06
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ void TEXTLINETEXTURE::Recycle(TEXTLINETEXTURE* ptr) {
}
}
void TEXTLINETEXTURE::WriteGeometry(CGxVertexPCT* buf, const CImVector& fontColor, const C2Vector& shadowOffset, const CImVector& shadowColor, const C3Vector& viewTranslation, bool a7, bool a8, int32_t ofs, int32_t size) {
void TEXTLINETEXTURE::WriteGeometry(CGxVertexPCT* buf, const CImVector& fontColor, const C2Vector& shadowOffset, const CImVector& shadowColor, const C3Vector& viewTranslation, bool hasShadow, bool a8, int32_t ofs, int32_t size) {
if (!size || !this->m_vert.Count()) {
return;
}
@ -47,7 +47,7 @@ void TEXTLINETEXTURE::WriteGeometry(CGxVertexPCT* buf, const CImVector& fontColo
size = v24;
}
if (a7) {
if (hasShadow) {
C3Vector shadowTranslation = {
viewTranslation.x + floor(ScreenToPixelWidth(0, shadowOffset.x)),
viewTranslation.y + floor(ScreenToPixelHeight(0, shadowOffset.y)),

View File

@ -27,7 +27,7 @@ class TEXTLINETEXTURE {
TSGrowableArray<CImVector> m_colors;
// Member functions
void WriteGeometry(CGxVertexPCT*, const CImVector&, const C2Vector&, const CImVector&, const C3Vector&, bool, bool, int32_t, int32_t);
void WriteGeometry(CGxVertexPCT*, const CImVector&, const C2Vector&, const CImVector&, const C3Vector&, bool hasShadow, bool, int32_t, int32_t);
};
class CGxString : public TSLinkedNode<CGxString> {