Xonotic
input.qc
Go to the documentation of this file.
1
#include "
input.qh
"
2
3
void
sys_in_update
(
entity
this
,
float
dt)
4
{
5
this.
com_in_jump
=
PHYS_INPUT_BUTTON_JUMP
(
this
);
6
this.
com_in_crouch
=
PHYS_INPUT_BUTTON_CROUCH
(
this
);
7
}
PHYS_INPUT_BUTTON_JUMP
#define PHYS_INPUT_BUTTON_JUMP(s)
Definition:
player.qh:147
PHYS_INPUT_BUTTON_CROUCH
#define PHYS_INPUT_BUTTON_CROUCH(s)
Definition:
player.qh:150
input.qh
entity
entity() spawn
com_in_jump
bool com_in_jump
Definition:
input.qh:6
com_in_crouch
bool com_in_crouch
Definition:
input.qh:7
sys_in_update
void sys_in_update(entity this, float dt)
Definition:
input.qc:3
ecs
systems
input.qc
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13