|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "sv_cts.qh"#include <server/client.qh>#include <server/race.qh>#include <server/world.qh>#include <server/gamelog.qh>#include <server/intermission.qh>#include <server/items/spawning.qh>#include <server/weapons/common.qh>#include <common/mapobjects/triggers.qh>Go to the source code of this file.
Variables | |
| bool | autocvar_g_cts_drop_monster_items |
| float | autocvar_g_cts_finish_kill_delay |
| bool | autocvar_g_cts_removeprojectiles |
| bool | autocvar_g_cts_selfdamage |
| float | race_checkpoint |
Definition at line 69 of file sv_cts.qc.
References autocvar_sv_eventlog, entity(), ftos(), GameLogEcho(), NULL, and strcat().
Referenced by MUTATOR_HOOKFUNCTION().
| void cts_Initialize | ( | ) |
Definition at line 375 of file sv_cts.qc.
References CTS_RECORD, cts_ScoreRules(), and record_type.
Referenced by REGISTER_MUTATOR().
| void cts_ScoreRules | ( | ) |
Definition at line 55 of file sv_cts.qc.
References g_race_qualifying, GameRules_score_enabled, GameRules_scoring, SFL_LOWER_IS_BETTER, SFL_SORT_PRIO_PRIMARY, SFL_SORT_PRIO_SECONDARY, and SFL_TIME.
Referenced by cts_Initialize(), and MUTATOR_HOOKFUNCTION().
Definition at line 19 of file sv_cts.qc.
References entity(), g_racecheckpoints, IL_EACH, IS_DEAD, LABEL, navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_set(), navigation_routerating(), origin, race_checkpoint, race_NextCheckpoint(), and vdist.
Referenced by MUTATOR_HOOKFUNCTION().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| AbortSpeedrun | ) |
Definition at line 186 of file sv_cts.qc.
References autocvar_g_allow_checkpoints, entity(), M_ARGV, and race_PreparePlayer().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| ClientConnect | ) |
Definition at line 176 of file sv_cts.qc.
References ClientConnect, entity(), M_ARGV, race_PreparePlayer(), and race_SendAll().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| ClientKill | ) |
Definition at line 342 of file sv_cts.qc.
References ClientKill, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| Damage_Calculate | ) |
Definition at line 300 of file sv_cts.qc.
References autocvar_g_cts_selfdamage, entity(), frag_damage, frag_target, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| FilterItem | ) |
Definition at line 282 of file sv_cts.qc.
References autocvar_g_cts_drop_monster_items, entity(), ITEM_IS_LOOT, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| FixClientCvars | ) |
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| ForbidDropCurrentWeapon | ) |
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| ForbidPlayerScore_Clear | ) |
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| ForbidThrowCurrentWeapon | ) |
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| GetPressedKeys | ) |
Definition at line 268 of file sv_cts.qc.
References entity(), GetPressedKeys(), M_ARGV, race_checkAndWriteName(), and race_SpeedAwardFrame().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| GetRecords | ) |
Definition at line 320 of file sv_cts.qc.
References M_ARGV, MapInfo_count, MapInfo_Get_ByID(), MapInfo_Map_bspname, race_readName(), race_readTime(), strcat(), and TIME_ENCODED_TOSTRING.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| HavocBot_ChooseRole | ) |
Definition at line 260 of file sv_cts.qc.
References entity(), havocbot_role_cts(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| MakePlayerObserver | ) |
Definition at line 194 of file sv_cts.qc.
References entity(), FRAGS_PLAYER_OUT_OF_GAME, FRAGS_SPECTATOR, GameRules_scoring_add, M_ARGV, and race_PreparePlayer().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| MonsterDropItem | ) |
Definition at line 294 of file sv_cts.qc.
References autocvar_g_cts_drop_monster_items, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| PlayerDamaged | ) |
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| PlayerDies | ) |
Definition at line 244 of file sv_cts.qc.
References autocvar_g_cts_removeprojectiles, entity(), FL_PROJECTILE, frag_target, g_projectiles, IL_EACH, M_ARGV, race_AbandonRaceCheck(), and RESPAWN_FORCE.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| PlayerPhysics | ) |
Definition at line 75 of file sv_cts.qc.
References CS(), entity(), fabs(), floor(), IS_PLAYER, M_ARGV, M_SQRT1_2, movement, MOVETYPE_NONE, set_movetype(), time, vector, and vlen().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| PlayerSpawn | ) |
Definition at line 207 of file sv_cts.qc.
References entity(), M_ARGV, and race_PreparePlayer().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| PutClientInServer | ) |
Definition at line 223 of file sv_cts.qc.
References CS(), entity(), FRAGS_SPECTATOR, g_race_qualifying, game_stopped, IS_PLAYER, killcount, M_ARGV, PutClientInServer, race_AbandonRaceCheck(), race_PreparePlayer(), and race_RetractPlayer().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| Race_FinalCheckpoint | ) |
Definition at line 347 of file sv_cts.qc.
References autocvar_g_cts_finish_kill_delay, ClientKill_Silent(), entity(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| reset_map_global | ) |
Definition at line 146 of file sv_cts.qc.
References cts_EventLog(), cts_ScoreRules(), cvar_set(), FOREACH_CLIENT, ftos(), g_race_qualifying, GameRules_scoring_add, independent_players, NULL, PlayerScore_Sort(), race_ClearRecords(), race_fraglimit, race_leadlimit, race_place, race_timelimit, and Score_NicePrint().
| MUTATOR_HOOKFUNCTION | ( | cts | , |
| WantWeapon | ) |
| bool autocvar_g_cts_drop_monster_items |
Definition at line 15 of file sv_cts.qc.
Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| float autocvar_g_cts_finish_kill_delay |
Definition at line 12 of file sv_cts.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_cts_removeprojectiles |
Definition at line 14 of file sv_cts.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_cts_selfdamage |
Definition at line 13 of file sv_cts.qc.
Referenced by MUTATOR_HOOKFUNCTION().