While it does not happen select effect
or is used aura it also fails
Do not have error code in Program and Client/Log
Please help me fix it ! Thank ago
Source :
_Interface
FuncApplet.cpp
#ifdef __JOPS_GLOW
DECLAREAPPLET( AppMain_Glow , new CWndGlowChange );
#endif //__JOPS_GLOW
#ifdef __JOPS_GLOW
AddAppletFunc( AppMain_Glow , APP_SETAURA1 , _T( "WndGlowChange" ) , _T( "Icon_HelperHelp.dds" ) , "先텄臥밞呵袴췄壘닻롱癰旅", 'Z' );
#endif //__JOPS_GLOW
DECLAREAPPLET( AppMain_Glow , new CWndGlowChange );
#endif //__JOPS_GLOW
#ifdef __JOPS_GLOW
AddAppletFunc( AppMain_Glow , APP_SETAURA1 , _T( "WndGlowChange" ) , _T( "Icon_HelperHelp.dds" ) , "先텄臥밞呵袴췄壘닻롱癰旅", 'Z' );
#endif //__JOPS_GLOW
WndField.cpp
#ifdef __JOPS_GLOW
CWndGlowChange::CWndGlowChange( void )
{
GlowBody = 0;
GlowHandRight = 0;
GlowHandLeft = 0;
GlowArmRight = 0;
GlowArmLeft = 0;
GlowLegRight = 0;
GlowLegLeft = 0;
GlowBodyC = 0;
GlowHandRightC = 0;
GlowHandLeftC = 0;
GlowArmRightC = 0;
GlowArmLeftC = 0;
GlowLegLeftC = 0;
GlowLegRightC = 0;
}
CWndGlowChange::~CWndGlowChange( void )
{
GlowBody = 0;
GlowHandRight = 0;
GlowHandLeft = 0;
GlowArmRight = 0;
GlowArmLeft = 0;
GlowLegRight = 0;
GlowLegLeft = 0;
GlowBodyC = 0;
GlowHandRightC = 0;
GlowHandLeftC = 0;
GlowArmRightC = 0;
GlowArmLeftC = 0;
GlowLegLeftC = 0;
GlowLegRightC = 0;
DeleteDeviceObjects();
}
BOOL CWndGlowChange::Initialize( CWndBase* pWndParent, DWORD dwType )
{
return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_SETAURA1, 0, CPoint( 0, 0 ), pWndParent );
}
BOOL CWndGlowChange::OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase )
{
return CWndNeuz::OnCommand( nID, dwMessage, pWndBase );
}
void CWndGlowChange::OnSize( UINT nType, int cx, int cy )
{
CWndNeuz::OnSize( nType, cx, cy );
}
void CWndGlowChange::OnLButtonUp( UINT nFlags, CPoint point )
{
}
void CWndGlowChange::OnLButtonDown( UINT nFlags, CPoint point )
{
}
void CWndGlowChange::OnDraw( C2DRender* p2DRender )
{
CWndStatic* sbody = (CWndStatic*)GetDlgItem(WIDC_STATICCOL);
CWndStatic* shandright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND);
CWndStatic* shandleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1);
CWndStatic* sarmright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11);
CWndStatic* sarmleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND111);
CWndStatic* slegright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1111);
CWndStatic* slegleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11111);
CWndStatic* sbodyc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTCOL);
CWndStatic* shandrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND);
CWndStatic* shandleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1);
CWndStatic* sarmrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11);
CWndStatic* sarmleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND111);
CWndStatic* slegrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1111);
CWndStatic* slegleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11111);
CString str1;
CString str2;
if(sbody)
{
switch( GlowBody )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
sbody->SetTitle(str1);
}
if(sarmright)
{
switch( GlowArmRight )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
sarmright->SetTitle(str1);
}
if(sarmleft)
{
switch( GlowArmLeft )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
sarmleft->SetTitle(str1);
}
if(slegleft)
{
switch( GlowLegLeft )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
slegleft->SetTitle(str1);
}
if(slegright)
{
switch( GlowLegRight )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
slegright->SetTitle(str1);
}
if(shandright)
{
switch( GlowHandRight )
{
case 0: str2.Format("Sample"); break;
case 1: str2.Format("Devil Red"); break;
case 2: str2.Format("Icy Blue"); break;
case 3: str2.Format("Sunny Yellow"); break;
case 4: str2.Format("Pumping Green"); break;
case 5: str2.Format("Glowing Magnolia"); break;
case 6: str2.Format("Darky Pink"); break;
case 7: str2.Format("Free Red"); break;
case 8: str2.Format("Pink Moon"); break;
case 9: str2.Format("Rainbow Power"); break;
case 10: str2.Format("Sample White"); break;
case 11: str2.Format("Hell's Fire"); break;
case 12: str2.Format("Darky Magnolia"); break;
case 13: str2.Format("Devil Green"); break;
case 14: str2.Format("Slayer's Red"); break;
case 15: str2.Format("Purple Moon"); break;
case 16: str2.Format("Ice Abyss"); break;
case 17: str2.Format("Red Abyss"); break;
case 18: str2.Format("Green Abyss"); break;
case 19: str2.Format("Ethern Blue"); break;
case 20: str2.Format("Green Spirit"); break;
case 21: str2.Format("Pink Spirit"); break;
case 22: str2.Format("Shadow"); break;
case 23: str2.Format("Hell's Glow"); break;
}
shandright->SetTitle(str2);
}
if(shandleft)
{
switch( GlowHandLeft )
{
case 0: str2.Format("Sample"); break;
case 1: str2.Format("Devil Red"); break;
case 2: str2.Format("Icy Blue"); break;
case 3: str2.Format("Sunny Yellow"); break;
case 4: str2.Format("Pumping Green"); break;
case 5: str2.Format("Glowing Magnolia"); break;
case 6: str2.Format("Darky Pink"); break;
case 7: str2.Format("Free Red"); break;
case 8: str2.Format("Pink Moon"); break;
case 9: str2.Format("Rainbow Power"); break;
case 10: str2.Format("Sample White"); break;
case 11: str2.Format("Hell's Fire"); break;
case 12: str2.Format("Darky Magnolia"); break;
case 13: str2.Format("Devil Green"); break;
case 14: str2.Format("Slayer's Red"); break;
case 15: str2.Format("Purple Moon"); break;
case 16: str2.Format("Ice Abyss"); break;
case 17: str2.Format("Red Abyss"); break;
case 18: str2.Format("Green Abyss"); break;
case 19: str2.Format("Ethern Blue"); break;
case 20: str2.Format("Green Spirit"); break;
case 21: str2.Format("Pink Spirit"); break;
case 22: str2.Format("Shadow"); break;
case 23: str2.Format("Hell's Glow"); break;
}
shandleft->SetTitle(str2);
}
return;
}
void CWndGlowChange::UpDateModel()
{
}
void CWndGlowChange::UpdateParts()
{
}
HRESULT CWndGlowChange::RestoreDeviceObjects()
{
CWndNeuz::RestoreDeviceObjects();
return S_OK;
}
HRESULT CWndGlowChange::InvalidateDeviceObjects()
{
CWndNeuz::InvalidateDeviceObjects();
return S_OK;
}
HRESULT CWndGlowChange:
eleteDeviceObjects()
{
CWndNeuz:
eleteDeviceObjects();
InvalidateDeviceObjects();
return S_OK;
}
void CWndGlowChange::OnInitialUpdate( void )
{
CWndNeuz::OnInitialUpdate();
//getting the interface controls
CWndStatic* sbody = (CWndStatic*)GetDlgItem(WIDC_STATICCOL);
CWndStatic* shandright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND);
CWndStatic* shandleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1);
CWndStatic* sarmright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11);
CWndStatic* sarmleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND111);
CWndStatic* slegright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1111);
CWndStatic* slegleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11111);
CWndStatic* sbodyc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTCOL);
CWndStatic* shandrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND);
CWndStatic* shandleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1);
CWndStatic* sarmrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11);
CWndStatic* sarmleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND111);
CWndStatic* slegrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1111);
CWndStatic* slegleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11111);
//setting all variables to default
GlowBody = g_pPlayer->m_iGlowBody;
GlowHandLeft = g_pPlayer->m_iGlowHandLeft;
GlowHandRight = g_pPlayer->m_iGlowHandRight;
GlowArmLeft = g_pPlayer->m_iGlowArmLeft;
GlowArmRight = g_pPlayer->m_iGlowArmRight;
GlowLegLeft = g_pPlayer->m_iGlowLegLeft;
GlowLegRight = g_pPlayer->m_iGlowLegRight;
//setting all counters to 1
GlowBodyC = g_pPlayer->m_iGlowBody + 1;
GlowHandLeftC = g_pPlayer->m_iGlowHandLeft; + 1;
GlowHandRightC = g_pPlayer->m_iGlowHandRight + 1;
GlowArmLeftC = g_pPlayer->m_iGlowArmLeft + 1;
GlowArmRightC = g_pPlayer->m_iGlowArmRight + 1;
GlowLegLeftC = g_pPlayer->m_iGlowLegLeft + 1;
GlowLegRightC = g_pPlayer->m_iGlowLegRight + 1;
//output to the window
CString strbc;
CString strhlc;
CString strhrc;
CString stralc;
CString strarc;
CString strllc;
CString strlrc;
strbc.Format("%i/16", GlowBodyC);
strhlc.Format("%i/24", GlowHandLeftC);
strhrc.Format("%i/24", GlowHandRightC);
stralc.Format("%i/16", GlowArmLeftC);
strarc.Format("%i/16", GlowArmRightC);
strllc.Format("%i/16", GlowLegLeftC);
strlrc.Format("%i/16", GlowLegRightC);
sbodyc->SetTitle(strbc);
shandrightc->SetTitle(strhrc);
shandleftc->SetTitle(strhlc);
sarmrightc->SetTitle(strarc);
sarmleftc->SetTitle(stralc);
slegleftc->SetTitle(strllc);
slegrightc->SetTitle(strlrc);
MoveParentCenter();
}
BOOL CWndGlowChange::OnChildNotify( UINT message, UINT nID, LRESULT* pLResult )
{
CWndStatic* sbody = (CWndStatic*)GetDlgItem(WIDC_STATICCOL);
CWndStatic* shandright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND);
CWndStatic* shandleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1);
CWndStatic* sarmright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11);
CWndStatic* sarmleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND111);
CWndStatic* slegright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1111);
CWndStatic* slegleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11111);
CWndStatic* sbodyc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTCOL);
CWndStatic* shandrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND);
CWndStatic* shandleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1);
CWndStatic* sarmrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11);
CWndStatic* sarmleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND111);
CWndStatic* slegrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1111);
CWndStatic* slegleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11111);
CString strbc;
CString strhlc;
CString strhrc;
CString stralc;
CString strarc;
CString strllc;
CString strlrc;
switch (nID)
{
case WIDC_BUTTCOLRIGHT:
{
if(GlowBody == 15)
{
GlowBodyC = 1;
GlowBody = 0;
}
else
{
GlowBodyC += 1;
GlowBody += 1;
}
strbc.Format("%i/16", GlowBodyC);
sbodyc->SetTitle(strbc);
break;
}
case WIDC_BUTTCOLLEFT:
{
if(GlowBody == 0)
{
GlowBodyC = 16;
GlowBody = 15;
}
else
{
GlowBodyC -= 1;
GlowBody -= 1;
}
strbc.Format("%i/16", GlowBodyC);
sbodyc->SetTitle(strbc);
break;
}
case WIDC_BUTTHANDLEFT:
{
if(GlowHandRight == 0)
{
GlowHandRightC = 24;
GlowHandRight = 23;
}
else
{
GlowHandRight -= 1;
GlowHandRightC -= 1;
}
strhrc.Format("%i/24", GlowHandRightC);
shandrightc->SetTitle(strhrc);
break;
}
case WIDC_BUTTHANDRIGHT:
{
if(GlowHandRight == 23)
{
GlowHandRightC = 1;
GlowHandRight = 0;
}
else
{
GlowHandRight += 1;
GlowHandRightC += 1;
}
strhrc.Format("%i/24", GlowHandRightC);
shandrightc->SetTitle(strhrc);
break;
}
case WIDC_BUTTHANDLEFT1:
{
if(GlowHandLeft == 0)
{
GlowHandLeftC = 24;
GlowHandLeft = 23;
}
else
{
GlowHandLeft -= 1;
GlowHandLeftC -= 1;
}
strhlc.Format("%i/24", GlowHandLeftC);
shandleftc->SetTitle(strhlc);
break;
}
case WIDC_BUTTHANDRIGHT1:
{
if(GlowHandLeft == 23)
{
GlowHandLeftC = 1;
GlowHandLeft = 0;
}
else
{
GlowHandLeft += 1;
GlowHandLeftC += 1;
}
strhlc.Format("%i/24", GlowHandLeftC);
shandleftc->SetTitle(strhlc);
break;
}
case WIDC_BUTTHANDRIGHT11:
{
if(GlowArmRight == 15)
{
GlowArmRightC = 1;
GlowArmRight = 0;
}
else
{
GlowArmRightC += 1;
GlowArmRight += 1;
}
strarc.Format("%i/16", GlowArmRightC);
sarmrightc->SetTitle(strarc);
break;
}
case WIDC_BUTTHANDLEFT11:
{
if(GlowArmRight == 0)
{
GlowArmRightC = 16;
GlowArmRight = 15;
}
else
{
GlowArmRightC -= 1;
GlowArmRight -= 1;
}
strarc.Format("%i/16", GlowArmRightC);
sarmrightc->SetTitle(strarc);
break;
}
case WIDC_BUTTHANDRIGHT111:
{
if(GlowArmLeft == 15)
{
GlowArmLeftC = 1;
GlowArmLeft = 0;
}
else
{
GlowArmLeftC += 1;
GlowArmLeft += 1;
}
stralc.Format("%i/16", GlowArmLeftC);
sarmleftc->SetTitle(stralc);
break;
}
case WIDC_BUTTHANDLEFT111:
{
if(GlowArmLeft == 0)
{
GlowArmLeftC = 16;
GlowArmLeft = 15;
}
else
{
GlowArmLeftC -= 1;
GlowArmLeft -= 1;
}
stralc.Format("%i/16", GlowArmLeftC);
sarmleftc->SetTitle(stralc);
break;
}
case WIDC_BUTTHANDRIGHT1111:
{
if(GlowLegRight == 15)
{
GlowLegRightC = 1;
GlowLegRight = 0;
}
else
{
GlowLegRightC += 1;
GlowLegRight += 1;
}
strlrc.Format("%i/16", GlowLegRightC);
slegrightc->SetTitle(strlrc);
break;
}
case WIDC_BUTTHANDLEFT1111:
{
if(GlowLegRight == 0)
{
GlowLegRightC = 16;
GlowLegRight = 15;
}
else
{
GlowLegRightC -= 1;
GlowLegRight -= 1;
}
strlrc.Format("%i/16", GlowLegRightC);
slegrightc->SetTitle(strlrc);
break;
}
case WIDC_BUTTHANDRIGHT11111:
{
if(GlowLegLeft == 15)
{
GlowLegLeftC = 1;
GlowLegLeft = 0;
}
else
{
GlowLegLeftC += 1;
GlowLegLeft += 1;
}
strllc.Format("%i/16", GlowLegLeftC);
slegleftc->SetTitle(strllc);
break;
}
case WIDC_BUTTHANDLEFT11111:
{
if(GlowLegLeft == 0)
{
GlowLegLeftC = 16;
GlowLegLeft = 15;
}
else
{
GlowLegLeftC -= 1;
GlowLegLeft -= 1;
}
strllc.Format("%i/16", GlowLegLeftC);
slegleftc->SetTitle(strllc);
break;
}
case WIDC_BUTTAURAOK:
{
g_DPlay.SendGlowChange( GlowBody, GlowHandLeft, GlowHandRight, GlowArmLeft, GlowArmRight, GlowLegLeft, GlowLegRight);
Destroy();
break;
}
}
return CWndNeuz::OnChildNotify( message, nID, pLResult );
}
#endif //__JOPS_GLOW
CWndGlowChange::CWndGlowChange( void )
{
GlowBody = 0;
GlowHandRight = 0;
GlowHandLeft = 0;
GlowArmRight = 0;
GlowArmLeft = 0;
GlowLegRight = 0;
GlowLegLeft = 0;
GlowBodyC = 0;
GlowHandRightC = 0;
GlowHandLeftC = 0;
GlowArmRightC = 0;
GlowArmLeftC = 0;
GlowLegLeftC = 0;
GlowLegRightC = 0;
}
CWndGlowChange::~CWndGlowChange( void )
{
GlowBody = 0;
GlowHandRight = 0;
GlowHandLeft = 0;
GlowArmRight = 0;
GlowArmLeft = 0;
GlowLegRight = 0;
GlowLegLeft = 0;
GlowBodyC = 0;
GlowHandRightC = 0;
GlowHandLeftC = 0;
GlowArmRightC = 0;
GlowArmLeftC = 0;
GlowLegLeftC = 0;
GlowLegRightC = 0;
DeleteDeviceObjects();
}
BOOL CWndGlowChange::Initialize( CWndBase* pWndParent, DWORD dwType )
{
return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_SETAURA1, 0, CPoint( 0, 0 ), pWndParent );
}
BOOL CWndGlowChange::OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase )
{
return CWndNeuz::OnCommand( nID, dwMessage, pWndBase );
}
void CWndGlowChange::OnSize( UINT nType, int cx, int cy )
{
CWndNeuz::OnSize( nType, cx, cy );
}
void CWndGlowChange::OnLButtonUp( UINT nFlags, CPoint point )
{
}
void CWndGlowChange::OnLButtonDown( UINT nFlags, CPoint point )
{
}
void CWndGlowChange::OnDraw( C2DRender* p2DRender )
{
CWndStatic* sbody = (CWndStatic*)GetDlgItem(WIDC_STATICCOL);
CWndStatic* shandright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND);
CWndStatic* shandleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1);
CWndStatic* sarmright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11);
CWndStatic* sarmleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND111);
CWndStatic* slegright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1111);
CWndStatic* slegleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11111);
CWndStatic* sbodyc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTCOL);
CWndStatic* shandrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND);
CWndStatic* shandleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1);
CWndStatic* sarmrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11);
CWndStatic* sarmleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND111);
CWndStatic* slegrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1111);
CWndStatic* slegleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11111);
CString str1;
CString str2;
if(sbody)
{
switch( GlowBody )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
sbody->SetTitle(str1);
}
if(sarmright)
{
switch( GlowArmRight )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
sarmright->SetTitle(str1);
}
if(sarmleft)
{
switch( GlowArmLeft )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
sarmleft->SetTitle(str1);
}
if(slegleft)
{
switch( GlowLegLeft )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
slegleft->SetTitle(str1);
}
if(slegright)
{
switch( GlowLegRight )
{
case 0: str1.Format("Sample"); break;
case 1: str1.Format("Devil Red"); break;
case 2: str1.Format("Icy Blue"); break;
case 3: str1.Format("Strong Orange"); break;
case 4: str1.Format("Pinky"); break;
case 5: str1.Format("Magnolia"); break;
case 6: str1.Format("Evil Dark"); break;
case 7: str1.Format("Burning Red"); break;
case 8: str1.Format("Light Pink"); break;
case 9: str1.Format("Rainbow Power"); break;
case 10: str1.Format("Sparkling Pink"); break;
case 11: str1.Format("Sparkling Red"); break;
case 12: str1.Format("Evil Purple"); break;
case 13: str1.Format("Electric Dark"); break;
case 14: str1.Format("Bloody Dark"); break;
case 15: str1.Format("Pinky Dark"); break;
}
slegright->SetTitle(str1);
}
if(shandright)
{
switch( GlowHandRight )
{
case 0: str2.Format("Sample"); break;
case 1: str2.Format("Devil Red"); break;
case 2: str2.Format("Icy Blue"); break;
case 3: str2.Format("Sunny Yellow"); break;
case 4: str2.Format("Pumping Green"); break;
case 5: str2.Format("Glowing Magnolia"); break;
case 6: str2.Format("Darky Pink"); break;
case 7: str2.Format("Free Red"); break;
case 8: str2.Format("Pink Moon"); break;
case 9: str2.Format("Rainbow Power"); break;
case 10: str2.Format("Sample White"); break;
case 11: str2.Format("Hell's Fire"); break;
case 12: str2.Format("Darky Magnolia"); break;
case 13: str2.Format("Devil Green"); break;
case 14: str2.Format("Slayer's Red"); break;
case 15: str2.Format("Purple Moon"); break;
case 16: str2.Format("Ice Abyss"); break;
case 17: str2.Format("Red Abyss"); break;
case 18: str2.Format("Green Abyss"); break;
case 19: str2.Format("Ethern Blue"); break;
case 20: str2.Format("Green Spirit"); break;
case 21: str2.Format("Pink Spirit"); break;
case 22: str2.Format("Shadow"); break;
case 23: str2.Format("Hell's Glow"); break;
}
shandright->SetTitle(str2);
}
if(shandleft)
{
switch( GlowHandLeft )
{
case 0: str2.Format("Sample"); break;
case 1: str2.Format("Devil Red"); break;
case 2: str2.Format("Icy Blue"); break;
case 3: str2.Format("Sunny Yellow"); break;
case 4: str2.Format("Pumping Green"); break;
case 5: str2.Format("Glowing Magnolia"); break;
case 6: str2.Format("Darky Pink"); break;
case 7: str2.Format("Free Red"); break;
case 8: str2.Format("Pink Moon"); break;
case 9: str2.Format("Rainbow Power"); break;
case 10: str2.Format("Sample White"); break;
case 11: str2.Format("Hell's Fire"); break;
case 12: str2.Format("Darky Magnolia"); break;
case 13: str2.Format("Devil Green"); break;
case 14: str2.Format("Slayer's Red"); break;
case 15: str2.Format("Purple Moon"); break;
case 16: str2.Format("Ice Abyss"); break;
case 17: str2.Format("Red Abyss"); break;
case 18: str2.Format("Green Abyss"); break;
case 19: str2.Format("Ethern Blue"); break;
case 20: str2.Format("Green Spirit"); break;
case 21: str2.Format("Pink Spirit"); break;
case 22: str2.Format("Shadow"); break;
case 23: str2.Format("Hell's Glow"); break;
}
shandleft->SetTitle(str2);
}
return;
}
void CWndGlowChange::UpDateModel()
{
}
void CWndGlowChange::UpdateParts()
{
}
HRESULT CWndGlowChange::RestoreDeviceObjects()
{
CWndNeuz::RestoreDeviceObjects();
return S_OK;
}
HRESULT CWndGlowChange::InvalidateDeviceObjects()
{
CWndNeuz::InvalidateDeviceObjects();
return S_OK;
}
HRESULT CWndGlowChange:
{
CWndNeuz:
InvalidateDeviceObjects();
return S_OK;
}
void CWndGlowChange::OnInitialUpdate( void )
{
CWndNeuz::OnInitialUpdate();
//getting the interface controls
CWndStatic* sbody = (CWndStatic*)GetDlgItem(WIDC_STATICCOL);
CWndStatic* shandright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND);
CWndStatic* shandleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1);
CWndStatic* sarmright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11);
CWndStatic* sarmleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND111);
CWndStatic* slegright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1111);
CWndStatic* slegleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11111);
CWndStatic* sbodyc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTCOL);
CWndStatic* shandrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND);
CWndStatic* shandleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1);
CWndStatic* sarmrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11);
CWndStatic* sarmleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND111);
CWndStatic* slegrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1111);
CWndStatic* slegleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11111);
//setting all variables to default
GlowBody = g_pPlayer->m_iGlowBody;
GlowHandLeft = g_pPlayer->m_iGlowHandLeft;
GlowHandRight = g_pPlayer->m_iGlowHandRight;
GlowArmLeft = g_pPlayer->m_iGlowArmLeft;
GlowArmRight = g_pPlayer->m_iGlowArmRight;
GlowLegLeft = g_pPlayer->m_iGlowLegLeft;
GlowLegRight = g_pPlayer->m_iGlowLegRight;
//setting all counters to 1
GlowBodyC = g_pPlayer->m_iGlowBody + 1;
GlowHandLeftC = g_pPlayer->m_iGlowHandLeft; + 1;
GlowHandRightC = g_pPlayer->m_iGlowHandRight + 1;
GlowArmLeftC = g_pPlayer->m_iGlowArmLeft + 1;
GlowArmRightC = g_pPlayer->m_iGlowArmRight + 1;
GlowLegLeftC = g_pPlayer->m_iGlowLegLeft + 1;
GlowLegRightC = g_pPlayer->m_iGlowLegRight + 1;
//output to the window
CString strbc;
CString strhlc;
CString strhrc;
CString stralc;
CString strarc;
CString strllc;
CString strlrc;
strbc.Format("%i/16", GlowBodyC);
strhlc.Format("%i/24", GlowHandLeftC);
strhrc.Format("%i/24", GlowHandRightC);
stralc.Format("%i/16", GlowArmLeftC);
strarc.Format("%i/16", GlowArmRightC);
strllc.Format("%i/16", GlowLegLeftC);
strlrc.Format("%i/16", GlowLegRightC);
sbodyc->SetTitle(strbc);
shandrightc->SetTitle(strhrc);
shandleftc->SetTitle(strhlc);
sarmrightc->SetTitle(strarc);
sarmleftc->SetTitle(stralc);
slegleftc->SetTitle(strllc);
slegrightc->SetTitle(strlrc);
MoveParentCenter();
}
BOOL CWndGlowChange::OnChildNotify( UINT message, UINT nID, LRESULT* pLResult )
{
CWndStatic* sbody = (CWndStatic*)GetDlgItem(WIDC_STATICCOL);
CWndStatic* shandright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND);
CWndStatic* shandleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1);
CWndStatic* sarmright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11);
CWndStatic* sarmleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND111);
CWndStatic* slegright = (CWndStatic*)GetDlgItem(WIDC_STATICHAND1111);
CWndStatic* slegleft = (CWndStatic*)GetDlgItem(WIDC_STATICHAND11111);
CWndStatic* sbodyc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTCOL);
CWndStatic* shandrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND);
CWndStatic* shandleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1);
CWndStatic* sarmrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11);
CWndStatic* sarmleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND111);
CWndStatic* slegrightc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND1111);
CWndStatic* slegleftc = (CWndStatic*)GetDlgItem(WIDC_TEXTCOUNTHAND11111);
CString strbc;
CString strhlc;
CString strhrc;
CString stralc;
CString strarc;
CString strllc;
CString strlrc;
switch (nID)
{
case WIDC_BUTTCOLRIGHT:
{
if(GlowBody == 15)
{
GlowBodyC = 1;
GlowBody = 0;
}
else
{
GlowBodyC += 1;
GlowBody += 1;
}
strbc.Format("%i/16", GlowBodyC);
sbodyc->SetTitle(strbc);
break;
}
case WIDC_BUTTCOLLEFT:
{
if(GlowBody == 0)
{
GlowBodyC = 16;
GlowBody = 15;
}
else
{
GlowBodyC -= 1;
GlowBody -= 1;
}
strbc.Format("%i/16", GlowBodyC);
sbodyc->SetTitle(strbc);
break;
}
case WIDC_BUTTHANDLEFT:
{
if(GlowHandRight == 0)
{
GlowHandRightC = 24;
GlowHandRight = 23;
}
else
{
GlowHandRight -= 1;
GlowHandRightC -= 1;
}
strhrc.Format("%i/24", GlowHandRightC);
shandrightc->SetTitle(strhrc);
break;
}
case WIDC_BUTTHANDRIGHT:
{
if(GlowHandRight == 23)
{
GlowHandRightC = 1;
GlowHandRight = 0;
}
else
{
GlowHandRight += 1;
GlowHandRightC += 1;
}
strhrc.Format("%i/24", GlowHandRightC);
shandrightc->SetTitle(strhrc);
break;
}
case WIDC_BUTTHANDLEFT1:
{
if(GlowHandLeft == 0)
{
GlowHandLeftC = 24;
GlowHandLeft = 23;
}
else
{
GlowHandLeft -= 1;
GlowHandLeftC -= 1;
}
strhlc.Format("%i/24", GlowHandLeftC);
shandleftc->SetTitle(strhlc);
break;
}
case WIDC_BUTTHANDRIGHT1:
{
if(GlowHandLeft == 23)
{
GlowHandLeftC = 1;
GlowHandLeft = 0;
}
else
{
GlowHandLeft += 1;
GlowHandLeftC += 1;
}
strhlc.Format("%i/24", GlowHandLeftC);
shandleftc->SetTitle(strhlc);
break;
}
case WIDC_BUTTHANDRIGHT11:
{
if(GlowArmRight == 15)
{
GlowArmRightC = 1;
GlowArmRight = 0;
}
else
{
GlowArmRightC += 1;
GlowArmRight += 1;
}
strarc.Format("%i/16", GlowArmRightC);
sarmrightc->SetTitle(strarc);
break;
}
case WIDC_BUTTHANDLEFT11:
{
if(GlowArmRight == 0)
{
GlowArmRightC = 16;
GlowArmRight = 15;
}
else
{
GlowArmRightC -= 1;
GlowArmRight -= 1;
}
strarc.Format("%i/16", GlowArmRightC);
sarmrightc->SetTitle(strarc);
break;
}
case WIDC_BUTTHANDRIGHT111:
{
if(GlowArmLeft == 15)
{
GlowArmLeftC = 1;
GlowArmLeft = 0;
}
else
{
GlowArmLeftC += 1;
GlowArmLeft += 1;
}
stralc.Format("%i/16", GlowArmLeftC);
sarmleftc->SetTitle(stralc);
break;
}
case WIDC_BUTTHANDLEFT111:
{
if(GlowArmLeft == 0)
{
GlowArmLeftC = 16;
GlowArmLeft = 15;
}
else
{
GlowArmLeftC -= 1;
GlowArmLeft -= 1;
}
stralc.Format("%i/16", GlowArmLeftC);
sarmleftc->SetTitle(stralc);
break;
}
case WIDC_BUTTHANDRIGHT1111:
{
if(GlowLegRight == 15)
{
GlowLegRightC = 1;
GlowLegRight = 0;
}
else
{
GlowLegRightC += 1;
GlowLegRight += 1;
}
strlrc.Format("%i/16", GlowLegRightC);
slegrightc->SetTitle(strlrc);
break;
}
case WIDC_BUTTHANDLEFT1111:
{
if(GlowLegRight == 0)
{
GlowLegRightC = 16;
GlowLegRight = 15;
}
else
{
GlowLegRightC -= 1;
GlowLegRight -= 1;
}
strlrc.Format("%i/16", GlowLegRightC);
slegrightc->SetTitle(strlrc);
break;
}
case WIDC_BUTTHANDRIGHT11111:
{
if(GlowLegLeft == 15)
{
GlowLegLeftC = 1;
GlowLegLeft = 0;
}
else
{
GlowLegLeftC += 1;
GlowLegLeft += 1;
}
strllc.Format("%i/16", GlowLegLeftC);
slegleftc->SetTitle(strllc);
break;
}
case WIDC_BUTTHANDLEFT11111:
{
if(GlowLegLeft == 0)
{
GlowLegLeftC = 16;
GlowLegLeft = 15;
}
else
{
GlowLegLeftC -= 1;
GlowLegLeft -= 1;
}
strllc.Format("%i/16", GlowLegLeftC);
slegleftc->SetTitle(strllc);
break;
}
case WIDC_BUTTAURAOK:
{
g_DPlay.SendGlowChange( GlowBody, GlowHandLeft, GlowHandRight, GlowArmLeft, GlowArmRight, GlowLegLeft, GlowLegRight);
Destroy();
break;
}
}
return CWndNeuz::OnChildNotify( message, nID, pLResult );
}
#endif //__JOPS_GLOW
WndField.h
#ifdef __JOPS_GLOW
class CWndGlowChange : public CWndNeuz
{
public:
public:
CWndGlowChange( void );
~CWndGlowChange( void );
//original variables
int GlowBody;
int GlowHandLeft;
int GlowHandRight;
int GlowArmLeft;
int GlowArmRight;
int GlowLegLeft;
int GlowLegRight;
//counters for output
int GlowBodyC;
int GlowHandLeftC;
int GlowHandRightC;
int GlowArmLeftC;
int GlowArmRightC;
int GlowLegLeftC;
int GlowLegRightC;
virtual HRESULT RestoreDeviceObjects();
virtual HRESULT InvalidateDeviceObjects();
virtual HRESULT DeleteDeviceObjects();
public:
virtual BOOL Initialize( CWndBase* pWndParent = NULL, DWORD nType = MB_OK );
virtual BOOL OnChildNotify( UINT message, UINT nID, LRESULT* pLResult );
virtual void OnDraw( C2DRender* p2DRender );
virtual void OnInitialUpdate();
virtual BOOL OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase );
virtual void OnSize( UINT nType, int cx, int cy );
virtual void OnLButtonUp( UINT nFlags, CPoint point );
virtual void OnLButtonDown( UINT nFlags, CPoint point );
virtual void UpDateModel();
virtual void UpdateParts();
};
#endif //__JOPS_GLOW
class CWndGlowChange : public CWndNeuz
{
public:
public:
CWndGlowChange( void );
~CWndGlowChange( void );
//original variables
int GlowBody;
int GlowHandLeft;
int GlowHandRight;
int GlowArmLeft;
int GlowArmRight;
int GlowLegLeft;
int GlowLegRight;
//counters for output
int GlowBodyC;
int GlowHandLeftC;
int GlowHandRightC;
int GlowArmLeftC;
int GlowArmRightC;
int GlowLegLeftC;
int GlowLegRightC;
virtual HRESULT RestoreDeviceObjects();
virtual HRESULT InvalidateDeviceObjects();
virtual HRESULT DeleteDeviceObjects();
public:
virtual BOOL Initialize( CWndBase* pWndParent = NULL, DWORD nType = MB_OK );
virtual BOOL OnChildNotify( UINT message, UINT nID, LRESULT* pLResult );
virtual void OnDraw( C2DRender* p2DRender );
virtual void OnInitialUpdate();
virtual BOOL OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase );
virtual void OnSize( UINT nType, int cx, int cy );
virtual void OnLButtonUp( UINT nFlags, CPoint point );
virtual void OnLButtonDown( UINT nFlags, CPoint point );
virtual void UpDateModel();
virtual void UpdateParts();
};
#endif //__JOPS_GLOW
WndTaskBar.cpp
#ifdef __JOPS_GLOW
pWndButton = AppendMenu( this, 0, APP_SETAURA1 , "Glow Change" );
#else
pWndButton = AppendMenu( this, 0, APP_NAVIGATOR , GETTEXT( TID_APP_NAVIGATOR ) );
#endif
pWndButton = AppendMenu( this, 0, APP_SETAURA1 , "Glow Change" );
#else
pWndButton = AppendMenu( this, 0, APP_NAVIGATOR , GETTEXT( TID_APP_NAVIGATOR ) );
#endif
_Common
CreateObj.cpp
#ifdef __JOPS_GLOW
case XI_SETIEM_EFFECTHAND1:
case XI_SETIEM_EFFECTHAND2:
case XI_SETIEM_EFFECTHAND3:
case XI_SETIEM_EFFECTHAND4:
case XI_SETIEM_EFFECTHAND5:
case XI_SETIEM_EFFECTHAND6:
case XI_SETIEM_EFFECTHAND7:
case XI_SETIEM_EFFECTHAND8:
case XI_SETIEM_EFFECTHAND9:
case XI_SETIEM_EFFECTHAND10:
case XI_SETIEM_EFFECTHAND11:
case XI_SETIEM_EFFECTHAND12:
case XI_SETIEM_EFFECTHAND13:
case XI_SETIEM_EFFECTHAND14:
case XI_SETIEM_EFFECTHAND15:
case XI_SETIEM_EFFECTHAND16:
case XI_SETIEM_EFFECTHAND17:
case XI_SETIEM_EFFECTHAND18:
case XI_SETIEM_EFFECTHAND19:
case XI_SETIEM_EFFECTHAND20:
case XI_SETIEM_EFFECTHAND21:
case XI_SETIEM_EFFECTHAND22:
case XI_SETIEM_EFFECTHAND23:
case XI_GEN_ITEM_SETITEM101:
case XI_GEN_ITEM_SETITEM102:
case XI_GEN_ITEM_SETITEM103:
case XI_GEN_ITEM_SETITEM104:
case XI_GEN_ITEM_SETITEM105:
case XI_GEN_ITEM_SETITEM106:
case XI_GEN_ITEM_SETITEM107:
case XI_GEN_ITEM_SETITEM108:
case XI_GEN_ITEM_SETITEM109:
case XI_GEN_ITEM_SETITEM1010:
case XI_GEN_ITEM_SETITEM1011:
case XI_GEN_ITEM_SETITEM1012:
case XI_GEN_ITEM_SETITEM1013:
case XI_GEN_ITEM_SETITEM1014:
case XI_GEN_ITEM_SETITEM1015:
#endif //__JOPS_GLOW
case XI_SETIEM_EFFECTHAND1:
case XI_SETIEM_EFFECTHAND2:
case XI_SETIEM_EFFECTHAND3:
case XI_SETIEM_EFFECTHAND4:
case XI_SETIEM_EFFECTHAND5:
case XI_SETIEM_EFFECTHAND6:
case XI_SETIEM_EFFECTHAND7:
case XI_SETIEM_EFFECTHAND8:
case XI_SETIEM_EFFECTHAND9:
case XI_SETIEM_EFFECTHAND10:
case XI_SETIEM_EFFECTHAND11:
case XI_SETIEM_EFFECTHAND12:
case XI_SETIEM_EFFECTHAND13:
case XI_SETIEM_EFFECTHAND14:
case XI_SETIEM_EFFECTHAND15:
case XI_SETIEM_EFFECTHAND16:
case XI_SETIEM_EFFECTHAND17:
case XI_SETIEM_EFFECTHAND18:
case XI_SETIEM_EFFECTHAND19:
case XI_SETIEM_EFFECTHAND20:
case XI_SETIEM_EFFECTHAND21:
case XI_SETIEM_EFFECTHAND22:
case XI_SETIEM_EFFECTHAND23:
case XI_GEN_ITEM_SETITEM101:
case XI_GEN_ITEM_SETITEM102:
case XI_GEN_ITEM_SETITEM103:
case XI_GEN_ITEM_SETITEM104:
case XI_GEN_ITEM_SETITEM105:
case XI_GEN_ITEM_SETITEM106:
case XI_GEN_ITEM_SETITEM107:
case XI_GEN_ITEM_SETITEM108:
case XI_GEN_ITEM_SETITEM109:
case XI_GEN_ITEM_SETITEM1010:
case XI_GEN_ITEM_SETITEM1011:
case XI_GEN_ITEM_SETITEM1012:
case XI_GEN_ITEM_SETITEM1013:
case XI_GEN_ITEM_SETITEM1014:
case XI_GEN_ITEM_SETITEM1015:
#endif //__JOPS_GLOW
Mover.cpp
#ifdef __JOPS_GLOW
m_iGlowBody = 0;
m_iGlowLegLeft = 0;
m_iGlowLegRight = 0;
m_iGlowArmLeft = 0;
m_iGlowArmRight = 0;
m_iGlowHandLeft = 0;
m_iGlowHandRight = 0;
#endif //__JOPS_GLOW
m_iGlowBody = 0;
m_iGlowLegLeft = 0;
m_iGlowLegRight = 0;
m_iGlowArmLeft = 0;
m_iGlowArmRight = 0;
m_iGlowHandLeft = 0;
m_iGlowHandRight = 0;
#endif //__JOPS_GLOW
void CMover::CreateAbilityOption_SetItemSFX( int nAbilityOption )
{
DWORD dwSfx = 0;
#ifdef __JOPS_GLOW
DWORD dwSfxHandRight = 0;
DWORD dwSfxHandLeft = 0;
DWORD dwSfxArmRight = 0;
DWORD dwSfxArmLeft = 0;
DWORD dwSfxBody = 0;
DWORD dwSfxLegLeft = 0;
DWORD dwSfxLegRight = 0;
switch( m_iGlowBody )
{
case 0: dwSfxBody = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxBody = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxBody = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxBody = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxBody = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxBody = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxBody = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxBody = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxBody = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxBody = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxBody = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxBody = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxBody = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxBody = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxBody = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxBody = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxBody = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowArmLeft )
{
case 0: dwSfxArmLeft = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxArmLeft = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxArmLeft = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxArmLeft = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxArmLeft = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxArmLeft = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxArmLeft = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxArmLeft = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxArmLeft = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxArmLeft = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxArmLeft = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowArmRight )
{
case 0: dwSfxArmRight = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxArmRight = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxArmRight = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxArmRight = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxArmRight = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxArmRight = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxArmRight = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxArmRight = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxArmRight = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxArmRight = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxArmRight = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxArmRight = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxArmRight = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxArmRight = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxArmRight = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxArmRight = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxArmRight = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowLegLeft )
{
case 0: dwSfxLegLeft = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxLegLeft = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxLegLeft = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxLegLeft = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxLegLeft = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxLegLeft = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxLegLeft = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxLegLeft = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxLegLeft = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxLegLeft = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxLegLeft = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowLegRight )
{
case 0: dwSfxLegRight = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxLegRight = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxLegRight = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxLegRight = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxLegRight = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxLegRight = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxLegRight = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxLegRight = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxLegRight = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxLegRight = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxLegRight = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxLegRight = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxLegRight = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxLegRight = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxLegRight = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxLegRight = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxLegRight = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowHandRight )
{
case 0: dwSfxHandRight = XI_SETIEM_EFFECTHAND; break;
case 1: dwSfxHandRight = XI_SETIEM_EFFECTHAND1; break;
case 2: dwSfxHandRight = XI_SETIEM_EFFECTHAND2; break;
case 3: dwSfxHandRight = XI_SETIEM_EFFECTHAND3; break;
case 4: dwSfxHandRight = XI_SETIEM_EFFECTHAND4; break;
case 5: dwSfxHandRight = XI_SETIEM_EFFECTHAND5; break;
case 6: dwSfxHandRight = XI_SETIEM_EFFECTHAND6; break;
case 7: dwSfxHandRight = XI_SETIEM_EFFECTHAND7; break;
case 8: dwSfxHandRight = XI_SETIEM_EFFECTHAND8; break;
case 9: dwSfxHandRight = XI_SETIEM_EFFECTHAND9; break;
case 10: dwSfxHandRight = XI_SETIEM_EFFECTHAND10; break;
case 11: dwSfxHandRight = XI_SETIEM_EFFECTHAND11; break;
case 12: dwSfxHandRight = XI_SETIEM_EFFECTHAND12; break;
case 13: dwSfxHandRight = XI_SETIEM_EFFECTHAND13; break;
case 14: dwSfxHandRight = XI_SETIEM_EFFECTHAND14; break;
case 15: dwSfxHandRight = XI_SETIEM_EFFECTHAND15; break;
case 16: dwSfxHandRight = XI_SETIEM_EFFECTHAND16; break;
case 17: dwSfxHandRight = XI_SETIEM_EFFECTHAND17; break;
case 18: dwSfxHandRight = XI_SETIEM_EFFECTHAND18; break;
case 19: dwSfxHandRight = XI_SETIEM_EFFECTHAND19; break;
case 20: dwSfxHandRight = XI_SETIEM_EFFECTHAND20; break;
case 21: dwSfxHandRight = XI_SETIEM_EFFECTHAND21; break;
case 22: dwSfxHandRight = XI_SETIEM_EFFECTHAND22; break;
case 23: dwSfxHandRight = XI_SETIEM_EFFECTHAND23; break;
default : dwSfxHandRight = XI_SETIEM_EFFECTHAND; break; // unchanged // more / less than highest / lowest
}
switch( m_iGlowHandLeft )
{
case 0: dwSfxHandLeft = XI_SETIEM_EFFECTHAND; break;
case 1: dwSfxHandLeft = XI_SETIEM_EFFECTHAND1; break;
case 2: dwSfxHandLeft = XI_SETIEM_EFFECTHAND2; break;
case 3: dwSfxHandLeft = XI_SETIEM_EFFECTHAND3; break;
case 4: dwSfxHandLeft = XI_SETIEM_EFFECTHAND4; break;
case 5: dwSfxHandLeft = XI_SETIEM_EFFECTHAND5; break;
case 6: dwSfxHandLeft = XI_SETIEM_EFFECTHAND6; break;
case 7: dwSfxHandLeft = XI_SETIEM_EFFECTHAND7; break;
case 8: dwSfxHandLeft = XI_SETIEM_EFFECTHAND8; break;
case 9: dwSfxHandLeft = XI_SETIEM_EFFECTHAND9; break;
case 10: dwSfxHandLeft = XI_SETIEM_EFFECTHAND10; break;
case 11: dwSfxHandLeft = XI_SETIEM_EFFECTHAND11; break;
case 12: dwSfxHandLeft = XI_SETIEM_EFFECTHAND12; break;
case 13: dwSfxHandLeft = XI_SETIEM_EFFECTHAND13; break;
case 14: dwSfxHandLeft = XI_SETIEM_EFFECTHAND14; break;
case 15: dwSfxHandLeft = XI_SETIEM_EFFECTHAND15; break;
case 16: dwSfxHandLeft = XI_SETIEM_EFFECTHAND16; break;
case 17: dwSfxHandLeft = XI_SETIEM_EFFECTHAND17; break;
case 18: dwSfxHandLeft = XI_SETIEM_EFFECTHAND18; break;
case 19: dwSfxHandLeft = XI_SETIEM_EFFECTHAND19; break;
case 20: dwSfxHandLeft = XI_SETIEM_EFFECTHAND20; break;
case 21: dwSfxHandLeft = XI_SETIEM_EFFECTHAND21; break;
case 22: dwSfxHandLeft = XI_SETIEM_EFFECTHAND22; break;
case 23: dwSfxHandLeft = XI_SETIEM_EFFECTHAND23; break;
default : dwSfxHandLeft = XI_SETIEM_EFFECTHAND; break; // unchanged // more / less than highest / lowest
}
#else //__JOPS_GLOW
switch( nAbilityOption )
{
case 3: dwSfx = XI_GEN_ITEM_SETITEM03; break; // blue
case 4: dwSfx = XI_GEN_ITEM_SETITEM04; break; // blue
case 5: dwSfx = XI_GEN_ITEM_SETITEM05; break; // yellow
case 6: dwSfx = XI_GEN_ITEM_SETITEM06; break; // yellow
case 7: dwSfx = XI_GEN_ITEM_SETITEM07; break; // red
case 8: dwSfx = XI_GEN_ITEM_SETITEM08; break; // red
case 9: dwSfx = XI_GEN_ITEM_SETITEM09; break; // lila
case 10: dwSfx = XI_GEN_ITEM_SETITEM10; break; // lila
}
#endif //__JOPS_GLOW
CSfxPartsLinkShoulder* pSfx = NULL;
D3DXVECTOR3 v3Scal = D3DXVECTOR3( 1.0f, 1.0f, 1.0f );
#ifdef __JOPS_GLOW
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechte schulter
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linke schulter
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechter oberarm
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linker oberarm
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxBody, GetPos(), GetId(), GetPos(), GetId(), -1 ); // Kopf, vorne, brust
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 4.5f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxBody, GetPos(), GetId(), GetPos(), GetId(), -1 ); // Kopf, vorne, brust
pSfx->m_nPartsLink = 7;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 3.0f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechter arm
pSfx->m_nPartsLink = 8;
//pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linker arm
pSfx->m_nPartsLink = 9;
//pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechter oberarm
pSfx->m_nPartsLink = 2;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linker unterarm
pSfx->m_nPartsLink = 3;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 발
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxLegLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linkes knie
pSfx->m_nPartsLink = 26;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxLegRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechtes knie
pSfx->m_nPartsLink = 29;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxHandRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); //rechte Hand
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxHandLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linke Hand
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
#else
if( nAbilityOption == 3 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
/*
else
if( nAbilityOption == 4 )
{
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 2.2f, 2.2f, 2.2f ));
}
*/
else
if( nAbilityOption == 4 )
{
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 3.0f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 5 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 6 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 7 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 8 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 9 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 발
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 26;
pSfx->SetScale(D3DXVECTOR3( 1.5f, 1.5f, 1.5f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 29;
pSfx->SetScale(D3DXVECTOR3( 1.5f, 1.5f, 1.5f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 10 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 4.5f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 7;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 3.0f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 발
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 26;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 29;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
#endif //__JOPS_GLOW
{
DWORD dwSfx = 0;
#ifdef __JOPS_GLOW
DWORD dwSfxHandRight = 0;
DWORD dwSfxHandLeft = 0;
DWORD dwSfxArmRight = 0;
DWORD dwSfxArmLeft = 0;
DWORD dwSfxBody = 0;
DWORD dwSfxLegLeft = 0;
DWORD dwSfxLegRight = 0;
switch( m_iGlowBody )
{
case 0: dwSfxBody = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxBody = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxBody = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxBody = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxBody = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxBody = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxBody = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxBody = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxBody = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxBody = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxBody = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxBody = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxBody = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxBody = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxBody = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxBody = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxBody = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowArmLeft )
{
case 0: dwSfxArmLeft = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxArmLeft = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxArmLeft = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxArmLeft = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxArmLeft = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxArmLeft = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxArmLeft = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxArmLeft = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxArmLeft = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxArmLeft = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxArmLeft = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxArmLeft = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowArmRight )
{
case 0: dwSfxArmRight = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxArmRight = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxArmRight = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxArmRight = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxArmRight = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxArmRight = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxArmRight = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxArmRight = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxArmRight = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxArmRight = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxArmRight = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxArmRight = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxArmRight = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxArmRight = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxArmRight = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxArmRight = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxArmRight = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowLegLeft )
{
case 0: dwSfxLegLeft = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxLegLeft = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxLegLeft = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxLegLeft = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxLegLeft = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxLegLeft = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxLegLeft = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxLegLeft = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxLegLeft = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxLegLeft = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxLegLeft = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxLegLeft = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowLegRight )
{
case 0: dwSfxLegRight = XI_GEN_ITEM_SETITEM10; break;
case 1: dwSfxLegRight = XI_GEN_ITEM_SETITEM101; break;
case 2: dwSfxLegRight = XI_GEN_ITEM_SETITEM102; break;
case 3: dwSfxLegRight = XI_GEN_ITEM_SETITEM103; break;
case 4: dwSfxLegRight = XI_GEN_ITEM_SETITEM104; break;
case 5: dwSfxLegRight = XI_GEN_ITEM_SETITEM105; break;
case 6: dwSfxLegRight = XI_GEN_ITEM_SETITEM106; break;
case 7: dwSfxLegRight = XI_GEN_ITEM_SETITEM107; break;
case 8: dwSfxLegRight = XI_GEN_ITEM_SETITEM108; break;
case 9: dwSfxLegRight = XI_GEN_ITEM_SETITEM109; break;
case 10: dwSfxLegRight = XI_GEN_ITEM_SETITEM1010; break;
case 11: dwSfxLegRight = XI_GEN_ITEM_SETITEM1011; break;
case 12: dwSfxLegRight = XI_GEN_ITEM_SETITEM1012; break;
case 13: dwSfxLegRight = XI_GEN_ITEM_SETITEM1013; break;
case 14: dwSfxLegRight = XI_GEN_ITEM_SETITEM1014; break;
case 15: dwSfxLegRight = XI_GEN_ITEM_SETITEM1015; break;
default : dwSfxLegRight = XI_GEN_ITEM_SETITEM10; break;
}
switch( m_iGlowHandRight )
{
case 0: dwSfxHandRight = XI_SETIEM_EFFECTHAND; break;
case 1: dwSfxHandRight = XI_SETIEM_EFFECTHAND1; break;
case 2: dwSfxHandRight = XI_SETIEM_EFFECTHAND2; break;
case 3: dwSfxHandRight = XI_SETIEM_EFFECTHAND3; break;
case 4: dwSfxHandRight = XI_SETIEM_EFFECTHAND4; break;
case 5: dwSfxHandRight = XI_SETIEM_EFFECTHAND5; break;
case 6: dwSfxHandRight = XI_SETIEM_EFFECTHAND6; break;
case 7: dwSfxHandRight = XI_SETIEM_EFFECTHAND7; break;
case 8: dwSfxHandRight = XI_SETIEM_EFFECTHAND8; break;
case 9: dwSfxHandRight = XI_SETIEM_EFFECTHAND9; break;
case 10: dwSfxHandRight = XI_SETIEM_EFFECTHAND10; break;
case 11: dwSfxHandRight = XI_SETIEM_EFFECTHAND11; break;
case 12: dwSfxHandRight = XI_SETIEM_EFFECTHAND12; break;
case 13: dwSfxHandRight = XI_SETIEM_EFFECTHAND13; break;
case 14: dwSfxHandRight = XI_SETIEM_EFFECTHAND14; break;
case 15: dwSfxHandRight = XI_SETIEM_EFFECTHAND15; break;
case 16: dwSfxHandRight = XI_SETIEM_EFFECTHAND16; break;
case 17: dwSfxHandRight = XI_SETIEM_EFFECTHAND17; break;
case 18: dwSfxHandRight = XI_SETIEM_EFFECTHAND18; break;
case 19: dwSfxHandRight = XI_SETIEM_EFFECTHAND19; break;
case 20: dwSfxHandRight = XI_SETIEM_EFFECTHAND20; break;
case 21: dwSfxHandRight = XI_SETIEM_EFFECTHAND21; break;
case 22: dwSfxHandRight = XI_SETIEM_EFFECTHAND22; break;
case 23: dwSfxHandRight = XI_SETIEM_EFFECTHAND23; break;
default : dwSfxHandRight = XI_SETIEM_EFFECTHAND; break; // unchanged // more / less than highest / lowest
}
switch( m_iGlowHandLeft )
{
case 0: dwSfxHandLeft = XI_SETIEM_EFFECTHAND; break;
case 1: dwSfxHandLeft = XI_SETIEM_EFFECTHAND1; break;
case 2: dwSfxHandLeft = XI_SETIEM_EFFECTHAND2; break;
case 3: dwSfxHandLeft = XI_SETIEM_EFFECTHAND3; break;
case 4: dwSfxHandLeft = XI_SETIEM_EFFECTHAND4; break;
case 5: dwSfxHandLeft = XI_SETIEM_EFFECTHAND5; break;
case 6: dwSfxHandLeft = XI_SETIEM_EFFECTHAND6; break;
case 7: dwSfxHandLeft = XI_SETIEM_EFFECTHAND7; break;
case 8: dwSfxHandLeft = XI_SETIEM_EFFECTHAND8; break;
case 9: dwSfxHandLeft = XI_SETIEM_EFFECTHAND9; break;
case 10: dwSfxHandLeft = XI_SETIEM_EFFECTHAND10; break;
case 11: dwSfxHandLeft = XI_SETIEM_EFFECTHAND11; break;
case 12: dwSfxHandLeft = XI_SETIEM_EFFECTHAND12; break;
case 13: dwSfxHandLeft = XI_SETIEM_EFFECTHAND13; break;
case 14: dwSfxHandLeft = XI_SETIEM_EFFECTHAND14; break;
case 15: dwSfxHandLeft = XI_SETIEM_EFFECTHAND15; break;
case 16: dwSfxHandLeft = XI_SETIEM_EFFECTHAND16; break;
case 17: dwSfxHandLeft = XI_SETIEM_EFFECTHAND17; break;
case 18: dwSfxHandLeft = XI_SETIEM_EFFECTHAND18; break;
case 19: dwSfxHandLeft = XI_SETIEM_EFFECTHAND19; break;
case 20: dwSfxHandLeft = XI_SETIEM_EFFECTHAND20; break;
case 21: dwSfxHandLeft = XI_SETIEM_EFFECTHAND21; break;
case 22: dwSfxHandLeft = XI_SETIEM_EFFECTHAND22; break;
case 23: dwSfxHandLeft = XI_SETIEM_EFFECTHAND23; break;
default : dwSfxHandLeft = XI_SETIEM_EFFECTHAND; break; // unchanged // more / less than highest / lowest
}
#else //__JOPS_GLOW
switch( nAbilityOption )
{
case 3: dwSfx = XI_GEN_ITEM_SETITEM03; break; // blue
case 4: dwSfx = XI_GEN_ITEM_SETITEM04; break; // blue
case 5: dwSfx = XI_GEN_ITEM_SETITEM05; break; // yellow
case 6: dwSfx = XI_GEN_ITEM_SETITEM06; break; // yellow
case 7: dwSfx = XI_GEN_ITEM_SETITEM07; break; // red
case 8: dwSfx = XI_GEN_ITEM_SETITEM08; break; // red
case 9: dwSfx = XI_GEN_ITEM_SETITEM09; break; // lila
case 10: dwSfx = XI_GEN_ITEM_SETITEM10; break; // lila
}
#endif //__JOPS_GLOW
CSfxPartsLinkShoulder* pSfx = NULL;
D3DXVECTOR3 v3Scal = D3DXVECTOR3( 1.0f, 1.0f, 1.0f );
#ifdef __JOPS_GLOW
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechte schulter
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linke schulter
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechter oberarm
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linker oberarm
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxBody, GetPos(), GetId(), GetPos(), GetId(), -1 ); // Kopf, vorne, brust
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 4.5f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxBody, GetPos(), GetId(), GetPos(), GetId(), -1 ); // Kopf, vorne, brust
pSfx->m_nPartsLink = 7;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 3.0f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechter arm
pSfx->m_nPartsLink = 8;
//pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linker arm
pSfx->m_nPartsLink = 9;
//pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechter oberarm
pSfx->m_nPartsLink = 2;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxArmLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linker unterarm
pSfx->m_nPartsLink = 3;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 발
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxLegLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linkes knie
pSfx->m_nPartsLink = 26;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxLegRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); // rechtes knie
pSfx->m_nPartsLink = 29;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxHandRight, GetPos(), GetId(), GetPos(), GetId(), -1 ); //rechte Hand
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfxHandLeft, GetPos(), GetId(), GetPos(), GetId(), -1 ); // linke Hand
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
#else
if( nAbilityOption == 3 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
/*
else
if( nAbilityOption == 4 )
{
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 2.2f, 2.2f, 2.2f ));
}
*/
else
if( nAbilityOption == 4 )
{
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 3.0f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 5 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 6 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 7 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 8 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 9 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 발
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 26;
pSfx->SetScale(D3DXVECTOR3( 1.5f, 1.5f, 1.5f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 29;
pSfx->SetScale(D3DXVECTOR3( 1.5f, 1.5f, 1.5f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
else
if( nAbilityOption == 10 )
{
// 어깨
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 0;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 1;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 어깨, 팔목 중간
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 4;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 5;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 몸통
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 6;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 4.5f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 7;
pSfx->SetScale(D3DXVECTOR3( 3.0f, 3.0f, 3.0f ));
pSfx->m_nOldAbilityOption = nAbilityOption;
// 손
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.1f;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 팔목
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 2;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 3;
pSfx->m_nOldAbilityOption = nAbilityOption;
// 발
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 26;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, dwSfx, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 29;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 8;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
pSfx = (CSfxPartsLinkShoulder*)CreateSfx( D3DDEVICE, XI_SETIEM_EFFECTHAND, GetPos(), GetId(), GetPos(), GetId(), -1 );
pSfx->m_nPartsLink = 9;
pSfx->m_v3Offset.y = 0.2f;
pSfx->m_nOldAbilityOption = nAbilityOption;
}
#endif //__JOPS_GLOW
Mover.h
int m_nFuel; /// 비행체 현재 연료.
int m_tmAccFuel; /// 가속연료(시간단위)
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif //__JOPS_GLOW
BOOL m_bItemFind; /// 캐스팅 후에 아이템이 있는지 검사할 것인가?
int m_nReadyTime; /// 비행체 타기 캐스팅 시간
OBJID m_dwUseItemId; /// 비행체 타기 아이템 아이디
int m_tmAccFuel; /// 가속연료(시간단위)
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif //__JOPS_GLOW
BOOL m_bItemFind; /// 캐스팅 후에 아이템이 있는지 검사할 것인가?
int m_nReadyTime; /// 비행체 타기 캐스팅 시간
OBJID m_dwUseItemId; /// 비행체 타기 아이템 아이디
ObjSerializeOpt.cpp
if( m_bPlayer ) // PLAYER
{
ar.WriteString( m_szName );
ar << GetSex();
ar << (u_char)m_dwSkinSet;
ar << (u_char)m_dwHairMesh;
ar << m_dwHairColor;
ar << (u_char)m_dwHeadMesh;
ar << m_idPlayer;
ar << (u_char)m_nJob;
ar << (u_short)m_nStr;
ar << (u_short)m_nSta;
ar << (u_short)m_nDex;
ar << (u_short)m_nInt;
ar << (u_short)m_nLevel;
ar << m_nFuel;
ar << m_tmAccFuel;
#ifdef __JOPS_GLOW
ar << m_iGlowBody;
ar << m_iGlowHandLeft;
ar << m_iGlowHandRight;
ar << m_iGlowArmLeft;
ar << m_iGlowArmRight;
ar << m_iGlowLegLeft;
ar << m_iGlowLegRight;
#endif //__JOPS_GLOW
{
ar.WriteString( m_szName );
ar << GetSex();
ar << (u_char)m_dwSkinSet;
ar << (u_char)m_dwHairMesh;
ar << m_dwHairColor;
ar << (u_char)m_dwHeadMesh;
ar << m_idPlayer;
ar << (u_char)m_nJob;
ar << (u_short)m_nStr;
ar << (u_short)m_nSta;
ar << (u_short)m_nDex;
ar << (u_short)m_nInt;
ar << (u_short)m_nLevel;
ar << m_nFuel;
ar << m_tmAccFuel;
#ifdef __JOPS_GLOW
ar << m_iGlowBody;
ar << m_iGlowHandLeft;
ar << m_iGlowHandRight;
ar << m_iGlowArmLeft;
ar << m_iGlowArmRight;
ar << m_iGlowLegLeft;
ar << m_iGlowLegRight;
#endif //__JOPS_GLOW
ar >> m_idPlayer;
ar >> (u_char&)m_nJob;
ar >> (u_short&)m_nStr;
ar >> (u_short&)m_nSta;
ar >> (u_short&)m_nDex;
ar >> (u_short&)m_nInt;
ar >> (u_short&)m_nLevel;
ar >> m_nFuel;
ar >> m_tmAccFuel;
#ifdef __JOPS_GLOW
ar >> m_iGlowBody;
ar >> m_iGlowHandLeft;
ar >> m_iGlowHandRight;
ar >> m_iGlowArmLeft;
ar >> m_iGlowArmRight;
ar >> m_iGlowLegLeft;
ar >> m_iGlowLegRight;
#endif //__JOPS_GLOW
ar >> (u_char&)m_nJob;
ar >> (u_short&)m_nStr;
ar >> (u_short&)m_nSta;
ar >> (u_short&)m_nDex;
ar >> (u_short&)m_nInt;
ar >> (u_short&)m_nLevel;
ar >> m_nFuel;
ar >> m_tmAccFuel;
#ifdef __JOPS_GLOW
ar >> m_iGlowBody;
ar >> m_iGlowHandLeft;
ar >> m_iGlowHandRight;
ar >> m_iGlowArmLeft;
ar >> m_iGlowArmRight;
ar >> m_iGlowLegLeft;
ar >> m_iGlowLegRight;
#endif //__JOPS_GLOW
WORLDSERVER
DPSrvr.cpp
CDPSrvr::CDPSrvr()
{
BEGIN_MSG;
#ifdef __JOPS_GLOW
ON_MSG( PACKETTYPE_GLOW_CHANGE, OnGlowChange );
#endif //__JOPS_GLOW
{
BEGIN_MSG;
#ifdef __JOPS_GLOW
ON_MSG( PACKETTYPE_GLOW_CHANGE, OnGlowChange );
#endif //__JOPS_GLOW
#ifdef __JOPS_GLOW
void CDPSrvr::OnGlowChange( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
int iGlowBody, iGlowHandLeft, iGlowHandRight, iGlowArmLeft, iGlowArmRight, iGlowLegLeft, iGlowLegRight;
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
ar >> iGlowBody >> iGlowHandLeft >> iGlowHandRight >> iGlowArmLeft >> iGlowArmRight >> iGlowLegLeft >> iGlowLegRight;
CString str;
if( pUser )
{
if(((CMover*)pUser))
{
((CMover*)pUser)->m_iGlowBody = iGlowBody;
((CMover*)pUser)->m_iGlowHandLeft = iGlowHandLeft;
((CMover*)pUser)->m_iGlowHandRight = iGlowHandRight;
((CMover*)pUser)->m_iGlowArmLeft = iGlowArmLeft;
((CMover*)pUser)->m_iGlowArmRight = iGlowArmRight;
((CMover*)pUser)->m_iGlowLegLeft = iGlowLegLeft;
((CMover*)pUser)->m_iGlowLegRight = iGlowLegRight;
g_UserMng.UpdateGlow(pUser, iGlowBody, iGlowHandLeft, iGlowHandRight, iGlowArmLeft, iGlowArmRight, iGlowLegLeft, iGlowLegRight);
}
else
{
pUser->AddText("Something went terribel wrong");
}
}
}
#endif //__JOPS_GLOW
void CDPSrvr::OnGlowChange( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
int iGlowBody, iGlowHandLeft, iGlowHandRight, iGlowArmLeft, iGlowArmRight, iGlowLegLeft, iGlowLegRight;
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
ar >> iGlowBody >> iGlowHandLeft >> iGlowHandRight >> iGlowArmLeft >> iGlowArmRight >> iGlowLegLeft >> iGlowLegRight;
CString str;
if( pUser )
{
if(((CMover*)pUser))
{
((CMover*)pUser)->m_iGlowBody = iGlowBody;
((CMover*)pUser)->m_iGlowHandLeft = iGlowHandLeft;
((CMover*)pUser)->m_iGlowHandRight = iGlowHandRight;
((CMover*)pUser)->m_iGlowArmLeft = iGlowArmLeft;
((CMover*)pUser)->m_iGlowArmRight = iGlowArmRight;
((CMover*)pUser)->m_iGlowLegLeft = iGlowLegLeft;
((CMover*)pUser)->m_iGlowLegRight = iGlowLegRight;
g_UserMng.UpdateGlow(pUser, iGlowBody, iGlowHandLeft, iGlowHandRight, iGlowArmLeft, iGlowArmRight, iGlowLegLeft, iGlowLegRight);
}
else
{
pUser->AddText("Something went terribel wrong");
}
}
}
#endif //__JOPS_GLOW
DPSrvr.h
// Operations
virtual void SysMessageHandler( LPDPMSG_GENERIC lpMsg, DWORD dwMsgSize, DPID idFrom );
virtual void UserMessageHandler( LPDPMSG_GENERIC lpMsg, DWORD dwMsgSize, DPID idFrom );
USES_PFNENTRIES;
#ifdef __JOPS_GLOW
void OnGlowChange( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize );
#endif //__JOPS_GLOW
virtual void SysMessageHandler( LPDPMSG_GENERIC lpMsg, DWORD dwMsgSize, DPID idFrom );
virtual void UserMessageHandler( LPDPMSG_GENERIC lpMsg, DWORD dwMsgSize, DPID idFrom );
USES_PFNENTRIES;
#ifdef __JOPS_GLOW
void OnGlowChange( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize );
#endif //__JOPS_GLOW
User.cpp
#ifdef __JOPS_GLOW
void CUserMng::UpdateGlow( CUser* pUser, int glowbody, int glowhandleft, int glowhandright, int glowarmleft, int glowarmright, int glowlegleft, int glowlegright )
{
// Allthough we Only Update a Single User , this Single User is to be shown on all Clients.
CAr arBlock;
arBlock << pUser->GetId() << SNAPSHOTTYPE_UPDATEGLOW;
arBlock << glowbody;
arBlock << glowhandleft;
arBlock << glowhandright;
arBlock << glowarmleft;
arBlock << glowarmright;
arBlock << glowlegleft;
arBlock << glowlegright;
GETBLOCK( arBlock, lpBlock, uBlockSize );
FOR_VISIBILITYRANGE( pUser )
{
USERPTR->AddBlock( lpBlock, uBlockSize );
}
NEXT_VISIBILITYRANGE( pUser )
}
#endif //__JOPS_GLOW
void CUserMng::UpdateGlow( CUser* pUser, int glowbody, int glowhandleft, int glowhandright, int glowarmleft, int glowarmright, int glowlegleft, int glowlegright )
{
// Allthough we Only Update a Single User , this Single User is to be shown on all Clients.
CAr arBlock;
arBlock << pUser->GetId() << SNAPSHOTTYPE_UPDATEGLOW;
arBlock << glowbody;
arBlock << glowhandleft;
arBlock << glowhandright;
arBlock << glowarmleft;
arBlock << glowarmright;
arBlock << glowlegleft;
arBlock << glowlegright;
GETBLOCK( arBlock, lpBlock, uBlockSize );
FOR_VISIBILITYRANGE( pUser )
{
USERPTR->AddBlock( lpBlock, uBlockSize );
}
NEXT_VISIBILITYRANGE( pUser )
}
#endif //__JOPS_GLOW
User.h
private:
void RemoveUserFromCacheMsg( CUser *pUser );
public:
#ifdef __JOPS_GLOW
void UpdateGlow( CUser* pUser, int glowbody, int glowhandleft, int glowhandright, int glowarmleft, int glowarmright, int glowlegleft, int glowlegright );
#endif //__JOPS_GLOW
void RemoveUserFromCacheMsg( CUser *pUser );
public:
#ifdef __JOPS_GLOW
void UpdateGlow( CUser* pUser, int glowbody, int glowhandleft, int glowhandright, int glowarmleft, int glowarmright, int glowlegleft, int glowlegright );
#endif //__JOPS_GLOW
VersionCommon.h
#define __JOPS_GLOW
Neuz
DPClient.cpp
#ifdef __JOPS_GLOW
case SNAPSHOTTYPE_UPDATEGLOW: OnUpdateGlow( objid, ar ); break; //hells
#endif //__JOPS_GLOW
default:
{
ASSERT( 0 );
break;
}
}
prev = hdr;
g_Prev = (BYTE)( prev );
case SNAPSHOTTYPE_UPDATEGLOW: OnUpdateGlow( objid, ar ); break; //hells
#endif //__JOPS_GLOW
default:
{
ASSERT( 0 );
break;
}
}
prev = hdr;
g_Prev = (BYTE)( prev );
#ifdef __JOPS_GLOW
void CDPClient::OnUpdateGlow( OBJID objid, CAr & ar )
{
int glowbody, glowhandleft, glowhandright, glowarmleft, glowarmright, glowlegleft, glowlegright;
ar >> glowbody;
ar >> glowhandleft;
ar >> glowhandright;
ar >> glowarmleft;
ar >> glowarmright;
ar >> glowlegleft;
ar >> glowlegright;
CCtrl* pCtrl = prj.GetCtrl( objid );
if( IsValidObj( (CObj*)pCtrl ) )
{
CMover* pMover = (CMover*)pCtrl;
pMover->m_iGlowBody = glowbody;
pMover->m_iGlowHandLeft = glowhandleft;
pMover->m_iGlowHandRight = glowhandright,
pMover->m_iGlowArmLeft = glowarmleft;
pMover->m_iGlowArmRight = glowarmright;
pMover->m_iGlowLegLeft = glowlegleft;
pMover->m_iGlowLegRight = glowlegright;
}
}
void CDPClient::SendGlowChange( int iGlowBody, int iGlowHandLeft, int iGlowHandRight, int iGlowArmLeft, int iGlowArmRight, int iGlowLegLeft, int iGlowLegRight)
{
if(IsValidObj(g_pPlayer))
{
g_pPlayer->m_iGlowBody = iGlowBody;
g_pPlayer->m_iGlowHandLeft = iGlowHandLeft;
g_pPlayer->m_iGlowHandRight = iGlowHandRight;
g_pPlayer->m_iGlowArmLeft = iGlowArmLeft;
g_pPlayer->m_iGlowArmRight = iGlowArmRight;
g_pPlayer->m_iGlowLegLeft = iGlowLegLeft;
g_pPlayer->m_iGlowLegRight = iGlowLegRight;
}
BEFORESENDSOLE( ar, PACKETTYPE_GLOW_CHANGE, DPID_UNKNOWN );
ar << iGlowBody << iGlowHandLeft << iGlowHandRight << iGlowArmLeft << iGlowArmRight << iGlowLegLeft << iGlowLegRight;
SEND( ar, this, DPID_SERVERPLAYER );
}
#endif //__JOPS_GLOW
void CDPClient::OnUpdateGlow( OBJID objid, CAr & ar )
{
int glowbody, glowhandleft, glowhandright, glowarmleft, glowarmright, glowlegleft, glowlegright;
ar >> glowbody;
ar >> glowhandleft;
ar >> glowhandright;
ar >> glowarmleft;
ar >> glowarmright;
ar >> glowlegleft;
ar >> glowlegright;
CCtrl* pCtrl = prj.GetCtrl( objid );
if( IsValidObj( (CObj*)pCtrl ) )
{
CMover* pMover = (CMover*)pCtrl;
pMover->m_iGlowBody = glowbody;
pMover->m_iGlowHandLeft = glowhandleft;
pMover->m_iGlowHandRight = glowhandright,
pMover->m_iGlowArmLeft = glowarmleft;
pMover->m_iGlowArmRight = glowarmright;
pMover->m_iGlowLegLeft = glowlegleft;
pMover->m_iGlowLegRight = glowlegright;
}
}
void CDPClient::SendGlowChange( int iGlowBody, int iGlowHandLeft, int iGlowHandRight, int iGlowArmLeft, int iGlowArmRight, int iGlowLegLeft, int iGlowLegRight)
{
if(IsValidObj(g_pPlayer))
{
g_pPlayer->m_iGlowBody = iGlowBody;
g_pPlayer->m_iGlowHandLeft = iGlowHandLeft;
g_pPlayer->m_iGlowHandRight = iGlowHandRight;
g_pPlayer->m_iGlowArmLeft = iGlowArmLeft;
g_pPlayer->m_iGlowArmRight = iGlowArmRight;
g_pPlayer->m_iGlowLegLeft = iGlowLegLeft;
g_pPlayer->m_iGlowLegRight = iGlowLegRight;
}
BEFORESENDSOLE( ar, PACKETTYPE_GLOW_CHANGE, DPID_UNKNOWN );
ar << iGlowBody << iGlowHandLeft << iGlowHandRight << iGlowArmLeft << iGlowArmRight << iGlowLegLeft << iGlowLegRight;
SEND( ar, this, DPID_SERVERPLAYER );
}
#endif //__JOPS_GLOW
DPClient.h
void OnSetPointParam( OBJID objid, CAr & ar );
void OnSetScale( OBJID objid, CAr & ar );
#ifdef __JOPS_GLOW
void OnUpdateGlow( OBJID objid, CAr & ar );
#endif //__JOPS_GLOW
void OnSetPos( OBJID objid, CAr & ar );
void OnSetPosAngle( OBJID objid, CAr & ar );
void OnSetScale( OBJID objid, CAr & ar );
#ifdef __JOPS_GLOW
void OnUpdateGlow( OBJID objid, CAr & ar );
#endif //__JOPS_GLOW
void OnSetPos( OBJID objid, CAr & ar );
void OnSetPosAngle( OBJID objid, CAr & ar );
#ifdef __JOPS_GLOW
void SendGlowChange( int iGlowBody, int iGlowHandLeft, int iGlowHandRight, int iGlowArmLeft, int iGlowArmRight, int iGlowLegLeft, int iGlowLegRight);
#endif //__JOPS_GLOW
void SendGlowChange( int iGlowBody, int iGlowHandLeft, int iGlowHandRight, int iGlowArmLeft, int iGlowArmRight, int iGlowLegLeft, int iGlowLegRight);
#endif //__JOPS_GLOW
VersionCommon.h
#define __JOPS_GLOW
_Network
MsgHdr.h
#ifdef __JOPS_GLOW
#define PACKETTYPE_GLOW_CHANGE (DWORD)0x88100264
#endif //__JOPS_GLOW
#define PACKETTYPE_GLOW_CHANGE (DWORD)0x88100264
#endif //__JOPS_GLOW
#ifdef __JOPS_GLOW
#define SNAPSHOTTYPE_UPDATEGLOW (WORD)0x8868
#endif //__JOPS_GLOW
#define SNAPSHOTTYPE_UPDATEGLOW (WORD)0x8868
#endif //__JOPS_GLOW
_Network\Objects
Obj.cpp
m_dwStateMode = 0;
m_dwUseItemId = 0;
m_nRemainGP = 0;
#ifdef __JOPS_GLOW
m_iGlowBody = 0;
m_iGlowLegLeft = 0;
m_iGlowLegRight = 0;
m_iGlowArmLeft = 0;
m_iGlowArmRight = 0;
m_iGlowHandLeft = 0;
m_iGlowHandRight = 0;
#endif //__JOPS_GLOW
m_dwUseItemId = 0;
m_nRemainGP = 0;
#ifdef __JOPS_GLOW
m_iGlowBody = 0;
m_iGlowLegLeft = 0;
m_iGlowLegRight = 0;
m_iGlowArmLeft = 0;
m_iGlowArmRight = 0;
m_iGlowHandLeft = 0;
m_iGlowHandRight = 0;
#endif //__JOPS_GLOW
#ifdef __JOPS_GLOW
m_iGlowArmLeft = pMover->m_iGlowArmLeft;
m_iGlowArmRight = pMover->m_iGlowArmRight;
m_iGlowLegLeft = pMover->m_iGlowLegLeft;
m_iGlowLegRight = pMover->m_iGlowLegRight;
m_iGlowBody = pMover->m_iGlowBody;
m_iGlowHandLeft = pMover->m_iGlowHandLeft;
m_iGlowHandRight = pMover->m_iGlowHandRight;
if(m_iGlowArmLeft > 16 || m_iGlowArmLeft < 0 )
m_iGlowArmLeft = 0;
if(m_iGlowArmRight > 16 || m_iGlowArmRight < 0 )
m_iGlowArmRight = 0;
if(m_iGlowLegLeft > 16 || m_iGlowLegLeft < 0 )
m_iGlowLegLeft = 0;
if(m_iGlowLegRight > 16 || m_iGlowLegRight < 0)
m_iGlowLegRight = 0;
if( m_iGlowBody > 16 || m_iGlowBody < 0)
m_iGlowBody = 0;
if(m_iGlowHandLeft > 24 ||m_iGlowHandLeft < 0)
m_iGlowHandLeft = 0;
if(m_iGlowHandRight > 24|| m_iGlowHandRight < 0)
m_iGlowHandRight = 0;
// fixx for database entrys = NULL if entry == NULL it would be without fix ingame = -99
#endif //__JOPS_GLOW
}
}
void CMover::PeriodTick( void )
m_iGlowArmLeft = pMover->m_iGlowArmLeft;
m_iGlowArmRight = pMover->m_iGlowArmRight;
m_iGlowLegLeft = pMover->m_iGlowLegLeft;
m_iGlowLegRight = pMover->m_iGlowLegRight;
m_iGlowBody = pMover->m_iGlowBody;
m_iGlowHandLeft = pMover->m_iGlowHandLeft;
m_iGlowHandRight = pMover->m_iGlowHandRight;
if(m_iGlowArmLeft > 16 || m_iGlowArmLeft < 0 )
m_iGlowArmLeft = 0;
if(m_iGlowArmRight > 16 || m_iGlowArmRight < 0 )
m_iGlowArmRight = 0;
if(m_iGlowLegLeft > 16 || m_iGlowLegLeft < 0 )
m_iGlowLegLeft = 0;
if(m_iGlowLegRight > 16 || m_iGlowLegRight < 0)
m_iGlowLegRight = 0;
if( m_iGlowBody > 16 || m_iGlowBody < 0)
m_iGlowBody = 0;
if(m_iGlowHandLeft > 24 ||m_iGlowHandLeft < 0)
m_iGlowHandLeft = 0;
if(m_iGlowHandRight > 24|| m_iGlowHandRight < 0)
m_iGlowHandRight = 0;
// fixx for database entrys = NULL if entry == NULL it would be without fix ingame = -99
#endif //__JOPS_GLOW
}
}
void CMover::PeriodTick( void )
Obj.h
DWORD m_dwAuthorization;
DWORD m_dwMode;
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif //__JOPS_GLOW
DWORD m_dwMode;
#ifdef __JOPS_GLOW
int m_iGlowBody;
int m_iGlowLegLeft;
int m_iGlowLegRight;
int m_iGlowArmLeft;
int m_iGlowArmRight;
int m_iGlowHandLeft;
int m_iGlowHandRight;
#endif //__JOPS_GLOW






