AMD64 building fixes and such
This commit is contained in:
Binary file not shown.
@ -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()
|
||||
|
@ -52,7 +52,7 @@ namespace AMXXRelease
|
||||
Releaser.IsWindows = true;
|
||||
}
|
||||
|
||||
Build build = new Build();
|
||||
Build build = new Build(m_Cfg);
|
||||
|
||||
builder.Build(m_Cfg, build);
|
||||
}
|
||||
|
@ -3,4 +3,4 @@ source = /home/dvander/code/amxx
|
||||
makeopts = amd64
|
||||
output = /home/dvander/done
|
||||
devenv = /usr/bin/make
|
||||
release = amxmodx-1.75
|
||||
release = amxmodx-1.76
|
||||
|
Reference in New Issue
Block a user