Subversion Repositories spk

Rev

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

Rev 58 Rev 84
Line 89... Line 89...
89
		if ( str->str[0] == '/' ) str->remove = true;
89
		if ( str->str[0] == '/' ) str->remove = true;
90
	}
90
	}
91
	pFiles->RemoveMarked();
91
	pFiles->RemoveMarked();
92
	pFiles->PopFront();
92
	pFiles->PopFront();
93
 
93
 
94
	std::map<std::string, int> fileSet;
94
	std::map<Utils::String, int> fileSet;
95
	int iPos = 0;
95
	int iPos = 0;
96
	for ( SStringList *str = pFiles->Head(); str; str = str->next ) fileSet[Utils::String(str->str.ToString()).token(";", -2)] = iPos++;
96
	for ( SStringList *str = pFiles->Head(); str; str = str->next ) fileSet[Utils::String(str->str.ToString()).token(";", -2)] = iPos++;
97
 
97
 
98
	// now cycle through ships and adjust the cockpits
98
	// now cycle through ships and adjust the cockpits
99
	int iCount = -1;
99
	int iCount = -1;