Subversion Repositories spk

Rev

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

Rev 237 Rev 239
Line 2629... Line 2629...
2629
		case PLUGIN_MOD:
2629
		case PLUGIN_MOD:
2630
			list->pushBack(L"PluginType: Mod");
2630
			list->pushBack(L"PluginType: Mod");
2631
			break;
2631
			break;
2632
	}
2632
	}
2633
	list->pushBack(L"");
2633
	list->pushBack(L"");
-
 
2634
 
-
 
2635
	if (!_lGlobals.empty())
-
 
2636
	{
-
 
2637
		list->pushBack(L"# Globals, add global overrides to a package when generating the globals file, to override game settings");
-
 
2638
		for (auto itr = _lGlobals.begin(); itr != _lGlobals.end(); itr++)
-
 
2639
			list->pushBack(L"Global: " + (*itr)->str + L";" + (*itr)->data);
-
 
2640
		list->pushBack(L"");
-
 
2641
	}
2634
 
2642
 
2635
	return true;
2643
	return true;
2636
}
2644
}
2637
 
2645
 
2638
bool CBaseFile::GeneratePackagerScriptFile(bool wildcard, Utils::WStringList *list, int game, const Utils::WStringList &gameAddons)
2646
bool CBaseFile::GeneratePackagerScriptFile(bool wildcard, Utils::WStringList *list, int game, const Utils::WStringList &gameAddons)
Line 2986... Line 2994...
2986
			}
2994
			}
2987
		}
2995
		}
2988
		else
2996
		else
2989
			this->addAutoExtract(CBaseFile::GetGameFromString(game), dir);
2997
			this->addAutoExtract(CBaseFile::GetGameFromString(game), dir);
2990
	}
2998
	}
-
 
2999
	else if (sFirst.Compare(L"Global"))
-
 
3000
		this->addGlobal(sRest.token(L";", 1), sRest.token(L";", 2));
2991
	else
3001
	else
2992
	{
3002
	{
2993
		Utils::WString checkType = sFirst;
3003
		Utils::WString checkType = sFirst;
2994
		bool shared = false;
3004
		bool shared = false;
2995
		if (checkType.left(6).Compare(L"Shared"))
3005
		if (checkType.left(6).Compare(L"Shared"))