AMD64 building fixes and such

This commit is contained in:
Scott Ehlert
2006-09-03 03:48:54 +00:00
parent 557958b408
commit ed5395a54a
5 changed files with 21 additions and 14 deletions

View File

@ -8,26 +8,33 @@ namespace AMXXRelease
public class Build
{
protected ArrayList m_Mods;
protected Config m_Cfg;
public Build()
public Build(Config cfg)
{
m_Mods = new ArrayList();
m_Cfg = cfg;
CoreMod core = new CoreMod();
ModCstrike cstrike = new ModCstrike();
ModDoD dod = new ModDoD();
ModEsf esf = new ModEsf();
ModNs ns = new ModNs();
ModTFC tfc = new ModTFC();
ModTs ts = new ModTs();
m_Mods.Add(core);
m_Mods.Add(cstrike);
m_Mods.Add(dod);
m_Mods.Add(esf);
m_Mods.Add(ns);
m_Mods.Add(tfc);
m_Mods.Add(ts);
if (m_Cfg.MakeOpts().IndexOf("amd64") == -1)
{
ModDoD dod = new ModDoD();
ModEsf esf = new ModEsf();
ModNs ns = new ModNs();
ModTFC tfc = new ModTFC();
ModTs ts = new ModTs();
m_Mods.Add(dod);
m_Mods.Add(esf);
m_Mods.Add(ns);
m_Mods.Add(tfc);
m_Mods.Add(ts);
}
}
public virtual int GetMods()