When compiling, I'm getting these errors:
The error I'm getting is with Dale's Combat Mod. I'm trying to merge it with Better AI.
Here is the code around line 1242:
Here is the code around line 4154:
Any ideas? I'll try and provide more details if needed.
Code:
Project : CvGameCoreDLL
Compiler : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : C:\Games\Sid Meier's Civilization 4\Warlords\CvGameCoreDLL\
--------------------------------------------------------------------------------
Switching to target: Final Release
CvSelectionGroup.cpp
cvselectiongroup.cpp(1242) : error C2660: 'CvSelectionGroup::groupAttack' : function does not take 3 arguments
cvselectiongroup.cpp(4154) : error C2660: 'CvSelectionGroup::AI_getBestGroupAttacker' : function does not take 2 arguments
Process terminated with status 1 (0 minutes, 4 seconds)
2 errors, 0 warnings
The error I'm getting is with Dale's Combat Mod. I'm trying to merge it with Better AI.
Here is the code around line 1242:
Code:
// Grave's ModComp Dale - Stack Attack: use required group attack method whether concept on or off
if(DCMStackAttack)
{
if (groupStackAttack(headMissionQueueNode()->m_data.iData1, headMissionQueueNode()->m_data.iData2, headMissionQueueNode()->m_data.iFlags))
{
bDone = true;
}
} else {
if (groupAttack(headMissionQueueNode()->m_data.iData1, headMissionQueueNode()->m_data.iData2, headMissionQueueNode()->m_data.iFlags))
{
bDone = true;
}
}
Here is the code around line 4154:
Code:
if (getNumUnits() > 0)
{
if ((getDomainType() == DOMAIN_AIR) || (stepDistance(getX(), getY(), pDestPlot->getX_INLINE(), pDestPlot->getY_INLINE()) == 1))
{
if ((iFlags & MOVE_DIRECT_ATTACK) || (getDomainType() == DOMAIN_AIR) || (generatePath(plot(), pDestPlot, iFlags) && (getPathFirstPlot() == pDestPlot)))
{
if (AI_getBestGroupAttacker(pDestPlot, true) != NULL)
{
if (groupDeclareWar(pDestPlot))
{
return true;
}
Any ideas? I'll try and provide more details if needed.