2004-09-14 10:16:52 +04:00
|
|
|
#ifndef _INCLUDE_TR_H
|
|
|
|
#define _INCLUDE_TR_H
|
|
|
|
|
2006-03-20 21:08:51 +03:00
|
|
|
#include "CString.h"
|
|
|
|
|
2004-09-15 22:40:18 +04:00
|
|
|
extern TraceResult *gfm_tr;
|
2006-03-20 21:08:51 +03:00
|
|
|
|
|
|
|
//these also don't fit in here but gaben does not care. GABEN DOES NOT CARE!!!
|
|
|
|
extern TraceResult g_tr_2;
|
|
|
|
extern KeyValueData g_kvd_2;
|
|
|
|
|
|
|
|
struct KVD_Wrapper
|
|
|
|
{
|
|
|
|
KeyValueData *kvd;
|
|
|
|
String cls;
|
|
|
|
String key;
|
|
|
|
String val;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern KVD_Wrapper g_kvd_glb;
|
|
|
|
extern KVD_Wrapper g_kvd_hook;
|
|
|
|
|
2004-09-14 10:16:52 +04:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
TR_AllSolid,
|
2006-03-20 21:08:51 +03:00
|
|
|
TR_StartSolid,
|
2004-09-14 10:16:52 +04:00
|
|
|
TR_InOpen,
|
|
|
|
TR_InWater,
|
|
|
|
TR_flFraction,
|
|
|
|
TR_vecEndPos,
|
|
|
|
TR_flPlaneDist,
|
|
|
|
TR_vecPlaneNormal,
|
|
|
|
TR_pHit,
|
|
|
|
TR_iHitgroup,
|
|
|
|
};
|
|
|
|
|
2005-03-25 12:30:45 +03:00
|
|
|
enum KeyValue
|
|
|
|
{
|
|
|
|
KV_ClassName,
|
2006-03-20 21:08:51 +03:00
|
|
|
KV_KeyName,
|
2005-03-25 12:30:45 +03:00
|
|
|
KV_Value,
|
|
|
|
KV_fHandled
|
|
|
|
};
|
|
|
|
|
2004-09-15 03:39:22 +04:00
|
|
|
extern AMX_NATIVE_INFO tr_Natives[];
|
2006-03-20 21:08:51 +03:00
|
|
|
extern AMX_NATIVE_INFO ext2_natives[];
|
2004-09-15 03:39:22 +04:00
|
|
|
|
2005-08-24 03:54:54 +04:00
|
|
|
#endif //_INCLUDE_TR_H
|
|
|
|
|