0dc6a4a5dd
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
44 lines
676 B
C#
Executable File
44 lines
676 B
C#
Executable File
using System;
|
|
|
|
namespace AMXXRelease
|
|
{
|
|
//Day of Defeat
|
|
public class ModDoD : AMod
|
|
{
|
|
public ModDoD()
|
|
{
|
|
AddModules();
|
|
AddPlugins();
|
|
}
|
|
|
|
public override sealed string GetName()
|
|
{
|
|
return "dod";
|
|
}
|
|
|
|
private void AddPlugins()
|
|
{
|
|
AddPlugin("stats");
|
|
AddPlugin("plmenu");
|
|
AddPlugin("stats_logging");
|
|
AddPlugin("statssounds");
|
|
|
|
Plugin pl = AddPlugin("dodstats");
|
|
pl.outdir = "data";
|
|
}
|
|
|
|
private void AddModules()
|
|
{
|
|
Module dodx = new Module("dodx");
|
|
dodx.sourcedir = "dlls\\dod\\dodx";
|
|
|
|
Module dodfun = new Module("dodfun");
|
|
dodfun.sourcedir = "dlls\\dod\\dodfun";
|
|
|
|
m_Modules.Add(dodx);
|
|
m_Modules.Add(dodfun);
|
|
}
|
|
}
|
|
}
|
|
|