Improve documentation in engine_const.inc (#665)

This commit is contained in:
voed 2019-02-11 13:15:45 +02:00 committed by Arkshine
parent 2bc04236db
commit b3980d2e5d

View File

@ -215,7 +215,12 @@ enum {
#endinput #endinput
#endif #endif
#define _jghg_enums #define _jghg_enums
/**
* Used by get_global_[edict/float/int/string/vector]()
*/
enum { enum {
// Edict // Edict
GL_trace_ent = 0, GL_trace_ent = 0,
@ -260,6 +265,10 @@ enum {
GL_pSaveData GL_pSaveData
}; };
/**
* Used by [get/set]_usercmd()
*/
enum enum
{ {
usercmd_float_start, usercmd_float_start,
@ -282,7 +291,9 @@ enum
usercmd_vec_end usercmd_vec_end
}; };
// Used by the traceresult() native. /**
* Used by the traceresult()
*/
enum enum
{ {
TR_AllSolid, // (int) if true, plane is not valid TR_AllSolid, // (int) if true, plane is not valid