ahh ok i gonna figure out it my self

btw thanks again for response .
Quote:
Originally Posted by - DK ACE
You are looking for position. You dont look for the hight of anoucement. Set the part of wndworld.cpp in the right line. I cant give you a example, because i dont have visual studio or a flyff source.
|
i try 5 times and compile it but still not changing any position -_-
if (g_Option.m_nResWidth == 1620 && g_Option.m_nResHeight == 800)
{
CRect rect(CPoint(0, g_Option.m_nResHeight - 90), CPoint(g_Option.m_nResWidth, g_Option.m_nResHeight - 20));
p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
p2DRender->TextOut(nxPos--, g_Option.m_nResHeight - 84, lpMessage, 0xFFFFFFFF);
}
else if (g_Option.m_nResWidth == 1600 && g_Option.m_nResHeight == 800)
{
CRect rect(CPoint(0, g_Option.m_nResHeight - 210), CPoint(g_Option.m_nResWidth, g_Option.m_nResHeight - 20));
p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
p2DRender->TextOut(nxPos--, g_Option.m_nResHeight - 204, lpMessage, 0xFFFFFFFF);
}
else
#endif // __RESOLUTION
{
CRect rect(CPoint(0, g_Option.m_nResHeight -90), CPoint(g_Option.m_nResWidth, g_Option.m_nResHeight - 20));
p2DRender->RenderFillRect(rect, 0xAA2E2E2E);
p2DRender->TextOut(nxPos--, g_Option.m_nResHeight -84, g_strGlobalMsg, 0xFFFFFFFF);
}
if (nxPos <= 0)
{
CSize size = p2DRender->m_pFont->GetTextExtent(g_strGlobalMsg);
if (nxPos + size.cx <= 0)
nxPos = g_Option.m_nResWidth;