mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-12-23 01:11:48 +00:00
Добавлен предкомпелируемый заголовок (подключается сам во все .c/.cpp файлы)
This commit is contained in:
parent
da44ec13da
commit
ed88279271
13
mta-mono/src/StdInc.cpp
Normal file
13
mta-mono/src/StdInc.cpp
Normal file
@ -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"
|
54
mta-mono/src/StdInc.h
Normal file
54
mta-mono/src/StdInc.h
Normal file
@ -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 <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
#define MTAEXPORT extern "C" __declspec(dllexport)
|
||||
#else
|
||||
#define MTAEXPORT extern "C"
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <assert.h>
|
||||
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable: 4996 )
|
||||
#include <glib.h>
|
||||
#pragma warning( pop )
|
||||
|
||||
#include <mono/jit/jit.h>
|
||||
#include <mono/metadata/assembly.h>
|
||||
#include <mono/metadata/mono-debug.h>
|
||||
#include <mono/metadata/debug-helpers.h>
|
||||
#include <mono/metadata/environment.h>
|
||||
#include <mono/metadata/threads.h>
|
||||
#include <mono/metadata/mono-gc.h>
|
||||
|
||||
#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"
|
Loading…
Reference in New Issue
Block a user