mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(gx): name TEXTLINETEXTURE::WriteGeometry param
This commit is contained in:
parent
fe217c3ac3
commit
1f160ebd06
@ -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)),
|
||||
|
||||
@ -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> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user