X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fcsqcmodel_hooks.qh;h=14b171b6c2a53bbc318c88963e48b9b97d5e0563;hp=56a3fb4a549097a12295e15ce5c409b7b7e12cfe;hb=7069dc3f41678554d089db582ccf16da1f8874a5;hpb=109c5785a22fb4336ac5e91d5f1fa91678582164 diff --git a/qcsrc/client/csqcmodel_hooks.qh b/qcsrc/client/csqcmodel_hooks.qh index 56a3fb4a54..14b171b6c2 100644 --- a/qcsrc/client/csqcmodel_hooks.qh +++ b/qcsrc/client/csqcmodel_hooks.qh @@ -23,4 +23,10 @@ const int MF_TRACER3 = BIT(7); // purple trail .int csqcmodel_modelflags; .int csqcmodel_traileffect; +.bool csqcmodel_isdead; // used by shownames and miscfunctions (entcs_IsDead) to know when a player is dead + +.int isplayermodel; + void CSQCModel_Effects_Apply(entity this); + +void CSQCModel_Hook_PreDraw(entity this, bool isplayer);