Subversion Repositories spk

Rev

Rev 116 | Rev 123 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 116 Rev 118
Line 1168... Line 1168...
1168
 
1168
 
1169
		void LoadData()
1169
		void LoadData()
1170
		{
1170
		{
1171
			System::String ^mydoc = Environment::GetFolderPath(Environment::SpecialFolder::Personal );
1171
			System::String ^mydoc = Environment::GetFolderPath(Environment::SpecialFolder::Personal );
1172
			CFileIO Config;
1172
			CFileIO Config;
1173
			if ( Config.Open(CyStringFromSystemString(mydoc) + "/Egosoft/creator.dat") )
1173
			if ( Config.open(_S(mydoc) + "/Egosoft/creator.dat") )
1174
			{
1174
			{
1175
				std::vector<CyString> *lines = Config.ReadLines();
1175
				std::vector<CyString> *lines = Config.ReadLines();
1176
				if ( lines )
1176
				if ( lines )
1177
				{
1177
				{
1178
					for ( int i = 0; i < (int)lines->size(); i++ )
1178
					for ( int i = 0; i < (int)lines->size(); i++ )