mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-24 06:58:07 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
35 lines
806 B
Modula-2
35 lines
806 B
Modula-2
ident "engine"
|
|
nativedll engine2.dll
|
|
|
|
// A static function to report exceptions to in C#
|
|
exceptions "Sandbox.Interop.BindingException"
|
|
|
|
// Management classes will appear under this namespace
|
|
namespace "Managed.SandboxEngine"
|
|
|
|
// Paths are relative to the def file
|
|
cpp "../../src/engine2/interop.engine.cpp"
|
|
hpp "../../src/engine2/interop.engine.h"
|
|
cs "../Sandbox.Engine/Interop.Engine.cs"
|
|
|
|
|
|
include "dbg.h"
|
|
include "color.h"
|
|
|
|
include "engine/*"
|
|
include "tier3"
|
|
include "common/*"
|
|
include "resources"
|
|
|
|
|
|
managed static class Sandbox.Engine.Bootstrap
|
|
{
|
|
static void EnvironmentExit( int nCode );
|
|
}
|
|
|
|
|
|
managed static class Sandbox.Engine.SystemInfo
|
|
{
|
|
static void Set( string cpu, ushort processorCount, ulong frequency, ulong totalMemory );
|
|
static void SetGpu( string driver, string version, ulong memory );
|
|
} |