2004-09-14 06:16:52 +00:00
|
|
|
#ifndef _INCLUDE_TR_H
|
|
|
|
#define _INCLUDE_TR_H
|
|
|
|
|
2006-03-20 18:08:51 +00:00
|
|
|
#include "CString.h"
|
|
|
|
|
2004-09-15 18:40:18 +00:00
|
|
|
extern TraceResult *gfm_tr;
|
2006-03-20 18:08:51 +00: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 06:16:52 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
TR_AllSolid,
|
2006-03-20 18:08:51 +00:00
|
|
|
TR_StartSolid,
|
2004-09-14 06:16:52 +00:00
|
|
|
TR_InOpen,
|
|
|
|
TR_InWater,
|
|
|
|
TR_flFraction,
|
|
|
|
TR_vecEndPos,
|
|
|
|
TR_flPlaneDist,
|
|
|
|
TR_vecPlaneNormal,
|
|
|
|
TR_pHit,
|
|
|
|
TR_iHitgroup,
|
|
|
|
};
|
|
|
|
|
2005-03-25 09:30:45 +00:00
|
|
|
enum KeyValue
|
|
|
|
{
|
|
|
|
KV_ClassName,
|
2006-03-20 18:08:51 +00:00
|
|
|
KV_KeyName,
|
2005-03-25 09:30:45 +00:00
|
|
|
KV_Value,
|
|
|
|
KV_fHandled
|
|
|
|
};
|
|
|
|
|
2004-09-14 23:39:22 +00:00
|
|
|
extern AMX_NATIVE_INFO tr_Natives[];
|
2006-03-20 18:08:51 +00:00
|
|
|
extern AMX_NATIVE_INFO ext2_natives[];
|
2004-09-14 23:39:22 +00:00
|
|
|
|
2005-08-23 23:54:54 +00:00
|
|
|
#endif //_INCLUDE_TR_H
|
|
|
|
|