2008-11-11 16:19:50 +00:00
|
|
|
|
|
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
|
|
* This program is released under GNU General Public License
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Namespaces
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Globalization;
|
|
|
|
using System.Text;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
using System.Diagnostics;
|
2008-11-13 23:05:16 +00:00
|
|
|
using System.IO;
|
|
|
|
using CodeImp.DoomBuilder.Config;
|
|
|
|
using CodeImp.DoomBuilder.IO;
|
2008-11-11 16:19:50 +00:00
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
2008-11-13 16:21:11 +00:00
|
|
|
namespace CodeImp.DoomBuilder.Compilers
|
2008-11-11 16:19:50 +00:00
|
|
|
{
|
2008-11-14 10:44:03 +00:00
|
|
|
public sealed class AccCompiler : Compiler
|
2008-11-11 16:19:50 +00:00
|
|
|
{
|
2008-11-13 16:21:11 +00:00
|
|
|
#region ================== Constants
|
|
|
|
|
|
|
|
#endregion
|
2008-11-11 16:19:50 +00:00
|
|
|
|
2008-11-13 16:21:11 +00:00
|
|
|
#region ================== Variables
|
2008-11-11 16:19:50 +00:00
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Constructor
|
|
|
|
|
|
|
|
// Constructor
|
2008-11-13 23:05:16 +00:00
|
|
|
public AccCompiler(CompilerInfo info) : base(info)
|
2008-11-11 16:19:50 +00:00
|
|
|
{
|
|
|
|
}
|
2008-11-13 23:05:16 +00:00
|
|
|
|
|
|
|
// Disposer
|
|
|
|
public override void Dispose()
|
|
|
|
{
|
|
|
|
// Not already disposed?
|
|
|
|
if(!isdisposed)
|
|
|
|
{
|
|
|
|
// Clean up
|
|
|
|
|
|
|
|
// Done
|
|
|
|
base.Dispose();
|
|
|
|
}
|
|
|
|
}
|
2008-11-11 16:19:50 +00:00
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Methods
|
|
|
|
|
2008-11-13 23:05:16 +00:00
|
|
|
// This runs the compiler with a file as input.
|
|
|
|
public override bool CompileFile(string filename)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
// This runs the compiler with lump data as input.
|
|
|
|
public override bool CompileLump(Stream lumpdata)
|
2008-11-11 16:19:50 +00:00
|
|
|
{
|
2008-11-13 16:21:11 +00:00
|
|
|
return true;
|
2008-11-11 16:19:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|