原生绘制字符(满意一般)
This commit is contained in:
@@ -29,8 +29,8 @@ void _fastcall hook::H_Register_DrawCode(DWORD thisc, int Seat, int a3, int a4,
|
||||
{
|
||||
for (DrawCodestruct iter : DrawCodeT1_STL)
|
||||
{
|
||||
wchar_t* str = DNFTOOL::charTowchar_t((char*)iter.str.c_str());
|
||||
DrawCodeF(thisc, Seat, iter.Xpos, iter.Ypos, iter.Color, (int)str);
|
||||
//wchar_t* str = DNFTOOL::charTowchar_t((char*)iter.str.c_str());
|
||||
DrawCodeF(thisc, Seat, iter.Xpos, iter.Ypos, iter.Color, (int)iter.str);
|
||||
}
|
||||
DrawCodeT1_STL.clear();
|
||||
}
|
||||
@@ -38,8 +38,8 @@ void _fastcall hook::H_Register_DrawCode(DWORD thisc, int Seat, int a3, int a4,
|
||||
{
|
||||
for (DrawCodestruct iter : DrawCodeT2_STL)
|
||||
{
|
||||
wchar_t* str = DNFTOOL::charTowchar_t((char*)iter.str.c_str());
|
||||
DrawCodeF(thisc, Seat, iter.Xpos, iter.Ypos, iter.Color, (int)str);
|
||||
//wchar_t* str = DNFTOOL::charTowchar_t((char*)iter.str.c_str());
|
||||
DrawCodeF(thisc, Seat, iter.Xpos, iter.Ypos, iter.Color, (int)iter.str);
|
||||
}
|
||||
DrawCodeT2_STL.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user