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

ctp2-commit at darkdust.net ctp2-commit at darkdust.net
Mon Sep 8 22:42:18 CEST 2008


If the AI loses its Capitol it builds a new one in its most productive city.

Some cleanings:
modified trunk/ctp2_code/gs/gameobj/Player.cpp
modified trunk/ctp2_code/gs/gameobj/player.h

Removed the iterator in list storing stuff from the squad class:
modified trunk/ctp2_code/ai/strategy/goals/Goal.cpp
modified trunk/ctp2_code/ai/strategy/goals/Goal.h
modified trunk/ctp2_code/ai/strategy/squads/Squad.cpp
modified trunk/ctp2_code/ai/strategy/squads/Squad.h

If the AI loses its Capitol it builds a new one in its most productive city:
modified trunk/ctp2_code/ai/CityManagement/governor.cpp
modified trunk/ctp2_code/ai/CityManagement/governor.h

U   trunk/ctp2_code/ai/CityManagement/governor.cpp
U   trunk/ctp2_code/ai/CityManagement/governor.h
U   trunk/ctp2_code/ai/strategy/goals/Goal.cpp
U   trunk/ctp2_code/ai/strategy/goals/Goal.h
U   trunk/ctp2_code/ai/strategy/squads/Squad.cpp
U   trunk/ctp2_code/ai/strategy/squads/Squad.h
U   trunk/ctp2_code/gs/gameobj/Player.cpp
U   trunk/ctp2_code/gs/gameobj/player.h



More information about the ctp2-commit mailing list