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