Doggynub
LUA / C++
- Joined
- Sep 28, 2008
- Messages
- 2,541
- Reaction score
- 186
i want to know how this loop through items over ground : ?(just above the ground to the most far from ground ||| the opposite way )
[cpp]
if(TileItemVector* items = getItemList())
{
for(ItemVector::iterator it = items->getBeginDownItem(); it != items->getEndDownItem(); ++it)
{
}[/cpp]
[cpp]
if(TileItemVector* items = getItemList())
{
for(ItemVector::iterator it = items->getBeginDownItem(); it != items->getEndDownItem(); ++it)
{
}[/cpp]