|
From: Greg <evo...@us...> - 2005-12-18 21:37:19
|
Update of /cvsroot/evolutionlejeu/evolutionlejeu/Evolution/Agamemnon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20446/Evolution/Agamemnon Modified Files: ACartographer.cpp GeoOrders.h SpotOrders.h Log Message: ADD : process province dimensions ADD : adjust governor map to province (in dev) Index: ACartographer.cpp =================================================================== RCS file: /cvsroot/evolutionlejeu/evolutionlejeu/Evolution/Agamemnon/ACartographer.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ACartographer.cpp 5 Aug 2005 17:06:35 -0000 1.9 --- ACartographer.cpp 18 Dec 2005 21:37:03 -0000 1.10 *************** *** 177,180 **** --- 177,183 ---- pResult->vecProvinces = province->GetIGeoProvince()->_GetAdjacentProvinces(); + pResult->dimNorthSouth = province->GetIGeoProvince()->GetDimensionNorthSouth(); + pResult->dimWestEast = province->GetIGeoProvince()->GetDimensionWestEast(); + pKernel->Unlock(); return *pResult; Index: GeoOrders.h =================================================================== RCS file: /cvsroot/evolutionlejeu/evolutionlejeu/Evolution/Agamemnon/GeoOrders.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** GeoOrders.h 5 Aug 2005 17:06:35 -0000 1.5 --- GeoOrders.h 18 Dec 2005 21:37:03 -0000 1.6 *************** *** 37,40 **** --- 37,41 ---- EString esName; GeoCode gcCenter; + GeoDimension dimNorthSouth, dimWestEast; std::vector<provinceId> vecProvinces; Index: SpotOrders.h =================================================================== RCS file: /cvsroot/evolutionlejeu/evolutionlejeu/Evolution/Agamemnon/SpotOrders.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SpotOrders.h 15 Dec 2005 17:11:51 -0000 1.8 --- SpotOrders.h 18 Dec 2005 21:37:03 -0000 1.9 *************** *** 16,21 **** bool m_bArmySwitch; // the army in the spot scope ! GeoDimension m_max_width; // the maximum width the spot can display ! GeoDimension m_max_height; // the maximum height the spot can display }; --- 16,21 ---- bool m_bArmySwitch; // the army in the spot scope ! GeoDimension m_max_width; // the maximum width the spot can display (in square) ! GeoDimension m_max_height; // the maximum height the spot can display (in square) }; |