This repository has been archived on 2022-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
Xash3DArchive/client/global/extdll.h

41 lines
1.1 KiB
C

//=======================================================================
// Copyright XashXT Group 2008 ©
// extdll.h - must be included into all client files
//=======================================================================
#ifndef EXTDLL_H
#define EXTDLL_H
// shut-up compiler warnings
#pragma warning(disable : 4305) // int or float data truncation
#pragma warning(disable : 4201) // nameless struct/union
#pragma warning(disable : 4514) // unreferenced inline function removed
#pragma warning(disable : 4100) // unreferenced formal parameter
#include "windows.h"
#ifndef BIT
#define BIT( n ) (1<<( n ))
#endif
#define DLLEXPORT _declspec( dllexport )
// Misc C-runtime library headers
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
// shared engine/DLL constants
#include "const.h"
// Vector class
#include "vector.h"
// Shared header describing protocol between engine and DLLs
#include "entity_def.h"
#include "qfiles_ref.h"
#include "clgame_api.h"
#endif//EXTDLL_H