Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
defs.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 void (entity this, int act_state) setactive

Variables

int active
const int ACTIVE_ACTIVE = 1
const int ACTIVE_BUSY = 2
const int ACTIVE_IDLE = 2
const int ACTIVE_NOT = 0
const int ACTIVE_TOGGLE = 3
const int ALL_ENTITIES = BIT(1)
const int CRUSH = BIT(2)
const int INVERT_TEAMS = BIT(2)
const int NOSPLASH = BIT(8)
const int ON_MAPLOAD = BIT(1)
const int ONLY_PLAYERS = BIT(14)
const int SF_TRIGGER_INIT = BIT(0)
const int SF_TRIGGER_RESET = BIT(2)
const int SF_TRIGGER_UPDATE = BIT(1)
const int SPAWNFLAG_NOMESSAGE = BIT(0)
const int SPAWNFLAG_NOTOUCH = BIT(0)
const int START_DISABLED = BIT(0)
const int START_ENABLED = BIT(0)
const int STATE_BOTTOM = 1
const int STATE_DOWN = 3
const int STATE_TOP = 0
const int STATE_UP = 2

Function Documentation

◆ void()

void ( entity this,
int act_state )

References entity().

Variable Documentation

◆ active

int active

Definition at line 34 of file defs.qh.

Referenced by button_damage(), button_reset(), button_return(), button_setactive(), button_touch(), button_use(), conveyor_send(), conveyor_think(), counter_reset(), counter_use(), delay_reset(), delay_use(), door_reset(), dynlight_reset(), dynlight_setactive(), dynlight_use(), fd_secret_use(), flipflop_use(), func_rotating_init_for_player(), func_rotating_setactive(), func_vectormamamam_init_for_player(), func_vectormamamam_setactive(), generic_netlinked_reset(), generic_netlinked_setactive(), generic_setactive(), Item_Reset(), item_setactive(), laser_SendEntity(), laser_setactive(), misc_laser_think(), pointparticles_SendEntity(), relay_activators_init(), relay_activators_use(), relay_use(), relocate_spawnpoint(), secret_reset(), secret_touch(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnpoint_customize(), spawnpoint_reset(), spawnpoint_setactive(), StartItem(), swamp_think(), target_changelevel_reset(), target_changelevel_use(), target_kill_reset(), target_kill_use(), target_levelwarp_reset(), target_levelwarp_use(), target_spawn_reset(), target_spawn_use(), target_spawnpoint_reset(), target_spawnpoint_use(), target_speed_reset(), target_speed_send(), target_speed_use(), target_teleporter_checktarget(), target_voicescript_reset(), target_voicescript_use(), Teleport_Active(), trigger_disablerelay_use(), trigger_gravity_touch(), trigger_heal_init(), trigger_heal_touch(), trigger_hurt_touch(), trigger_impulse_send(), trigger_impulse_touch_accel(), trigger_impulse_touch_directional(), trigger_impulse_touch_radial(), trigger_music_SendEntity(), trigger_push_send(), trigger_push_touch(), trigger_push_velocity_send(), trigger_push_velocity_touch(), trigger_relay_if_use(), trigger_relay_teamcheck_reset(), trigger_relay_teamcheck_use(), trigger_teleport_send(), turret_damage(), turret_initialize(), turret_think(), turret_track(), turret_use(), vehicle_initialize(), vehicle_use(), and vehicles_reset().

◆ ACTIVE_ACTIVE

const int ACTIVE_ACTIVE = 1

Definition at line 37 of file defs.qh.

Referenced by button_damage(), button_reset(), button_return(), button_setactive(), button_touch(), button_use(), conveyor_think(), counter_reset(), counter_use(), Damage(), delay_reset(), delay_use(), door_reset(), door_touch(), door_trigger_touch(), door_use(), dynlight_reset(), dynlight_setactive(), dynlight_use(), fd_secret_use(), flipflop_use(), func_bobbing_controller_think(), func_fourier_controller_think(), func_pendulum_controller_think(), func_rotating_init_for_player(), func_rotating_reset(), func_rotating_setactive(), func_vectormamamam_controller_think(), func_vectormamamam_init_for_player(), func_vectormamamam_setactive(), generic_netlinked_reset(), generic_setactive(), Item_Reset(), item_setactive(), laser_setactive(), Physics_UpdateStats(), pointparticles_SendEntity(), relay_activators_init(), relay_activators_use(), relay_use(), relocate_spawnpoint(), secret_reset(), secret_touch(), Spawn_Score(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnpoint_customize(), spawnpoint_reset(), spawnpoint_setactive(), StartItem(), swamp_think(), target_changelevel_reset(), target_changelevel_use(), target_kill_reset(), target_kill_use(), target_levelwarp_reset(), target_levelwarp_use(), target_spawn_reset(), target_spawn_use(), target_spawnpoint_reset(), target_spawnpoint_use(), target_speed_reset(), target_speed_use(), target_teleporter_checktarget(), target_voicescript_next(), target_voicescript_reset(), target_voicescript_use(), Teleport_Active(), trigger_disablerelay_use(), trigger_heal_init(), trigger_heal_touch(), trigger_hurt_touch(), trigger_impulse_touch_accel(), trigger_impulse_touch_directional(), trigger_impulse_touch_radial(), trigger_music_reset(), trigger_relay_if_use(), trigger_relay_teamcheck_reset(), trigger_relay_teamcheck_use(), turret_initialize(), turret_use(), vehicle_initialize(), and vehicle_use().

◆ ACTIVE_BUSY

const int ACTIVE_BUSY = 2

Definition at line 39 of file defs.qh.

◆ ACTIVE_IDLE

const int ACTIVE_IDLE = 2

Definition at line 38 of file defs.qh.

◆ ACTIVE_NOT

◆ ACTIVE_TOGGLE

◆ ALL_ENTITIES

const int ALL_ENTITIES = BIT(1)

Definition at line 8 of file defs.qh.

Referenced by multi_touch().

◆ CRUSH

const int CRUSH = BIT(2)

Definition at line 11 of file defs.qh.

Referenced by plat_crush(), and spawnfunc().

◆ INVERT_TEAMS

const int INVERT_TEAMS = BIT(2)

◆ NOSPLASH

const int NOSPLASH = BIT(8)

Definition at line 12 of file defs.qh.

Referenced by button_damage(), door_damage(), func_breakable_damage(), and multi_eventdamage().

◆ ON_MAPLOAD

const int ON_MAPLOAD = BIT(1)

Definition at line 9 of file defs.qh.

Referenced by target_spawn_spawnfirst().

◆ ONLY_PLAYERS

const int ONLY_PLAYERS = BIT(14)

Definition at line 13 of file defs.qh.

Referenced by multi_trigger().

◆ SF_TRIGGER_INIT

◆ SF_TRIGGER_RESET

const int SF_TRIGGER_RESET = BIT(2)

◆ SF_TRIGGER_UPDATE

◆ SPAWNFLAG_NOMESSAGE

const int SPAWNFLAG_NOMESSAGE = BIT(0)

Definition at line 16 of file defs.qh.

Referenced by counter_use().

◆ SPAWNFLAG_NOTOUCH

const int SPAWNFLAG_NOTOUCH = BIT(0)

Definition at line 17 of file defs.qh.

Referenced by multi_reset(), and spawnfunc().

◆ START_DISABLED

const int START_DISABLED = BIT(0)

Definition at line 7 of file defs.qh.

Referenced by func_breakable_reset(), and trigger_music_reset().

◆ START_ENABLED

const int START_ENABLED = BIT(0)

Definition at line 6 of file defs.qh.

Referenced by generic_netlinked_reset(), multivibrator_reset(), and spawnfunc().

◆ STATE_BOTTOM

const int STATE_BOTTOM = 1

Definition at line 30 of file defs.qh.

◆ STATE_DOWN

const int STATE_DOWN = 3

Definition at line 32 of file defs.qh.

◆ STATE_TOP

const int STATE_TOP = 0

Definition at line 29 of file defs.qh.

◆ STATE_UP

const int STATE_UP = 2

Definition at line 31 of file defs.qh.