X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fmutators%2Fevents.qh;h=7ddcb204aa3144cf6d46e10db0d67cffc4088728;hp=e9778b795ce2e077cb7cef10023712b616743f74;hb=e860f4fc6e3c8cb1ef89eb47fa205c6ff4018c47;hpb=772fb683d951a622cc8520827096ec34fdea4763 diff --git a/qcsrc/client/mutators/events.qh b/qcsrc/client/mutators/events.qh index e9778b795c..7ddcb204aa 100644 --- a/qcsrc/client/mutators/events.qh +++ b/qcsrc/client/mutators/events.qh @@ -118,6 +118,9 @@ MUTATOR_HOOKABLE(HUD_Draw_overlay, EV_HUD_Draw_overlay); MUTATOR_HOOKABLE(HUD_Powerups_add, EV_NO_ARGS); +/** return true to show the physics HUD panel when optional mode is enabled */ +MUTATOR_HOOKABLE(HUD_Physics_showoptional, EV_NO_ARGS); + /** Return true to not draw any vortex beam */ #define EV_Particles_VortexBeam(i, o) \ /** beam shot origin */ i(vector, MUTATOR_ARGV_0_vector) \ @@ -163,19 +166,16 @@ MUTATOR_HOOKABLE(DrawCrosshair, EV_NO_ARGS); /** Return true to not draw scoreboard */ MUTATOR_HOOKABLE(DrawScoreboard, EV_NO_ARGS); -/** Called when drawing info messages, allows adding new info messages */ +/** Called when drawing info messages, allows adding new info messages. Return true to hide the standard join message */ #define EV_DrawInfoMessages(i, o) \ /** pos */ i(vector, MUTATOR_ARGV_0_vector) \ + /***/ o(vector, MUTATOR_ARGV_0_vector) \ /** mySize */ i(vector, MUTATOR_ARGV_1_vector) \ + /** img_curr_group */ i(int, MUTATOR_ARGV_2_int) \ + /***/ o(int, MUTATOR_ARGV_2_int) \ /**/ MUTATOR_HOOKABLE(DrawInfoMessages, EV_DrawInfoMessages); -/** Called when drawing info messages, allows adding new info messages */ -#define EV_HUD_WriteCvars(i, o) \ - /** file */ i(float, MUTATOR_ARGV_0_float) \ - /**/ -MUTATOR_HOOKABLE(HUD_WriteCvars, EV_HUD_WriteCvars); - /** Called when the view model is being animated (setorigin is called after the hook, so you only need to modify origin here if desired) */ #define EV_DrawViewModel(i, o) \ /** entity id */ i(entity, MUTATOR_ARGV_0_entity) \