Price: 0
Adds spacing between buff icons.
WndField.cpp
You'll need to add the option yourself or perhaps someone will post it below.
And define...
Adds spacing between buff icons.
WndField.cpp
Code:
void CWndBuffStatus::SetBuffIconInfo()
{
BUFFICON_INFO buffinfo;
int x = 0;
int y = 0;
int i;
CRect rect;
rect = GetWindowRect(TRUE);
if (!m_pBuffIconInfo.empty())
m_pBuffIconInfo.clear();
#ifdef __BUFF_ICON_SPACE
if (m_BuffIconViewOpt == 0)
{
for (i = 0; i < MAX_SKILLBUFF_COUNT; i++)
{
buffinfo.pt = CPoint(x, y);
m_pBuffIconInfo.push_back(buffinfo);
x += 38;
if (((i + 1) % 7) == 0)
{
x = 0;
y += 38;
}
}
//widht 238, heigth = 68
rect.bottom = 152 + rect.top;
rect.right = 266 + rect.left;
}
else if (m_BuffIconViewOpt == 1)
{
for (i = 0; i < MAX_SKILLBUFF_COUNT; i++)
{
buffinfo.pt = CPoint(x, y);
m_pBuffIconInfo.push_back(buffinfo);
y += 38;
if (((i + 1) % 7) == 0)
{
y = 0;
x += 38;
}
}
//widht 54, heigth = 238
rect.bottom = 266 + rect.top;
rect.right = 152 + rect.left;
}
#else
if (m_BuffIconViewOpt == 0)
{
for (i = 0; i < MAX_SKILLBUFF_COUNT; i++)
{
buffinfo.pt = CPoint(x, y);
m_pBuffIconInfo.push_back(buffinfo);
x += 34;
if (((i + 1) % 7) == 0)
{
x = 0;
y += 34;
}
}
//widht 238, heigth = 68
rect.bottom = 136 + rect.top;
rect.right = 238 + rect.left;
}
else if (m_BuffIconViewOpt == 1)
{
for (i = 0; i<MAX_SKILLBUFF_COUNT; i++)
{
buffinfo.pt = CPoint(x, y);
m_pBuffIconInfo.push_back(buffinfo);
y += 34;
if (((i + 1) % 7) == 0)
{
y = 0;
x += 34;
}
}
//widht 54, heigth = 238
rect.bottom = 238 + rect.top;
rect.right = 136 + rect.left;
}
#endif
SetWndRect(rect);
AdjustWndBase();
}
You'll need to add the option yourself or perhaps someone will post it below.
And define...
Code:
#define __BUFF_ICON_SPACE