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/common/basetypes.h

39 lines
1.0 KiB
C
Raw Normal View History

2009-01-11 22:00:00 +01:00
//=======================================================================
// Copyright XashXT Group 2006 <20>
// basetypes.h - general typedefs
//=======================================================================
#ifndef BASETYPES_H
#define BASETYPES_H
typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned long dword;
typedef unsigned __int64 qword;
typedef unsigned int uint;
typedef signed __int64 int64;
typedef int func_t;
typedef int sound_t;
typedef int model_t;
typedef int string_t;
typedef int shader_t;
2009-01-22 22:00:00 +01:00
typedef struct cvar_s cvar_t;
2009-01-11 22:00:00 +01:00
typedef struct edict_s edict_t;
2009-09-22 22:00:00 +02:00
typedef struct pmove_s pmove_t;
2009-01-22 22:00:00 +01:00
typedef struct movevars_s movevars_t;
2009-09-22 22:00:00 +02:00
typedef struct usercmd_s usercmd_t;
2009-01-11 22:00:00 +01:00
typedef struct cl_priv_s cl_priv_t;
typedef struct sv_priv_s sv_priv_t;
2009-01-18 22:00:00 +01:00
typedef float vec_t;
2009-01-11 22:00:00 +01:00
2009-02-01 22:00:00 +01:00
#define _INTEGRAL_MAX_BITS 64
2009-01-11 22:00:00 +01:00
#define DLLEXPORT __declspec( dllexport )
#ifndef NULL
#define NULL ((void *)0)
#endif
#ifndef BIT
#define BIT( n ) (1<<( n ))
#endif
#endif//BASETYPES_H