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

Go to the source code of this file.

Classes

class  CaptureTheFlag

Macros

#define g_ctf   IS_GAMETYPE(CTF)

Functions

 REGISTER_GAMETYPE (CTF, NEW(CaptureTheFlag))

Variables

const int CTF_BLUE_FLAG_CARRYING = 12
const int CTF_BLUE_FLAG_LOST = 8
const int CTF_BLUE_FLAG_TAKEN = 4
const int CTF_FLAG_NEUTRAL = 2048
const int CTF_NEUTRAL_FLAG_CARRYING = 768
const int CTF_NEUTRAL_FLAG_LOST = 512
const int CTF_NEUTRAL_FLAG_TAKEN = 256
const int CTF_PINK_FLAG_CARRYING = 192
const int CTF_PINK_FLAG_LOST = 128
const int CTF_PINK_FLAG_TAKEN = 64
const int CTF_RED_FLAG_CARRYING = 3
const int CTF_RED_FLAG_LOST = 2
const int CTF_RED_FLAG_TAKEN = 1
const int CTF_SHIELDED = 4096
const int CTF_STALEMATE = 8192
const int CTF_YELLOW_FLAG_CARRYING = 48
const int CTF_YELLOW_FLAG_LOST = 32
const int CTF_YELLOW_FLAG_TAKEN = 16

Macro Definition Documentation

◆ g_ctf

#define g_ctf   IS_GAMETYPE(CTF)

Function Documentation

◆ REGISTER_GAMETYPE()

REGISTER_GAMETYPE ( CTF ,
NEW(CaptureTheFlag)  )

References NEW, and REGISTER_GAMETYPE.

Variable Documentation

◆ CTF_BLUE_FLAG_CARRYING

const int CTF_BLUE_FLAG_CARRYING = 12

Definition at line 46 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_BLUE_FLAG_LOST

const int CTF_BLUE_FLAG_LOST = 8

Definition at line 45 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_BLUE_FLAG_TAKEN

const int CTF_BLUE_FLAG_TAKEN = 4

Definition at line 44 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_FLAG_NEUTRAL

const int CTF_FLAG_NEUTRAL = 2048

Definition at line 56 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_NEUTRAL_FLAG_CARRYING

const int CTF_NEUTRAL_FLAG_CARRYING = 768

Definition at line 55 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_NEUTRAL_FLAG_LOST

const int CTF_NEUTRAL_FLAG_LOST = 512

Definition at line 54 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_NEUTRAL_FLAG_TAKEN

const int CTF_NEUTRAL_FLAG_TAKEN = 256

Definition at line 53 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_PINK_FLAG_CARRYING

const int CTF_PINK_FLAG_CARRYING = 192

Definition at line 52 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_PINK_FLAG_LOST

const int CTF_PINK_FLAG_LOST = 128

Definition at line 51 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_PINK_FLAG_TAKEN

const int CTF_PINK_FLAG_TAKEN = 64

Definition at line 50 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_RED_FLAG_CARRYING

const int CTF_RED_FLAG_CARRYING = 3

Definition at line 43 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_RED_FLAG_LOST

const int CTF_RED_FLAG_LOST = 2

Definition at line 42 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_RED_FLAG_TAKEN

const int CTF_RED_FLAG_TAKEN = 1

Definition at line 41 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_SHIELDED

const int CTF_SHIELDED = 4096

Definition at line 57 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_STALEMATE

const int CTF_STALEMATE = 8192

Definition at line 58 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().

◆ CTF_YELLOW_FLAG_CARRYING

const int CTF_YELLOW_FLAG_CARRYING = 48

Definition at line 49 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_YELLOW_FLAG_LOST

const int CTF_YELLOW_FLAG_LOST = 32

Definition at line 48 of file ctf.qh.

Referenced by MUTATOR_HOOKFUNCTION().

◆ CTF_YELLOW_FLAG_TAKEN

const int CTF_YELLOW_FLAG_TAKEN = 16

Definition at line 47 of file ctf.qh.

Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().