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.

6{
7 if (!turret_initialize(this, TUR_PHASER))
8 delete(this);
9}
bool turret_initialize(entity this, Turret tur)

References turret_initialize().

◆ turret_phaser_firecheck()

bool turret_phaser_firecheck ( entity this)

Definition at line 43 of file phaser.qc.

44{
45 if (this.fireflag != 0)
46 return false;
47 return turret_firecheck(this);
48}
int fireflag
Definition phaser.qc:11
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 11 of file phaser.qc.

Referenced by turret_phaser_firecheck().