66 fprintf(fd,
":ActionSlots (\n");
71 fprintf(fd,
"( // slot %d\n", i);
74 if (pActions->
Size() == 0)
77 fprintf(fd,
"NULL\n");
81 pActions->
PrintMe(fd, nTabs + 2);
129 for (
int i = 0; i < pMovements->
GetArgCount(); i++)
176 fprintf(fd,
":MovementTable (\n");
190 fprintf(fd,
":TokenGroupItems (\n");
204 fprintf(fd,
":NoTokenActionSlots (\n");
210 if (pActions->
Size() == 0)
213 fprintf(fd,
"NULL ");
217 pActions->
PrintMe(fd, nTabs + 2);
230 fprintf(fd,
"{:TokenGroup ");
254 if (pObject->
IsSet())
260 catch (
char const *) {}
307 if (n > 0 && n <= pGroup->m_ActionSlots.Size())
353 for (
int i = 0; i < pPositions->
GetArgCount(); i++)
379 fprintf(fd,
"{:ListGroup ");
382 fprintf(fd,
":Positions (");
394 fprintf(fd,
":WrapAround true\n");
400 fprintf(fd,
":MultipleSelection true\n");
418 QList<MHListItem *>::iterator it =
m_ItemList.begin();
446 m_ItemList.at(j)->m_pVisible->ResetPosition();
465 m_ItemList.at(j)->m_pVisible->Deactivation(engine);
564 QList<MHListItem *>::iterator it =
m_ItemList.begin();
568 if ((*it)->m_pVisible == pItem)
575 if (nIndex < 1 || nIndex >
m_ItemList.size() + 1)
665 if (nVisIndex >= 0 && nVisIndex <
m_ItemList.size())
687 return ((nIndex - 1) % nItems) + 1;
691 return nItems - ((-nIndex) % nItems);