Subversion Repositories spk

Rev

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

Rev 118 Rev 121
Line 230... Line 230...
230
 
230
 
231
					delete lines;
231
					delete lines;
232
				}
232
				}
233
			}
233
			}
234
 
234
 
235
			if ( m_pPackages->GetCurrentDirectory().Empty() )
235
			if ( m_pPackages->getCurrentDirectory().empty() )
236
				DoGameDirectory();
236
				DoGameDirectory();
237
		}
237
		}
238
 
238
 
239
		void SaveData()
239
		void SaveData()
240
		{
240
		{
Line 267... Line 267...
267
 
267
 
268
			if ( this->WindowState == FormWindowState::Maximized )
268
			if ( this->WindowState == FormWindowState::Maximized )
269
				lines.PushBack("ModMergeMax:");
269
				lines.PushBack("ModMergeMax:");
270
 
270
 
271
			if ( this->textBox3->Text->Length )
271
			if ( this->textBox3->Text->Length )
272
				lines.PushBack(CyString("GameDir:") + (long)Convert::ToInt32(this->numericUpDown1->Value) + ";" + m_pPackages->GetCurrentDirectory());
272
				lines.PushBack(CyString("GameDir:") + (long)Convert::ToInt32(this->numericUpDown1->Value) + ";" + m_pPackages->getCurrentDirectory());
273
			Config.WriteFile(&lines);
273
			Config.WriteFile(&lines);
274
		}
274
		}
275
 
275
 
276
 
276
 
277
		bool SetGameDir(int patch, String ^gameDir)
277
		bool SetGameDir(int patch, String ^gameDir)