From ed88279271c3310822dd2db82243ba3fbf29d6cb Mon Sep 17 00:00:00 2001 From: Kernell Date: Sun, 29 Nov 2015 18:34:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BF=D1=80=D0=B5=D0=B4=D0=BA=D0=BE=D0=BC=D0=BF=D0=B5?= =?UTF-8?q?=D0=BB=D0=B8=D1=80=D1=83=D0=B5=D0=BC=D1=8B=D0=B9=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BE=D0=BA=20(=D0=BF=D0=BE?= =?UTF-8?q?=D0=B4=D0=BA=D0=BB=D1=8E=D1=87=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20?= =?UTF-8?q?=D1=81=D0=B0=D0=BC=20=D0=B2=D0=BE=20=D0=B2=D1=81=D0=B5=20.c/.cp?= =?UTF-8?q?p=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mta-mono/src/StdInc.cpp | 13 ++++++++++ mta-mono/src/StdInc.h | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 mta-mono/src/StdInc.cpp create mode 100644 mta-mono/src/StdInc.h diff --git a/mta-mono/src/StdInc.cpp b/mta-mono/src/StdInc.cpp new file mode 100644 index 0000000..33f7b7c --- /dev/null +++ b/mta-mono/src/StdInc.cpp @@ -0,0 +1,13 @@ +/********************************************************* +* +* Copyright © 2013, Innovation Roleplay Engine. +* +* All Rights Reserved. +* +* Redistribution and use in source and binary forms, +* with or without modification, +* is permitted only for authors. +* +*********************************************************/ + +#include "StdInc.h" \ No newline at end of file diff --git a/mta-mono/src/StdInc.h b/mta-mono/src/StdInc.h new file mode 100644 index 0000000..8833002 --- /dev/null +++ b/mta-mono/src/StdInc.h @@ -0,0 +1,54 @@ +/********************************************************* +* +* Copyright © 2013, Innovation Roleplay Engine. +* +* All Rights Reserved. +* +* Redistribution and use in source and binary forms, +* with or without modification, +* is permitted only for authors. +* +*********************************************************/ + +extern "C" +{ + #include + #include + #include +} + +#ifdef WIN32 + #define MTAEXPORT extern "C" __declspec(dllexport) +#else + #define MTAEXPORT extern "C" +#endif + +#include +#include +#include +#include +#include +#include + +#pragma warning( push ) +#pragma warning( disable: 4996 ) +#include +#pragma warning( pop ) + +#include +#include +#include +#include +#include +#include +#include + +#include "Common.h" + +#define SAFE_DELETE(p) { if(p) { delete (p); (p)=nullptr; } } +#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=nullptr; } } + +#include "extra/Vector2.h" +#include "extra/Vector3.h" + +#include "include/ILuaModuleManager.h" \ No newline at end of file