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

Go to the source code of this file.

Functions

 spawnfunc (turret_phaser)
bool turret_phaser_firecheck (entity this)

Variables

int fireflag

Function Documentation

◆ spawnfunc()

spawnfunc ( turret_phaser )

Definition at line 5 of file phaser.qc.

5{ if (!turret_initialize(this, TUR_PHASER)) delete(this); }
bool turret_initialize(entity this, Turret tur)

References turret_initialize().

◆ turret_phaser_firecheck()

bool turret_phaser_firecheck ( entity this)

Definition at line 39 of file phaser.qc.

40{
41 if (this.fireflag != 0) return false;
42 return turret_firecheck(this);
43}
int fireflag
Definition phaser.qc:7
bool turret_firecheck(entity this)
Preforms pre-fire checks based on the uints firecheck_flags.

References entity(), fireflag, and turret_firecheck().

Variable Documentation

◆ fireflag

int fireflag

Definition at line 7 of file phaser.qc.

Referenced by turret_phaser_firecheck().