|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/mapinfo.qh>Go to the source code of this file.
Classes | |
| class | CaptureTheFlag |
Macros | |
| #define | g_ctf IS_GAMETYPE(CTF) |
Functions | |
| void | HUD_Mod_CTF (vector pos, vector mySize) |
| void | HUD_Mod_CTF_Reset () |
| 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 |
| #define g_ctf IS_GAMETYPE(CTF) |
Definition at line 39 of file ctf.qh.
Referenced by DoesQ3ARemoveThisEntity(), MUTATOR_HOOKFUNCTION(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
Definition at line 21 of file cl_ctf.qc.
References autocvar__hud_configure, autocvar__teams_available, BIT, CTF_BLUE_FLAG_TAKEN, CTF_FLAG_NEUTRAL, CTF_NEUTRAL_FLAG_TAKEN, ctf_oneflag, CTF_PINK_FLAG_TAKEN, CTF_RED_FLAG_TAKEN, CTF_SHIELDED, CTF_STALEMATE, ctf_stalemate, CTF_YELLOW_FLAG_TAKEN, eX, eY, mod_active, myteam, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, STAT, string_null, vector, and X.
Referenced by HUD_ModIcons(), and CaptureTheFlag::void().
| void HUD_Mod_CTF_Reset | ( | ) |
Definition at line 13 of file cl_ctf.qc.
References blueflag_prevframe, blueflag_prevstatus, blueflag_statuschange_time, neutralflag_prevframe, neutralflag_prevstatus, neutralflag_statuschange_time, pinkflag_prevframe, pinkflag_prevstatus, pinkflag_statuschange_time, redflag_prevframe, redflag_prevstatus, redflag_statuschange_time, yellowflag_prevframe, yellowflag_prevstatus, and yellowflag_statuschange_time.
Referenced by CaptureTheFlag::void().
| REGISTER_GAMETYPE | ( | CTF | , |
| NEW(CaptureTheFlag) | ) |
References NEW, and REGISTER_GAMETYPE.
| const int CTF_BLUE_FLAG_CARRYING = 12 |
Definition at line 47 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_BLUE_FLAG_LOST = 8 |
Definition at line 46 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_BLUE_FLAG_TAKEN = 4 |
Definition at line 45 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_FLAG_NEUTRAL = 2048 |
Definition at line 57 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_NEUTRAL_FLAG_CARRYING = 768 |
Definition at line 56 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_NEUTRAL_FLAG_LOST = 512 |
Definition at line 55 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_NEUTRAL_FLAG_TAKEN = 256 |
Definition at line 54 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_PINK_FLAG_CARRYING = 192 |
Definition at line 53 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_PINK_FLAG_LOST = 128 |
Definition at line 52 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_PINK_FLAG_TAKEN = 64 |
Definition at line 51 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_RED_FLAG_CARRYING = 3 |
Definition at line 44 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_RED_FLAG_LOST = 2 |
Definition at line 43 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_RED_FLAG_TAKEN = 1 |
Definition at line 42 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_SHIELDED = 4096 |
Definition at line 58 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_STALEMATE = 8192 |
Definition at line 59 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().
| const int CTF_YELLOW_FLAG_CARRYING = 48 |
Definition at line 50 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_YELLOW_FLAG_LOST = 32 |
Definition at line 49 of file ctf.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| const int CTF_YELLOW_FLAG_TAKEN = 16 |
Definition at line 48 of file ctf.qh.
Referenced by HUD_Mod_CTF(), and MUTATOR_HOOKFUNCTION().