|
Xonotic
|
#include "client.qh"#include <common/csqcmodel_settings.qh>#include <common/deathtypes/all.qh>#include <common/effects/all.qh>#include <common/effects/qc/globalsound.qh>#include <common/ent_cs.qh>#include <common/gamemodes/_mod.qh>#include <common/gamemodes/gamemode/nexball/sv_nexball.qh>#include <common/items/_mod.qh>#include <common/items/inventory.qh>#include <common/mapobjects/func/conveyor.qh>#include <common/mapobjects/func/ladder.qh>#include <common/mapobjects/subs.qh>#include <common/mapobjects/target/spawnpoint.qh>#include <common/mapobjects/teleporters.qh>#include <common/mapobjects/trigger/counter.qh>#include <common/mapobjects/trigger/secret.qh>#include <common/mapobjects/trigger/swamp.qh>#include <common/mapobjects/triggers.qh>#include <common/minigames/sv_minigames.qh>#include <common/monsters/sv_monsters.qh>#include <common/mutators/mutator/instagib/sv_instagib.qh>#include <common/mutators/mutator/nades/nades.qh>#include <common/mutators/mutator/overkill/oknex.qh>#include <common/mutators/mutator/status_effects/_mod.qh>#include <common/mutators/mutator/waypoints/all.qh>#include <common/net_linked.qh>#include <common/net_notice.qh>#include <common/notifications/all.qh>#include <common/physics/player.qh>#include <common/playerstats.qh>#include <common/resources/sv_resources.qh>#include <common/state.qh>#include <common/stats.qh>#include <common/vehicles/all.qh>#include <common/vehicles/sv_vehicles.qh>#include <common/viewloc.qh>#include <common/weapons/_all.qh>#include <common/weapons/weapon/vortex.qh>#include <common/wepent.qh>#include <lib/csqcmodel/sv_model.qh>#include <lib/warpzone/common.qh>#include <lib/warpzone/server.qh>#include <server/anticheat.qh>#include <server/antilag.qh>#include <server/bot/api.qh>#include <server/bot/default/cvars.qh>#include <server/campaign.qh>#include <server/chat.qh>#include <server/cheats.qh>#include <server/clientkill.qh>#include <server/command/common.qh>#include <server/command/vote.qh>#include <server/compat/quake3.qh>#include <server/damage.qh>#include <server/gamelog.qh>#include <server/handicap.qh>#include <server/hook.qh>#include <server/impulse.qh>#include <server/intermission.qh>#include <server/ipban.qh>#include <server/main.qh>#include <server/mutators/_mod.qh>#include <server/player.qh>#include <server/portals.qh>#include <server/race.qh>#include <server/scores.qh>#include <server/scores_rules.qh>#include <server/spawnpoints.qh>#include <server/teamplay.qh>#include <server/weapons/accuracy.qh>#include <server/weapons/common.qh>#include <server/weapons/hitplot.qh>#include <server/weapons/selection.qh>#include <server/weapons/tracing.qh>#include <server/weapons/weaponsystem.qh>#include <server/world.qh>
Include dependency graph for client.qc:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Definition at line 1550 of file client.qc.
References min().
Referenced by RotRegen().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1560 of file client.qc.
References max().
Referenced by RotRegen().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1315 of file client.qc.
References autocvar_g_forced_respawn, ceil(), FOREACH_CLIENT, GAMETYPE_DEFAULTED_SETTING, IS_INDEPENDENT_PLAYER, IS_PLAYER, MUTATOR_CALLHOOK, respawn_countdown, respawn_flags, RESPAWN_FORCE, respawn_time, respawn_time_max, teamplay, and time.
Referenced by PlayerDamage().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1267 of file client.qc.
References CS(), IS_DEAD, IS_PLAYER, model, nextthink, NULL, owner, PHYS_INPUT_BUTTON_CHAT, PHYS_INPUT_BUTTON_MINIGAME, and time.
Referenced by UpdateChatBubble().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 194 of file client.qc.
References autocvar_sv_servermodelsonly, cvar_defstring(), FallbackPlayerModel, fexists(), strzone(), and substring().
Referenced by FixPlayermodel().
Here is the call graph for this function:
Here is the caller graph for this function:ClientConnect
Definition at line 1096 of file client.qc.
References assert, autocvar_bot_vs_human, autocvar_g_campaign, autocvar_g_maxplayers_spectator_blocktime, autocvar_sv_eventlog, autocvar_sv_foginterval, autocvar_sv_teamnagger, autocvar_sv_timeout_number, AvailableTeams(), Ban_MaybeEnforceBanOnce(), blockSpectators, bot_clientconnect(), bot_relinkplayerlist(), clientstuff, CS(), entity(), etof(), FixClientCvars(), FL_CLIENT, flags, ftos(), g_initforplayer, g_weaponarena_weapons, GameLog_ProcessIP(), GameLogEcho(), getwelcomemessage(), Handicap_Initialize(), IL_EACH, IS_BOT_CLIENT, IS_CLIENT, IS_PLAYER, IS_REAL_CLIENT, move_qcphysics, MUTATOR_CALLHOOK, netaddress, netname, NULL, player_count, Player_DetermineForcedTeam(), playerid, random(), send_CSQC_teamnagger(), strcat(), stuffcmd, team, TeamBalance_CheckAllowedTeams(), TeamBalance_Destroy(), TeamBalance_GetAllowedTeams(), teamplay, time, TRANSMUTE(), WEPSET, and world.
Referenced by bot_spawn(), and Item_ItemsTime_Allow().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 158 of file client.qc.
References clientdata, ClientData_Send(), CS(), and new_pure.
Referenced by ClientState_attach(), and PlayerState_detach().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 165 of file client.qc.
Referenced by ClientState_attach(), and ClientState_detach().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 129 of file client.qc.
References assert, autocvar_sv_showspectators, BIT, CountSpectators(), CS(), entity(), IS_SPEC, owner, race_completed, spectatee_status, to, WriteByte(), WriteSpectators(), and zoomstate.
Referenced by ClientData_Attach().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 171 of file client.qc.
References CS(), entity(), FOREACH_CLIENT, IS_REAL_CLIENT, and IS_SPEC.
Referenced by race_AbandonRaceCheck(), race_SendTime(), SetSpectatee(), SetSpectatee_status(), SetZoomState(), and SpectateSet().
Here is the call graph for this function:
Here is the caller graph for this function:| ClientDisconnect | ( | this | ) |
Definition at line 1210 of file client.qc.
References active_minigame, assert, autocvar_sv_eventlog, bot_relinkplayerlist(), chatbubbleentity, ClientDisconnect(), ClientState_detach(), clientstatus, CS(), CS_CVAR, FL_CLIENT, flags, ftos(), GameLogEcho(), IL_EACH, IS_CLIENT, IS_PLAYER, IS_REAL_CLIENT, IS_SPEC, killindicator, MUTATOR_CALLHOOK, netname, NULL, ONREMOVE(), origin, part_minigame(), personal, player_powerups_remove_all(), playerid, Portal_ClearAll(), ReadyCount(), RemoveGrapplingHooks(), SetSpectatee(), strcat(), strfree, Unfreeze(), vehicle, vehicles_exit(), vote_called, VoteCount(), and weaponorder_byimpulse.
Here is the call graph for this function:Definition at line 879 of file client.qc.
References autocvar_g_balance_armor_blockpercent, autocvar_g_balance_damagepush_speedfactor, cnt, count, nextthink, and time.
Referenced by ClientInit_Spawn().
Here is the caller graph for this function:Definition at line 855 of file client.qc.
References autocvar_g_trueaim_minrange, autocvar_sv_foginterval, cnt, compressShotOrigin(), count, g_nexball_meter_period, hook_shotorigin, MSG_ONE, serverflags, world, WriteByte(), WriteCoord(), and WriteString().
Referenced by ClientInit_SendEntity(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 843 of file client.qc.
References ClientInit_misc(), msg_entity, MSG_ONE, MUTATOR_CALLHOOK, Registry_send_all(), and to.
Referenced by ClientInit_Spawn().
Here is the call graph for this function:
Here is the caller graph for this function:| void ClientInit_Spawn | ( | ) |
Definition at line 894 of file client.qc.
References ClientInit_CheckUpdate(), ClientInit_SendEntity(), entity(), new_pure, and setthink.
Referenced by spawnfunc(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 101 of file client.qc.
References FOREACH_CLIENT, IS_REAL_CLIENT, and IS_SPEC.
Referenced by ClientData_Send().
Here is the caller graph for this function:Definition at line 934 of file client.qc.
References autocvar_sv_maxidle, CS(), max(), MUTATOR_CALLHOOK, parm1, and time.
Referenced by ClientState_attach(), and PlayerState_detach().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2597 of file client.qc.
References autocvar_g_balance_contents_damagerate, autocvar_g_balance_contents_drowndelay, autocvar_g_balance_contents_playerdamage_drowning, CH_PLAYER, CONTENT_WATER, Damage(), DMG_NOWEP, IS_DEAD, NULL, pain_finished, time, vehicle, VOICETYPE_PLAYERSOUND, VOL_BASE, waterlevel, WATERLEVEL_SUBMERGED, and watertype.
Referenced by PlayerPostThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 963 of file client.qc.
References FOREACH_WORD, strlen(), and substring().
Referenced by PlayerInIDList(), and PlayerInIPList().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 947 of file client.qc.
References autocvar_g_antilag, FixClientCvars(), MUTATOR_CALLHOOK, and stuffcmd.
Referenced by ClientConnect(), FixClientCvars(), and MapVote_Finished().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 423 of file client.qc.
References argv(), autocvar_sv_defaultcharacter, autocvar_sv_defaultcharacterskin, autocvar_sv_defaultplayercolors, autocvar_sv_defaultplayermodel, autocvar_sv_defaultplayermodel_blue, autocvar_sv_defaultplayermodel_pink, autocvar_sv_defaultplayermodel_red, autocvar_sv_defaultplayermodel_yellow, autocvar_sv_defaultplayerskin, autocvar_sv_defaultplayerskin_blue, autocvar_sv_defaultplayerskin_pink, autocvar_sv_defaultplayerskin_red, autocvar_sv_defaultplayerskin_yellow, CheckPlayerModel(), CS(), FixPlayermodel(), floor(), M_ARGV, model_randomizer, MUTATOR_CALLHOOK, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, oldskin, player_getspecies(), setcolor, setplayermodel(), stof(), strcat(), strlen(), strstrofs, substring(), teamplay, tokenize_console, UpdatePlayerSounds(), and vector().
Referenced by FixPlayermodel(), PlayerThink(), PutObserverInServer(), PutPlayerInServer(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1021 of file client.qc.
References autocvar_g_xonoticversion, autocvar_gameversion, CS(), and strcat().
Referenced by getwelcomemessage().
Here is the call graph for this function:
Here is the caller graph for this function:| int GetPlayerLimit | ( | ) |
Definition at line 1990 of file client.qc.
References autocvar_g_maxplayers, g_duel, GetPlayerLimit(), M_ARGV, and MUTATOR_CALLHOOK.
Referenced by bot_fixcount(), GetPlayerLimit(), MapHasRightSize(), nJoinAllowed(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1681 of file client.qc.
References BITSET, CS(), IS_DUCKED, movement, MUTATOR_CALLHOOK, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, and PHYS_INPUT_BUTTON_JUMP.
Referenced by MUTATOR_HOOKFUNCTION(), and PlayerPostThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1036 of file client.qc.
References autocvar_g_jetpack, autocvar_g_mutatormsg, autocvar_hostname, autocvar_sv_motd, cache_lastmutatormsg, cache_mutatormsg, cvar(), cvar_defstring(), ftos(), g_cts, g_weapon_stay, g_weaponarena, g_weaponarena_list, g_weaponarena_random, gamemode_name, GetClientVersionMessage(), M_ARGV, MUTATOR_CALLHOOK, stof(), strcat(), strcpy, strlen(), and substring().
Referenced by ClientConnect(), and PrintWelcomeMessage().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1966 of file client.qc.
References autocvar_g_balance_teams, autocvar_g_campaign, campaign_bots_may_start, IS_PLAYER, netname, NULL, PutClientInServer(), team, team_selected, TeamBalance_JoinBestTeam(), teamplay, and TRANSMUTE().
Referenced by ClientCommand_join(), ObserverOrSpectatorThink(), and PlayerPreThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2108 of file client.qc.
References CS(), jointime, lockteams, MIN_SPEC_TIME, MUTATOR_CALLHOOK, nJoinAllowed(), ShowTeamSelection(), teamplay, and time.
Referenced by ClientCommand_join(), ObserverOrSpectatorThink(), and PlayerPreThink().
Here is the call graph for this function:
Here is the caller graph for this function:| NET_HANDLE | ( | fpsreport | , |
| bool | |||
| ) |
Definition at line 2818 of file client.qc.
References PlayerScore_Set().
Here is the call graph for this function:Determines whether the player is allowed to join.
This depends on cvar g_maxplayers, if it isn't used this function always return true, otherwise it checks whether the number of currently playing players exceeds g_maxplayers.
Definition at line 2006 of file client.qc.
References autocvar_g_forced_team_otherwise, FOREACH_CLIENT, GetPlayerLimit(), INGAME, IS_PLAYER, IS_REAL_CLIENT, maxclients, min(), Player_GetForcedTeamIndex(), TEAM_FORCE_SPECTATOR, and time.
Referenced by joinAllowed(), and WinningConditionHelper().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2267 of file client.qc.
References CS(), CS_CVAR, FL_CLIENT, FL_JUMPRELEASED, FL_NOTARGET, flags, impulse, IS_SPEC, Join(), joinAllowed(), jointime, MIN_SPEC_TIME, MinigameImpulse(), MOVETYPE_FLY_WORLDONLY, MOVETYPE_NOCLIP, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_JUMP, PHYS_INPUT_BUTTON_USE, PutClientInServer(), PutObserverInServer(), set_movetype(), SpectateNext(), SpectatePrev(), SpectateUpdate(), time, TRANSMUTE(), and would_spectate.
Referenced by PlayerPreThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1447 of file client.qc.
References ATTEN_NORM, CH_INFO, floor(), frametime, IS_REAL_CLIENT, sound, TC, time, and VOL_BASE.
Referenced by player_powerups(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 413 of file client.qc.
References get_model_parameters(), get_model_parameters_species, model, skin, SPECIES_HUMAN, and string_null.
Referenced by FixPlayermodel().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2629 of file client.qc.
References CS(), frametime, move_movetype, move_qcphysics, movetype, Movetype_Physics_NoMatchTicrate(), and MOVETYPE_QCPLAYER.
Referenced by PlayerPostThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1470 of file client.qc.
References alpha, autocvar_g_fullbrightplayers, autocvar_g_nodepthtestplayers, EF_FULLBRIGHT, EF_NODEPTHTEST, effects, g_cts, IS_DEAD, items, MF_ROCKET, modelflags, MUTATOR_CALLHOOK, MUTATOR_IS_ENABLED, netname, NULL, play_countdown(), player_powerups_remove_all(), STATUSEFFECT_REMOVE_CLEAR, STATUSEFFECT_REMOVE_NORMAL, STATUSEFFECT_REMOVE_TIMEOUT, time, vehicle, and WEPSET_SUPERWEAPONS.
Referenced by PlayerThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1457 of file client.qc.
References ATTEN_NORM, CH_INFO, CH_TRIGGER_SINGLE, IS_CLIENT, items, sound, time, and VOL_BASE.
Referenced by ClientDisconnect(), player_powerups(), PutObserverInServer(), reset_map(), and STATIC_INIT().
Here is the caller graph for this function:Definition at line 1601 of file client.qc.
References autocvar_g_balance_armor_regen, autocvar_g_balance_armor_regenlinear, autocvar_g_balance_armor_regenstable, autocvar_g_balance_armor_rot, autocvar_g_balance_armor_rotlinear, autocvar_g_balance_armor_rotstable, autocvar_g_balance_fuel_regen, autocvar_g_balance_fuel_regenlinear, autocvar_g_balance_fuel_regenstable, autocvar_g_balance_fuel_rot, autocvar_g_balance_fuel_rotlinear, autocvar_g_balance_fuel_rotstable, autocvar_g_balance_health_regen, autocvar_g_balance_health_regenlinear, autocvar_g_balance_health_regenstable, autocvar_g_balance_health_rot, autocvar_g_balance_health_rotlinear, autocvar_g_balance_health_rotstable, DMG_NOWEP, frametime, GetResource(), items, M_ARGV, MUTATOR_CALLHOOK, pauseregen_finished, pauserotarmor_finished, pauserotfuel_finished, pauserothealth_finished, RES_HEALTH, RotRegen(), time, vehicle, and vehicles_exit().
Referenced by PlayerThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 986 of file client.qc.
References findinlist_abbrev().
Referenced by PlayerInList().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 977 of file client.qc.
References findinlist_abbrev(), and IS_REAL_CLIENT.
Referenced by PlayerInList().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 995 of file client.qc.
References autocvar_sv_eventlog, boolean, entity(), etof(), GameLogEcho(), IS_REAL_CLIENT, netaddress, playerid, PlayerInIDList(), and PlayerInIPList().
Referenced by Player_DetermineForcedTeam().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2651 of file client.qc.
References autocvar_g_balance_armor_blockpercent, autocvar_sv_maxidle, autocvar_sv_maxidle_alsokickspectators, autocvar_sv_maxidle_minplayers, autocvar_sv_maxidle_playertospectator, autocvar_sv_maxidle_slots, autocvar_sv_maxidle_slots_countbots, ceil(), CheatFrame(), CPID_IDLING, CS(), DAMAGE_NO, death_time, dropclient_schedule(), DrownPlayer(), FOREACH_CLIENT, frametime, GetPressedKeys(), GetResource(), impulse, ImpulseCommands(), intermission_running, IS_DEAD, IS_OBSERVER, IS_PLAYER, IS_REAL_CLIENT, max(), maxclients, maxs, min(), mins, MOVETYPE_NONE, netname, NULL, Player_Physics(), PutObserverInServer(), RES_HEALTH, server_is_dedicated, set_movetype(), SND, solid, SOLID_NOT, takedamage, time, and UpdateChatBubble().
Referenced by StartFrame().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2402 of file client.qc.
References anticheat_prethink(), autocvar_g_balance_teams, autocvar_g_campaign, autocvar_g_maxplayers_spectator_blocktime, autocvar_g_xonoticversion, autocvar_sv_eventlog, autocvar_sv_name_maxlength, autocvar_sv_spectate, blockSpectators, bound(), campaign_bots_may_start, CH_VOICE, CS(), CS_CVAR, DAMAGE_NO, DMG_NOWEP, dropclient_schedule(), entity(), error(), FL_GODMODE, flags, frametime, frozen_by, FROZEN_TEMP_DYING, FROZEN_TEMP_REVIVING, ftos(), GameLogEcho(), GetResource(), iceblock, INGAME, intermission_running, IntermissionThink(), IS_DEAD, IS_INDEPENDENT_PLAYER, IS_OBSERVER, IS_PLAYER, IS_REAL_CLIENT, IS_SPEC, IS_VEHICLE, isInvisibleString(), Join(), joinAllowed(), jointime, last_vehiclecheck, max(), max_armorvalue, MAX_WEAPONSLOTS, MIN_SPEC_TIME, MUTATOR_CALLHOOK, netname, ObserverOrSpectatorThink(), origin, PHYS_INPUT_BUTTON_USE, PHYS_INPUT_BUTTON_ZOOM, PHYS_INPUT_BUTTON_ZOOMSCRIPT, Player_GetForcedTeamIndex(), playerid, PlayerThink(), PlayerUseKey(), PrintWelcomeMessage(), RES_HEALTH, revive_speed, SAME_TEAM, SetResourceExplicit(), SetZoomState(), spectatortime, sprint(), start_health, strcat(), strcpy, strstrofs, strzone(), substring(), taunt_soundtime, team, TEAM_FORCE_SPECTATOR, teamkill_soundtime, teamplay, textLengthUpToLength(), time, Unfreeze(), vehicle, vehicles_exit(), vercmp(), VHF_MULTISLOT, VOICETYPE_AUTOTAUNT, VOICETYPE_LASTATTACKER_ONLY, VOL_BASEVOICE, and weaponentities.
Referenced by StartFrame().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2121 of file client.qc.
References angles, autocvar_g_teamdamage_resetspeed, bound(), CS(), CS_CVAR, DEAD_DEAD, DEAD_DYING, DEAD_RESPAWNABLE, DEAD_RESPAWNING, deadflag, dmg_team, dualwielding_prev, fixangle, FixPlayermodel(), frametime, g_race_qualifying, intermission_running, IntermissionThink(), IS_DEAD, lastV_angle, max(), MAX_WEAPONSLOTS, MF_ROCKET, modelflags, monsters_setstatus(), personal, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_HOOK, PHYS_INPUT_BUTTON_JUMP, PHYS_INPUT_BUTTON_USE, player_anim(), player_powerups(), player_regen(), respawn(), RESPAWN_DENY, respawn_flags, RESPAWN_FORCE, RESPAWN_SILENT, respawn_time, respawn_time_max, shootfromfixedorigin, ShowRespawnCountdown(), stuffcmd, time, TIMEOUT_ACTIVE, v_angle, vortex_charge, W_DualWielding(), W_ResetGunAlign(), W_TICSPERFRAME, W_WeaponFrame(), weaponentities, and WEP_CVAR.
Referenced by PlayerPreThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2349 of file client.qc.
References DAMAGE_NO, entity(), IS_DEAD, IS_INDEPENDENT_PLAYER, IS_PLAYER, IS_VEHICLE, MUTATOR_CALLHOOK, NULL, origin, PlayerUseKey(), SAME_TEAM, vehicle, vehicles_enter(), vehicles_exit(), VHF_MULTISLOT, vlen2, and WarpZone_FindRadius().
Referenced by IMPULSE(), PlayerPreThink(), and PlayerUseKey().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2776 of file client.qc.
References button0, button10, button11, button12, button13, button14, button15, button16, button2, button3, button4, button5, button6, button7, button8, button9, buttonchat, buttonuse, cursor_active, cursor_screen, cursor_trace_endpos, cursor_trace_ent, cursor_trace_start, impulse, movement, ping, ping_movementloss, ping_packetloss, and v_angle.
Referenced by IsFlying().
Here is the caller graph for this function:Definition at line 2049 of file client.qc.
References autocvar_g_campaign, Campaign_GetLevelNum(), Campaign_GetMessage(), CPID_CAMPAIGN_MESSAGE, CS(), floor(), getwelcomemessage(), IS_PLAYER, IS_SPEC, motd_actived_time, PHYS_INPUT_BUTTON_INFO, random(), and time.
Referenced by PlayerPreThink().
Here is the call graph for this function:
Here is the caller graph for this function:| PutClientInServer | ( | this | ) |
Referenced by bot_spawn(), Join(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), PutClientInServer(), reset_map(), and respawn().
Here is the caller graph for this function:Called when a client spawns in the server.
Definition at line 811 of file client.qc.
References bot_relinkplayerlist(), enemy, IS_BOT_CLIENT, IS_OBSERVER, IS_PLAYER, IS_REAL_CLIENT, msg_entity, MSG_ONE, MUTATOR_CALLHOOK, NULL, PS, PutClientInServer(), PutObserverInServer(), PutPlayerInServer(), SetSpectatee(), SVC_SETVIEW, TRANSMUTE(), WriteByte(), and WriteEntity().
Here is the call graph for this function:putting a client as observer in the server
Definition at line 238 of file client.qc.
References accuracy_resend(), alivetime, alpha, angles, autocvar_g_balance_armor_start, autocvar_g_playerclip_collisions, AuxiliaryXhair, avelocity, bot_attack, bot_relinkplayerlist(), CHAT_NOSPECTATORS, CS(), DAMAGE_NO, damagedbycontents, damageforcescale, DEAD_NO, deadflag, death_time, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, drag_undraggable(), drawonlytoclient, effects, entity(), etof(), fade_time, fixangle, FixPlayermodel(), FL_CLIENT, FL_NOTARGET, flags, frags, FRAGS_SPECTATOR, func_null(), g_bot_targets, g_damagedbycontents, g_monster_targets, GetResource(), IL_REMOVE(), IS_PLAYER, IS_REAL_CLIENT, iscreature, istypefrag, items, just_joined, killcount, LOG_FATAL, MAX_AXH, MAX_WEAPONSLOTS, model, monster_attack, MOVETYPE_FLY_WORLDONLY, msg_entity, MSG_ONE, MUTATOR_CALLHOOK, nextthink, NULL, oldvelocity, origin, pain_finished, pauseregen_finished, pauserotarmor_finished, pauserothealth_finished, player_powerups_remove_all(), PlayerState_detach(), Portal_ClearAll(), punchangle, punchvector, pushltime, ready, ReadyCount(), RemoveGrapplingHooks(), RES_HEALTH, respawn_flags, respawn_time, revival_time, scale, SelectSpawnPoint(), set_movetype(), setmodel, setorigin(), SetPlayerTeam(), SetResourceExplicit(), SetSpectatee(), SetSpectatee_status(), setthink, solid, SOLID_NOT, SVC_SETVIEW, takedamage, TEAM_CHANGE_SPECTATOR, TELEPORT_SIMPLE, teleportable, time, TRANSMUTE(), Unfreeze(), UNSET_DUCKED, vec2, vehicle, vehicles_exit(), velocity, view_ofs, viewloc, vote_called, VoteCount(), warmup_stage, weaponentities, weaponmodel, WriteByte(), and WriteEntity().
Referenced by ClientKill_Now_TeamChange(), GameCommand_allspec(), GameCommand_moveplayer(), minigame_addplayer(), ObserverOrSpectatorThink(), PlayerPostThink(), PutClientInServer(), SpectateSet(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 535 of file client.qc.
References accuracy_resend(), alivetime, alpha, angles, antilag_clear(), autocvar__notarget, autocvar_g_balance_pause_armor_rot_spawn, autocvar_g_balance_pause_fuel_rot_spawn, autocvar_g_balance_pause_health_regen_spawn, autocvar_g_balance_pause_health_rot_spawn, autocvar_g_balance_superweapons_time, autocvar_g_ballistics_density_player, autocvar_g_botclip_collisions, autocvar_g_player_brightness, autocvar_g_player_damageforcescale, autocvar_g_playerclip_collisions, autocvar_g_random_start_weapons, autocvar_g_spawnshieldtime, autocvar_g_weaponswitch_debug, autocvar_spawn_debug, autocvar_sv_player_scale, autocvar_sv_q3compat_changehitbox, AuxiliaryXhair, avelocity, bot_aim_reset(), bot_attack, CH_PLAYER_SINGLE, CL_SpawnWeaponentity(), colormod, CONTENT_EMPTY, conveyor, CS(), CS_CVAR, DAMAGE_AIM, damagedbycontents, damageforcescale, DEAD_NO, deadflag, death_time, default_player_alpha, default_weapon_alpha, dmg_team, DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, drawonlytoclient, EF_RESTARTANIM_BIT, EF_TELEPORT_BIT, effects, entity(), fade_time, fixangle, FixPlayermodel(), FL_CLIENT, FL_NOTARGET, flags, FOREACH, frags, FRAGS_PLAYER, FRAGS_SPECTATOR, fragsfilter_cnt, func_null(), g_assault, g_bot_targets, g_conveyed, g_damagedbycontents, g_ladderents, g_monster_targets, g_race, GiveRandomWeapons(), IL_EACH, IL_PUSH(), IL_REMOVE(), impulse, ImpulseCommands(), INDEPENDENT_PLAYERS, IS_BOT_CLIENT, iscreature, items, killcount, ladder_entity, MAKE_INDEPENDENT_PLAYER, MAX_AXH, MAX_WEAPONSLOTS, model, monster_attack, MOVETYPE_WALK, MUTATOR_CALLHOOK, navigation_dynamicgoal_init(), new_pure, nextthink, NULL, oldorigin, oldvelocity, origin, pain_finished, pauseregen_finished, pauserotarmor_finished, pauserotfuel_finished, pauserothealth_finished, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_JUMP, PlayerDamage(), PlayerHeal(), PlayerScore_Clear(), PlayerState_attach(), PS, punchangle, punchvector, pushltime, q3compat, random_start_ammo, random_start_weapons_count, RES_HEALTH, respawn_flags, respawn_time, revival_time, scale, SelectSpawnPoint(), set_movetype(), setorigin(), SetResource(), SetSpectatee_status(), setthink, solid, SOLID_SLIDEBOX, SpawnEvent_Send(), speedrunning, sprint(), start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_plasma, start_ammo_rockets, start_ammo_shells, start_armorvalue, start_health, start_items, start_weapons, strcat(), string_null, SUB_UseTargets(), sv_ready_restart_after_countdown, takedamage, team, TeamBalance_JoinBestTeam(), TELEPORT_NORMAL, teleportable, time, TRANSMUTE(), Unfreeze(), UNSET_DUCKED, v_angle, vehicle, vehicles_exit(), velocity, view_ofs, viewloc, vtos(), w_getbestweapon, W_ResetGunAlign(), W_WeaponFrame(), warmup_stage, 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, warmup_start_health, WARMUP_START_WEAPONS, waterlevel, WATERLEVEL_NONE, watertype, weapon_load, weaponentities, WEP_FLAG_RELOADABLE, and WEPSET_SUPERWEAPONS.
Referenced by PutClientInServer().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1417 of file client.qc.
References alpha, autocvar_g_respawn_ghosts, autocvar_g_respawn_ghosts_alpha, autocvar_g_respawn_ghosts_fadetime, autocvar_g_respawn_ghosts_speed, autocvar_g_respawn_ghosts_time, avelocity, CopyBody(), CSQCMODEL_EF_RESPAWNGHOST, DAMAGE_NO, damagedbycontents, EF_NODRAW, effects, min(), MOVETYPE_FLY, origin, PutClientInServer(), randomvec(), set_movetype(), solid, SOLID_NOT, SUB_SetFade(), takedamage, time, and velocity.
Referenced by PlayerThink().
Here is the call graph for this function:
Here is the caller graph for this function:| void RotRegen | ( | entity | this, |
| Resource | res, | ||
| float | limit_mod, | ||
| float | regenstable, | ||
| float | regenfactor, | ||
| float | regenlinear, | ||
| float | regenframetime, | ||
| float | rotstable, | ||
| float | rotfactor, | ||
| float | rotlinear, | ||
| float | rotframetime | ||
| ) |
Definition at line 1570 of file client.qc.
References CalcRegen(), CalcRot(), GetResource(), GetResourceLimit(), max(), min(), and SetResource().
Referenced by player_regen().
Here is the call graph for this function:
Here is the caller graph for this function:| void send_CSQC_teamnagger | ( | ) |
Definition at line 97 of file client.qc.
References MSG_BROADCAST.
Referenced by ClientConnect().
Here is the caller graph for this function:| void SetNewParms | ( | ) |
Definition at line 228 of file client.qc.
References player_setupanimsformodel(), and UpdatePlayerSounds().
Referenced by FixPlayermodel().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1836 of file client.qc.
References ClientData_Touch(), enemy, entity(), etof(), IS_BOT_CLIENT, MAX_WEAPONSLOTS, SetSpectatee_status(), and weaponentities.
Referenced by ClientDisconnect(), PutClientInServer(), PutObserverInServer(), Spectate(), SpectateNext(), SpectatePrev(), SpectateUpdate(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1819 of file client.qc.
References ClientData_Touch(), CS(), g_cts, g_race, race_InitSpectator(), and spectatee_status.
Referenced by PutObserverInServer(), PutPlayerInServer(), SetSpectatee(), and STATIC_INIT().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1671 of file client.qc.
References ClientData_Touch(), CS(), and zoomstate.
Referenced by PlayerPreThink(), and SpectateCopy().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1939 of file client.qc.
References ceil(), IS_DEAD, number, respawn_countdown, respawn_time, and time.
Referenced by PlayerThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1959 of file client.qc.
References autocvar_g_balance_teams, autocvar_g_campaign, autocvar_g_changeteam_banned, CS(), Player_HasRealForcedTeam(), stuffcmd, team_selected, teamplay, and wasplayer.
Referenced by joinAllowed().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1873 of file client.qc.
References entity(), M_ARGV, MUTATOR_CALLHOOK, SetSpectatee(), and SpectateSet().
Referenced by ClientCommand_spectate(), STATIC_INIT(), and superspec_Spectate().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1713 of file client.qc.
References angles, anticheat_spectatecopy(), armortype, CS(), disableclientprediction, dmg_inflictor, dmg_save, dmg_take, effects, fixangle, GetResource(), items, MUTATOR_CALLHOOK, PHYS_INPUT_BUTTON_USE, PS, punchangle, RES_HEALTH, setorigin(), SetResourceExplicit(), SetZoomState(), TC, v_angle, velocity, view_ofs, viewloc, and zoomstate.
Referenced by SpectateUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1883 of file client.qc.
References classname, enemy, entity(), find(), M_ARGV, MUTATOR_CALLHOOK, SetSpectatee(), SpectateSet(), and STR_PLAYER.
Referenced by ObserverOrSpectatorThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1897 of file client.qc.
References classname, enemy, entity(), M_ARGV, MUT_SPECPREV_CONTINUE, MUT_SPECPREV_FOUND, MUT_SPECPREV_RETURN, MUTATOR_CALLHOOK, SetSpectatee(), SpectateSet(), and STR_PLAYER.
Referenced by ObserverOrSpectatorThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1800 of file client.qc.
References accuracy_resend(), ClientData_Touch(), enemy, IS_PLAYER, MOVETYPE_NONE, msg_entity, MSG_ONE, PutObserverInServer(), set_movetype(), SpectateUpdate(), SVC_SETVIEW, WriteByte(), and WriteEntity().
Referenced by Spectate(), SpectateNext(), and SpectatePrev().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1784 of file client.qc.
References enemy, IS_PLAYER, NULL, SetSpectatee(), and SpectateCopy().
Referenced by ObserverOrSpectatorThink(), and SpectateSet().
Here is the call graph for this function:
Here is the caller graph for this function:Referenced by ClientCommand_clientversion(), ClientCommand_spectate(), ClientConnect(), Join(), lms_RemovePlayer(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), PutClientInServer(), PutObserverInServer(), PutPlayerInServer(), and superspec_Spectate().
Here is the caller graph for this function:Definition at line 1293 of file client.qc.
References alpha, chatbubbleentity, ChatBubbleThink(), EF_LOWPRECISION, setmodel, setorigin(), setthink, and time.
Referenced by PlayerPostThink().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 115 of file client.qc.
References FOREACH_CLIENT, IS_REAL_CLIENT, and IS_SPEC.
Referenced by ClientData_Send().
Here is the caller graph for this function:| entity chatbubbleentity |
Definition at line 1207 of file client.qc.
Referenced by ClientDisconnect(), and UpdateChatBubble().
| bool dualwielding_prev |
Definition at line 2120 of file client.qc.
Referenced by PlayerThink().
| string FallbackPlayerModel |
Definition at line 193 of file client.qc.
Referenced by CheckPlayerModel().
| float last_vehiclecheck |
Definition at line 2401 of file client.qc.
Referenced by PlayerPreThink().
| float model_randomizer |
Definition at line 422 of file client.qc.
Referenced by FixPlayermodel().
| bool move_qcphysics |
Definition at line 2627 of file client.qc.
Referenced by ClientConnect(), and Player_Physics().
| string shootfromfixedorigin |
Definition at line 2119 of file client.qc.
Referenced by PlayerThink().
| this team = _team |
Definition at line 86 of file client.qc.
Referenced by ClientConnect(), Join(), PlayerPreThink(), and PutPlayerInServer().
| bool team_selected |
Definition at line 1958 of file client.qc.
Referenced by Join(), and ShowTeamSelection().
| bool would_spectate |
Definition at line 2265 of file client.qc.
Referenced by ObserverOrSpectatorThink().