2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-01-27 05:58:20 +03:00
This commit is contained in:
asmodai 2017-06-26 22:51:23 +03:00
parent bb600d0e13
commit 7005773f10
2 changed files with 16 additions and 3 deletions

View File

@ -1,5 +1,19 @@
#pragma once
#include <eiface.h>
#ifndef DLLEXPORT
#ifdef _WIN32
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT __attribute__((visibility("default")))
#endif // _WIN32
#endif // DLLEXPORT
#ifndef C_DLLEXPORT
#define C_DLLEXPORT extern "C" DLLEXPORT
#endif
typedef void (*FN_GAMEINIT)();
// Typedefs for these are provided in SDK engine/eiface.h, but I didn't

View File

@ -1,8 +1,7 @@
#pragma once
#include <util.h>
#include <dllapi.h>
#include <plinfo.h>
#include <extdll.h>
#include "plinfo.h"
// For GetGameInfo:
enum ginfo_t