committed C# releaser
This commit is contained in:
43
installer/AMXXRelease/ModTFC.cs
Executable file
43
installer/AMXXRelease/ModTFC.cs
Executable file
@ -0,0 +1,43 @@
|
||||
using System;
|
||||
|
||||
namespace AMXXRelease
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for ModTFC.
|
||||
/// </summary>
|
||||
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.sourcedir = "dlls\\tfc\\tfcx";
|
||||
tfcx.vcproj = "tfcx";
|
||||
tfcx.projname = "tfcx_amxx";
|
||||
tfcx.bindir = "msvc";
|
||||
|
||||
m_Modules.Add(tfcx);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user