Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
events.qh
Go to the documentation of this file.
1#pragma once
2
4#define params(i, o) \
5 i(string, 0) /* mutator string */ \
6 o(string, 0) \
7 /**/
8MUTATOR_HOOKABLE(BuildMutatorsString, params);
9#undef params
10
12#define params(i, o) \
13 i(string, 0) /* mutator string */ \
14 o(string, 0) \
15 /**/
16MUTATOR_HOOKABLE(BuildMutatorsPrettyString, params);
17#undef params
18
20#define params(i, o) \
21 i(string, 0) /* tips string */ \
22 o(string, 0) \
23 /**/
24MUTATOR_HOOKABLE(BuildGameplayTipsString, params);
25#undef params
26
27#define params(i, o) \
28 i(entity, 0) \
29 /**/
31#undef params
32
33#define params(i, o) \
34 i(entity, 0) \
35 i(string, 1) \
36 o(vector, 2) \
37 o(string, 3) \
38 o(string, 4) \
39 /**/
41#undef params
42
47#define params(i, o) \
48 i(entity, 0) /* player */ \
49 i(float, 1) /* ticrate */ \
50 /**/
51MUTATOR_HOOKABLE(PlayerPhysics, params);
52#undef params
53
55#define params(i, o) \
56 i(entity, 0) /* player */ \
57 i(float, 1) /* jump height */ \
58 o(float, 1) \
59 i(bool, 2) /* multijump */ \
60 o(bool, 2) \
61 /**/
63#undef params
64
66#define params(i, o) \
67 i(entity, 0) /* player */ \
68 i(float, 1) /* maxspeed_mod */ \
69 i(float, 2) /* tick rate */ \
70 /**/
72#undef params
73
75#define params(i, o) \
76 i(string, 0) /* sound */ \
77 i(string, 1) /* output */ \
78 o(string, 1) \
79 /**/
81#undef params
82
84#define params(i, o) \
85 i(string, 0) /* model */ \
86 i(string, 1) /* output */ \
87 o(string, 1) \
88 /**/
90#undef params
91
93#define params(i, o) \
94 i(entity, 0) /* player */ \
95 i(bool, 1) /* do_crouch */ \
96 o(bool, 1) \
97 /**/
98MUTATOR_HOOKABLE(PlayerCanCrouch, params);
99#undef params
#define MUTATOR_HOOKABLE(name, params)
Definition base.qh:168
#define params(i, o)
Called when a client command is parsed NOTE: hooks MUST start with if (MUTATOR_RETURNVALUE) return fa...
Definition events.qh:36
bool PlayerJump(entity this)
Definition player.qc:386
bool IsFlying(entity this)
Definition player.qc:843