Subversion Repositories spk

Rev

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

Rev 110 Rev 112
Line 124... Line 124...
124
	Utils::CStringList *ships = pVfs->getTShipsEntries();
124
	Utils::CStringList *ships = pVfs->getTShipsEntries();
125
	if ( ships ) {
125
	if ( ships ) {
126
		this->LoadText(pVfs);
126
		this->LoadText(pVfs);
127
 
127
 
128
		LoadShip ^ls = gcnew LoadShip();
128
		LoadShip ^ls = gcnew LoadShip();
129
		for(Utils::SStringList *str = ships->First(); str; str = ships->Next()) {
129
		for(Utils::SStringList *str = ships->first(); str; str = ships->next()) {
130
			int tId = str->str.token(";", 7).toLong();
130
			int tId = str->str.token(";", 7).toLong();
131
			String ^name = _US(pVfs->findText(0, 17, tId));
131
			String ^name = _US(pVfs->findText(0, 17, tId));
132
			String ^race = _US(pVfs->findText(0, 1266, str->str.token(";", 46).toLong()));
132
			String ^race = _US(pVfs->findText(0, 1266, str->str.token(";", 46).toLong()));
133
			String ^text = race + " " + name;
133
			String ^text = race + " " + name;
134
			int variation = str->str.token(";", 51).toLong();
134
			int variation = str->str.token(";", 51).toLong();