[ctp2-commit] Revision 847 committed by Martin G?\195?\188hmann

ctp2-commit at darkdust.net ctp2-commit at darkdust.net
Sat Feb 9 00:03:25 CET 2008


Improved AI transporter handling:

Some cleanings:
modified trunk/ctp2_code/ai/CityManagement/governor.cpp
modified trunk/ctp2_code/ai/ctpaidebug.cpp
modified trunk/ctp2_code/ai/diplomacy/sstateevent.cpp
modified trunk/ctp2_code/ai/mapanalysis/mapanalysis.cpp
modified trunk/ctp2_code/ai/mapanalysis/settlemap.cpp
modified trunk/ctp2_code/ai/strategy/scheduler/scheduler.cpp
modified trunk/ctp2_code/gs/world/MapPoint.h
modified trunk/ctp2_code/gs/world/wldgen.cpp
modified trunk/ctp2_code/gs/world/World.h
modified trunk/ctp2_code/gs/world/WrldCont.cpp
modified trunk/ctp2_code/robot/pathing/astar.cpp

Corrected the calculation of the needed unit garrison to guard slaves:
modified trunk/ctp2_code/ai/ctpai.cpp

Moved the army ungrouping for transports to the load transporter event:
modified trunk/ctp2_code/gs/gameobj/armyevent.cpp

If an agent can be used is now set exclusively here:
modified trunk/ctp2_code/ai/strategy/agents/ctpagent.cpp
modified trunk/ctp2_code/ai/strategy/agents/ctpagent.h

Improved AI transporter pathing:
modified trunk/ctp2_code/robot/pathing/Path.cpp
modified trunk/ctp2_code/robot/pathing/Path.h

The AI starts to move its transporters to the goal when the cargo is on board and not one turn later:
modified trunk/ctp2_code/gs/gameobj/Army.cpp
modified trunk/ctp2_code/gs/gameobj/Army.h
modified trunk/ctp2_code/gs/gameobj/ArmyData.cpp
modified trunk/ctp2_code/gs/gameobj/ArmyData.h
modified trunk/ctp2_code/gs/gameobj/Unit.cpp
modified trunk/ctp2_code/gs/gameobj/Unit.h
modified trunk/ctp2_code/gs/gameobj/UnitData.cpp
modified trunk/ctp2_code/gs/gameobj/UnitData.h
modified trunk/ctp2_code/robot/pathing/robotastar2.cpp
modified trunk/ctp2_code/robot/pathing/unitastar.cpp
modified trunk/ctp2_code/robot/pathing/UnitAstar.h

The AI now uses more than one transporter if necessary:
modified trunk/ctp2_code/ai/strategy/goals/ctpgoal.cpp
modified trunk/ctp2_code/ai/strategy/goals/ctpgoal.h

U   trunk/ctp2_code/ai/CityManagement/governor.cpp
U   trunk/ctp2_code/ai/ctpai.cpp
U   trunk/ctp2_code/ai/ctpaidebug.cpp
U   trunk/ctp2_code/ai/diplomacy/sstateevent.cpp
U   trunk/ctp2_code/ai/mapanalysis/mapanalysis.cpp
U   trunk/ctp2_code/ai/mapanalysis/settlemap.cpp
U   trunk/ctp2_code/ai/strategy/agents/ctpagent.cpp
U   trunk/ctp2_code/ai/strategy/agents/ctpagent.h
U   trunk/ctp2_code/ai/strategy/goals/ctpgoal.cpp
U   trunk/ctp2_code/ai/strategy/goals/ctpgoal.h
U   trunk/ctp2_code/ai/strategy/scheduler/scheduler.cpp
U   trunk/ctp2_code/gs/gameobj/Army.cpp
U   trunk/ctp2_code/gs/gameobj/Army.h
U   trunk/ctp2_code/gs/gameobj/ArmyData.cpp
U   trunk/ctp2_code/gs/gameobj/ArmyData.h
U   trunk/ctp2_code/gs/gameobj/Unit.cpp
U   trunk/ctp2_code/gs/gameobj/Unit.h
U   trunk/ctp2_code/gs/gameobj/UnitData.cpp
U   trunk/ctp2_code/gs/gameobj/UnitData.h
U   trunk/ctp2_code/gs/gameobj/armyevent.cpp
U   trunk/ctp2_code/gs/world/MapPoint.h
U   trunk/ctp2_code/gs/world/World.h
U   trunk/ctp2_code/gs/world/WrldCont.cpp
U   trunk/ctp2_code/gs/world/wldgen.cpp
U   trunk/ctp2_code/robot/pathing/Path.cpp
U   trunk/ctp2_code/robot/pathing/Path.h
U   trunk/ctp2_code/robot/pathing/UnitAstar.h
U   trunk/ctp2_code/robot/pathing/astar.cpp
U   trunk/ctp2_code/robot/pathing/robotastar2.cpp
U   trunk/ctp2_code/robot/pathing/unitastar.cpp



More information about the ctp2-commit mailing list