I publish this system not very useful but that can serve to have the time below the browser
hwoption.cpp, after function :
Code:
void COption::Init()
ADD :
Code:
#ifdef __NAV_TIME m_NavTime = 1; #endif
Code:
#if __VER >= 12 // __UPDATE_OPT else if(scan.Token == _T( "VIEWMASK" )) { m_bViewMask = scan.GetNumber(); } #endif
Code:
#ifdef __NAV_TIME else if (scan.Token == _T("NavTime")) { m_NavTime = scan.GetNumber(); } #endif
Code:
#ifdef __NAV_TIME _ftprintf(fp, _T("NavTime %d\n"), m_NavTime); #endif
HWOPTION.H
after
Code:
#if __VER >= 8 //__CSC_VER8_3 int m_BuffStatusMode; #endif //__CSC_VER8_3
Code:
#ifdef __NAV_TIME BOOL m_NavTime; #endif
Wndworld.cpp
After :
Code:
if( pItemElem && pItemElem->GetProp()->dwItemKind3 == IK3_BOW ) { // 그리고 왼쪽 버튼을 누르고 포커스가 있어야한다. 그래야 마법 타이밍 작동하니까. if( pFocus && pFocus->GetType() == OT_MOVER && g_pPlayer->IsLive() ) { bRenderGauge = TRUE; if( m_bLButtonDown && m_bSelectTarget ) { if( nPower >= MAX_CHARGE_LEVEL ) // 맥스치가 되면 자동으로 발사됨. dwShootItemKind = IK3_BOW; } } }
Code:
#ifdef __NAV_TIME CWndNavigator* pWndNavigator = (CWndNavigator*)g_WndMng.GetWndBase(APP_NAVIGATOR); if (pWndNavigator && pWndNavigator->IsVisible()) { if (g_Option.m_NavTime) { CRect crBoard = pWndNavigator->GetWndRect(); crBoard.left += 50; crBoard.top += 183; crBoard.right = crBoard.left + 87; crBoard.bottom = crBoard.top + /*50*/ 32; if (g_Option.m_Multi == FALSE) { p2DRender->RenderFillRect(crBoard, D3DCOLOR_ARGB(220, 250, 234, 234)); p2DRender->RenderRect(CRect(crBoard.left - 1, crBoard.top + 1, crBoard.right + 1, crBoard.bottom + 1), D3DCOLOR_ARGB(255, 200, 166, 148)); } else { p2DRender->RenderFillRect(crBoard, D3DCOLOR_ARGB(240, 0, 0, 0)); p2DRender->RenderRect(CRect(crBoard.left - 1, crBoard.top + 1, crBoard.right + 1, crBoard.bottom + 1), D3DCOLOR_ARGB(255, 255, 194, 64)); } CString str; CTexture* pIcon; CPoint pt; CTime tmptime; DWORD dwc = g_Option.m_Multi ? D3DCOLOR_XRGB(255, 255, 255) : D3DCOLOR_XRGB(0, 0, 0); LPCTSTR path = g_Option.m_Multi ? DIR_THEME19 : DIR_THEME; float scale = 0.5f; pt.SetPoint(crBoard.left + 4, crBoard.top + 13); pIcon = CWndBase::m_textureMng.AddTexture(p2DRender->m_pd3dDevice, MakePath(path, "heurenav.png"), 0xffff00ff); p2DRender->RenderTexture(pt, pIcon, 255, scale, scale); tmptime = CTime::GetCurrentTime(); // Server time todo str = tmptime.Format("%H:%M:%S"); p2DRender->TextOut(pt.x + pIcon->m_size.cx * scale + 4, pt.y + 1, str, dwc); } } #endif
ADD __NAV_TIME in version common
For option navigator v19 not before
it will work with the old browser just make a setting with the resize and the position of the icon
image add in your theme folder, sorry for my bad english, bye