Hm, ins Interface habe ich es problemlos integrieren können, nur leider klappt es nicht wie gewünscht :-(
Es gibt leider in der DLL folgenden Abschnitt am Beginn von startMission(...):
Code:
void CvSelectionGroup::startMission()
{
CLLNode<IDInfo>* pUnitNode;
CvUnit* pLoopUnit;
bool bDelete;
bool bAction;
bool bNuke;
bool bNotify;
FAssert(!isBusy());
FAssert(getOwnerINLINE() != NO_PLAYER);
FAssert(headMissionQueueNode() != NULL);
if (!GC.getGameINLINE().isMPOption(MPOPTION_SIMULTANEOUS_TURNS))
{
if (!GET_PLAYER(getOwnerINLINE()).isTurnActive())
{
if (getOwnerINLINE() == GC.getGameINLINE().getActivePlayer())
{
if (IsSelected())
{
gDLL->getInterfaceIFace()->changeCycleSelectionCounter(1);
}
}
return;
}
}
[...]
Das führt dazu, dass es auch bei mir das Verschanzen nur für die Aktive Nation funktioniert.
Das man dass aber im Szenario speichern kann muss es eine Lösung geben. Muss ich später noch mal im Code suchen.