Ich habe die Stelle gefunden, wo das in SDK aufgerufen wird:
Code:
void CvGameTextMgr::getInterfaceCenterText(CvWString& strText)
{
strText.clear();
if (!gDLL->getInterfaceIFace()->isCityScreenUp())
{
if (GC.getGameINLINE().getWinner() != NO_TEAM)
{
strText = gDLL->getText("TXT_KEY_MISC_WINS_VICTORY", GET_TEAM(GC.getGameINLINE().getWinner()).getName().GetCString(), GC.getVictoryInfo(GC.getGameINLINE().getVictory()).getTextKeyWide());
}
else if (!(GET_PLAYER(GC.getGameINLINE().getActivePlayer()).isAlive()))
{
strText = gDLL->getText("TXT_KEY_MISC_DEFEAT");
}
}
}
Das hier ist die Definition für den Text unten:
Code:
<TEXT>
<Tag>TXT_KEY_MISC_WINS_VICTORY</Tag>
<English>%s1_PlyrName Wins a %s2_VctryName Victory!!!!</English>
<French>%s1_PlyrName remporte une victoire de type : %s2_VctryName !</French>
<German>%s1_PlyrName trägt den Sieg in der Kategorie %s2_VctryName davon!!!!</German>
<Italian>%s1_PlyrName conquista una vittoria %s2_VctryName!</Italian>
<Spanish>%s1_PlyrName ha obtenido una victoria %s2_VctryName</Spanish>
</TEXT>
Was allerdings durch "GC.getVictoryInfo(GC.getGameINLINE().getVictory()).getTextKeyWide()" aufgerufen wird, kann ich nicht nachvollziehen. Dieser Eintrag sicherlich nicht:
Code:
<Description>TXT_KEY_VICTORY_COMMERCE</Description>
Denn dann würde da korekt wirtschaftlicher Sieg stehen. Es muss irgendwas sein, was bei diplomatischer Sieg und Wirtschaftlicher Sieg gleich ist. Oder es wird irgendwie vom diplomatischen Sieg übernommen, weil der vorher der letzte Eintrag war und nun der vorletzte.
So sehen meine Einträge in der VictoryInfo aus:
Code:
<VictoryInfo>
<Type>VICTORY_DIPLOMATIC</Type>
<Description>TXT_KEY_VICTORY_DIPLOMATIC</Description>
<Civilopedia>TXT_KEY_VICTORY_DIPLOMATIC_PEDIA</Civilopedia>
<bTargetScore>0</bTargetScore>
<bEndScore>0</bEndScore>
<bConquest>0</bConquest>
<bDiploVote>1</bDiploVote>
<bPermanent>0</bPermanent>
<iPopulationPercentLead>0</iPopulationPercentLead>
<iLandPercent>0</iLandPercent>
<iMinLandPercent>0</iMinLandPercent>
<iReligionPercent>0</iReligionPercent>
<CityCulture>NONE</CityCulture>
<iNumCultureCities>0</iNumCultureCities>
<iTotalCultureRatio>0</iTotalCultureRatio>
<iVictoryDelayTurns>0</iVictoryDelayTurns>
<VictoryMovie/>
</VictoryInfo>
<VictoryInfo>
<Type>VICTORY_COMMERCE</Type>
<Description>TXT_KEY_VICTORY_COMMERCE</Description>
<Civilopedia>TXT_KEY_VICTORY_COMMERCE_PEDIA</Civilopedia>
<bTargetScore>1</bTargetScore>
<bEndScore>0</bEndScore>
<bConquest>0</bConquest>
<bDiploVote>0</bDiploVote>
<bPermanent>0</bPermanent>
<iPopulationPercentLead>0</iPopulationPercentLead>
<iLandPercent>0</iLandPercent>
<iMinLandPercent>0</iMinLandPercent>
<iReligionPercent>0</iReligionPercent>
<CityCulture>NONE</CityCulture>
<iNumCultureCities>0</iNumCultureCities>
<iTotalCultureRatio>0</iTotalCultureRatio>
<iVictoryDelayTurns>0</iVictoryDelayTurns>
<VictoryMovie>ART_DEF_MOVIE_VICTORY_CULTURAL</VictoryMovie>
</VictoryInfo>
Schlau werde ich da nicht draus.