fonksiyon değiştirmenin zor olacağını sanmıyorumBen geçen ekleyip build ettim çalıştı bir sıkıntı olduğunu sanmıyorumsen ekleyememişsindir
C++:
BOOL CGridSlotWindow::CheckMoving(DWORD dwSlotNumber, DWORD dwItemIndex, const std::list<TSlot*> & c_rSlotList)
{
if (m_dwSlotStyle != SLOT_STYLE_PICK_UP)
return TRUE;
while (dwSlotNumber >= 45)
dwSlotNumber -= 45;
for (std::list<TSlot*>::const_iterator itor = c_rSlotList.begin(); itor != c_rSlotList.end(); ++itor)
{
TSlot * pSlot = *itor;
if (dwSlotNumber == pSlot->dwSlotNumber && itor == c_rSlotList.begin())
return true;
if (0 != pSlot->dwItemIndex || pSlot->dwCenterSlotNumber != pSlot->dwSlotNumber) // ¾Ø|UجإغUج Uض°UA
{
if (dwItemIndex != pSlot->dwItemIndex || c_rSlotList.size() != 1) // ´Ø¸¸¥ ¾Ø|UجإغUج¸e ¸Ua ØA¸Ø¥±e
return false;
}
}
return true;
}
fonksiyon değiştirmenin zor olacağını sanmıyorum
C++:BOOL CGridSlotWindow::CheckMoving(DWORD dwSlotNumber, DWORD dwItemIndex, const std::list<TSlot*> & c_rSlotList) { if (m_dwSlotStyle != SLOT_STYLE_PICK_UP) return TRUE; while (dwSlotNumber >= 45) dwSlotNumber -= 45; for (std::list<TSlot*>::const_iterator itor = c_rSlotList.begin(); itor != c_rSlotList.end(); ++itor) { TSlot * pSlot = *itor; if (dwSlotNumber == pSlot->dwSlotNumber && itor == c_rSlotList.begin()) return true; if (0 != pSlot->dwItemIndex || pSlot->dwCenterSlotNumber != pSlot->dwSlotNumber) // ¾Ø|UجإغUج Uض°UA { if (dwItemIndex != pSlot->dwItemIndex || c_rSlotList.size() != 1) // ´Ø¸¸¥ ¾Ø|UجإغUج¸e ¸Ua ØA¸Ø¥±e return false; } } return true; }
Bekir Nabün
Crazy_
hayatta kalmaya çalışıyorum senBekir Nabün
Crazy_
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 6
- Görüntüleme
- 351
- Cevaplar
- 5
- Görüntüleme
- 291
sen ekleyememişsindir