|
From: Greg <evo...@us...> - 2005-12-16 16:43:39
|
Update of /cvsroot/evolutionlejeu/evolutionlejeu/Evolution/Atlas In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8372/Evolution/Atlas Modified Files: GeoSquare.cpp Log Message: CHG : All list & vector are cleared before beiing loaded FIX : Misses in save/load of some classes Index: GeoSquare.cpp =================================================================== RCS file: /cvsroot/evolutionlejeu/evolutionlejeu/Evolution/Atlas/GeoSquare.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** GeoSquare.cpp 9 Nov 2005 14:56:34 -0000 1.8 --- GeoSquare.cpp 16 Dec 2005 16:43:22 -0000 1.9 *************** *** 182,185 **** --- 182,186 ---- xmlParent.AddAttribute( "temp", EString( m_temperature ) ); xmlParent.AddAttribute( "clim", EString( (int)m_climate ) ); + xmlParent.AddAttribute( "slop", EString( (int)m_slope ) ); } *************** *** 191,194 **** --- 192,196 ---- m_temperature = (Temperature) xmlParent.GetAttribute( "temp" ).ToInt(); m_climate = (Climate) xmlParent.GetAttribute( "clim" ).ToInt(); + m_slope = (Slope) xmlParent.GetAttribute( "slop" ).ToInt(); } |