mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
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
37 lines
532 B
C#
Executable File
37 lines
532 B
C#
Executable File
using System;
|
|
|
|
namespace AMXXRelease
|
|
{
|
|
//Team Fortress Classic
|
|
public class ModTFC : AMod
|
|
{
|
|
public ModTFC()
|
|
{
|
|
AddModules();
|
|
AddPlugins();
|
|
}
|
|
|
|
public override sealed string GetName()
|
|
{
|
|
return "tfc";
|
|
}
|
|
|
|
private void AddPlugins()
|
|
{
|
|
AddPlugin("plmenu");
|
|
AddPlugin("stats_logging");
|
|
AddPlugin("statssounds");
|
|
AddPlugin("stats");
|
|
Plugin pl = AddPlugin("tfcstats");
|
|
pl.outdir = "data";
|
|
}
|
|
|
|
private void AddModules()
|
|
{
|
|
Module tfcx = new Module("tfcx");
|
|
|
|
m_Modules.Add(tfcx);
|
|
}
|
|
}
|
|
}
|