mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15: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
41 lines
636 B
C#
Executable File
41 lines
636 B
C#
Executable File
using System;
|
|
|
|
namespace AMXXRelease
|
|
{
|
|
//The Specialists
|
|
public class ModTs : AMod
|
|
{
|
|
public ModTs()
|
|
{
|
|
AddModules();
|
|
AddPlugins();
|
|
}
|
|
|
|
public override sealed string GetName()
|
|
{
|
|
return "ts";
|
|
}
|
|
|
|
private void AddPlugins()
|
|
{
|
|
AddPlugin("stats");
|
|
AddPlugin("stats_logging");
|
|
AddPlugin("statssounds");
|
|
Plugin pl = AddPlugin("tsstats");
|
|
pl.outdir = "data";
|
|
}
|
|
|
|
private void AddModules()
|
|
{
|
|
Module tsx = new Module("tsx");
|
|
tsx.sourcedir = "dlls\\ts\\tsx";
|
|
|
|
Module tsfun = new Module("tsfun");
|
|
tsfun.sourcedir = "dlls\\ts\\tsfun";
|
|
|
|
m_Modules.Add(tsx);
|
|
m_Modules.Add(tsfun);
|
|
}
|
|
}
|
|
}
|