|
Xonotic
|
#include "sv_lms.qh"#include <common/mutators/mutator/instagib/items.qh>#include <server/campaign.qh>#include <server/command/_mod.qh>#include <server/world.qh>#include <server/items/items.qh>
Include dependency graph for sv_lms.qc:Go to the source code of this file.
Variables | |
| int | autocvar_g_lms_extra_lives |
| bool | autocvar_g_lms_items |
| bool | autocvar_g_lms_join_anytime |
| int | autocvar_g_lms_last_join |
| bool | autocvar_g_lms_regenerate |
| bool | autocvar_g_lms_rot |
| void ClearWinners | ( | ) |
Definition at line 1422 of file world.qc.
References FOREACH_CLIENT, INGAME, and IS_PLAYER.
Referenced by CheckRules_World(), LMS_NewPlayerLives(), WinningCondition_LMS(), WinningCondition_RanOutOfSpawns(), and WinningCondition_Scores().
Here is the caller graph for this function:Definition at line 160 of file sv_lms.qc.
References GameRules_scoring_add, INGAME, INGAME_STATUS_JOINED, INGAME_STATUS_JOINING, INGAME_STATUS_SET, LMS_NewPlayerLives(), time, and warmup_stage.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 436 of file sv_lms.qc.
References StartItem().
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:| void lms_Initialize | ( | ) |
Definition at line 531 of file sv_lms.qc.
References lms_lowest_lives.
Referenced by REGISTER_MUTATOR().
Here is the caller graph for this function:| int LMS_NewPlayerLives | ( | ) |
Definition at line 17 of file sv_lms.qc.
References autocvar_g_lms_join_anytime, autocvar_g_lms_last_join, bound(), ClearWinners(), floor(), lms_lowest_lives, and max().
Referenced by lms_AddPlayer(), and WinningCondition_LMS().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 256 of file sv_lms.qc.
References CS(), FOREACH_CLIENT, FRAGS_PLAYER, FRAGS_PLAYER_OUT_OF_GAME, FRAGS_SPECTATOR, GameRules_scoring_add, if(), INGAME, IS_PLAYER, killcount, NULL, time, TRANSMUTE(), and warmup_stage.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| reset_map_global | |||
| ) |
Definition at line 120 of file sv_lms.qc.
References lms_lowest_lives.
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| reset_map_players | |||
| ) |
Definition at line 125 of file sv_lms.qc.
References CS(), FOREACH_CLIENT, FRAGS_PLAYER, FRAGS_PLAYER_OUT_OF_GAME, GameRules_scoring_add, INGAME_STATUS_CLEAR, killcount, PutClientInServer(), and TRANSMUTE().
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ReadLevelCvars | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| PutClientInServer | |||
| ) |
Definition at line 194 of file sv_lms.qc.
References CS(), entity(), GameRules_scoring_add, IS_BOT_CLIENT, jointime, lms_AddPlayer(), M_ARGV, time, TRANSMUTE(), and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| PlayerSpawn | |||
| ) |
Definition at line 204 of file sv_lms.qc.
References entity(), FOREACH_CLIENT, GameRules_scoring_add, GetResource(), INGAME_JOINING, INGAME_STATUS_JOINED, INGAME_STATUS_SET, IS_DEAD, IS_PLAYER, M_ARGV, max(), RES_HEALTH, SetResource(), start_armorvalue, start_health, time, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ForbidSpawn | |||
| ) |
Definition at line 232 of file sv_lms.qc.
References entity(), lms_AddPlayer(), M_ARGV, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| PlayerDies | |||
| ) |
Definition at line 242 of file sv_lms.qc.
References entity(), GameRules_scoring_add, M_ARGV, RESPAWN_FORCE, RESPAWN_SILENT, and time.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ClientDisconnect | |||
| ) |
Definition at line 310 of file sv_lms.qc.
References entity(), INGAME_STATUS_CLEAR, lms_RemovePlayer(), and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| MakePlayerObserver | |||
| ) |
Definition at line 321 of file sv_lms.qc.
References entity(), FRAGS_SPECTATOR, GameRules_scoring_add, INGAME_STATUS_CLEAR, IS_PLAYER, lms_RemovePlayer(), M_ARGV, time, TRANSMUTE(), and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ClientConnect | |||
| ) |
Definition at line 346 of file sv_lms.qc.
References entity(), FRAGS_SPECTATOR, and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| PlayerPreThink | |||
| ) |
Definition at line 352 of file sv_lms.qc.
References DEAD_DYING, DEAD_RESPAWNING, entity(), and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| PlayerRegen | |||
| ) |
Definition at line 360 of file sv_lms.qc.
References autocvar_g_lms_regenerate, autocvar_g_lms_rot, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ForbidThrowCurrentWeapon | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| GiveFragsForKill | |||
| ) |
Definition at line 375 of file sv_lms.qc.
References entity(), FOREACH_CLIENT, FRAGS_PLAYER, FRAGS_PLAYER_OUT_OF_GAME, GameRules_scoring_add, IS_PLAYER, lms_lowest_lives, M_ARGV, time, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| SetStartItems | |||
| ) |
Definition at line 400 of file sv_lms.qc.
References cvar(), start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_plasma, start_ammo_rockets, start_ammo_shells, start_armorvalue, start_health, start_items, warmup_start_ammo_cells, warmup_start_ammo_fuel, warmup_start_ammo_nails, warmup_start_ammo_plasma, warmup_start_ammo_rockets, warmup_start_ammo_shells, warmup_start_armorvalue, and warmup_start_health.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ForbidPlayerScore_Clear | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| FilterItemDefinition | |||
| ) |
Definition at line 422 of file sv_lms.qc.
References autocvar_g_lms_extra_lives, autocvar_g_lms_items, autocvar_g_pickup_items, entity(), and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| OnEntityPreSpawn | |||
| ) |
Definition at line 441 of file sv_lms.qc.
References autocvar_g_lms_extra_lives, autocvar_g_powerups, entity(), lms_extralife(), M_ARGV, MUTATOR_RETURNVALUE, setorigin(), setthink, spawn(), and time.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ItemTouch | |||
| ) |
Definition at line 463 of file sv_lms.qc.
References autocvar_g_lms_extra_lives, entity(), GameRules_scoring_add, M_ARGV, MUT_ITEMTOUCH_CONTINUE, MUT_ITEMTOUCH_PICKUP, and MUTATOR_RETURNVALUE.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| Bot_FixCount | , | ||
| CBC_ORDER_EXCLUSIVE | |||
| ) |
Definition at line 480 of file sv_lms.qc.
References FOREACH_CLIENT, INGAME, IS_REAL_CLIENT, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| ClientCommand_Spectate | |||
| ) |
Definition at line 491 of file sv_lms.qc.
References entity(), FRAGS_PLAYER_OUT_OF_GAME, FRAGS_SPECTATOR, M_ARGV, MUT_SPECCMD_CONTINUE, MUT_SPECCMD_RETURN, sprint(), time, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| CheckRules_World | |||
| ) |
Definition at line 512 of file sv_lms.qc.
References M_ARGV, and WinningCondition_LMS().
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | lms | , |
| SetWeaponArena | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | lms | , |
| AddPlayerScore | |||
| ) |
| int WinningCondition_LMS | ( | ) |
Definition at line 39 of file sv_lms.qc.
References autocvar_g_campaign, campaign_bots_may_start, ClearWinners(), entity(), FOREACH_CLIENT, FRAGS_PLAYER, GameRules_scoring_add, IS_PLAYER, IS_REAL_CLIENT, LMS_NewPlayerLives(), LOG_TRACE, NULL, SetWinners(), time, warmup_stage, winning, WINNING_NEVER, WINNING_NO, WINNING_YES, WinningConditionHelper(), WinningConditionHelper_secondscore, WinningConditionHelper_topscore, and WinningConditionHelper_winner.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:| int autocvar_g_lms_extra_lives |
Definition at line 9 of file sv_lms.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_lms_items |
Definition at line 12 of file sv_lms.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_lms_join_anytime |
Definition at line 10 of file sv_lms.qc.
Referenced by LMS_NewPlayerLives().
| int autocvar_g_lms_last_join |
Definition at line 11 of file sv_lms.qc.
Referenced by LMS_NewPlayerLives().
| bool autocvar_g_lms_regenerate |
Definition at line 13 of file sv_lms.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_lms_rot |
Definition at line 14 of file sv_lms.qc.
Referenced by MUTATOR_HOOKFUNCTION().