amxmodx/installer/builder/Build.cs
Scott Ehlert 0dc6a4a5dd Whoa, amb1941: All of AMX Mod X is now officially moved over to Visual Studio 2005 (MSVC 8)
Also did the following:
* Removed -fPIC from all Linux makefiles
* AMXX build tool now also moved over to VS 2005
* AMXX build tool binary renamed from "AMXXRelease" to "builder"
* MSVC project files now can use environment variables to point to the paths of the Metamod headers and HL SDK: $(METAMOD) and $(HLSDK) respectively
2008-08-16 09:48:39 +00:00

49 lines
816 B
C#
Executable File

using System;
using System.Collections;
namespace AMXXRelease
{
//Class that iterates the different pieces
// to be completed over for the build
public class Build
{
protected ArrayList m_Mods;
protected Config m_Cfg;
public Build(Config cfg)
{
m_Mods = new ArrayList();
m_Cfg = cfg;
CoreMod core = new CoreMod();
ModCstrike cstrike = new ModCstrike();
m_Mods.Add(core);
m_Mods.Add(cstrike);
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()
{
return m_Mods.Count;
}
public virtual AMod GetMod(int i)
{
return (AMod)m_Mods[i];
}
}
}