just put a hud.png in a faction dir and you got a HUD overlay

This commit is contained in:
Titus Tscharntke
2011-06-09 00:59:03 +00:00
parent d7e4d972a3
commit bc2c59a82a
7 changed files with 70 additions and 1 deletions

View File

@@ -1407,7 +1407,8 @@ void runTechValidationForPath(string techPath, string techName,
for(unsigned int j = 0; j < foundFiles.size(); ++j) {
string file = foundFiles[j];
if( file.find("loading_screen") != string::npos ||
file.find("preview_screen") != string::npos) {
file.find("preview_screen") != string::npos ||
file.find("hud") != string::npos) {
continue;
}
if(file.find("/factions/") != string::npos) {