|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "utils.qh"#include <server/intermission.qh>#include <common/replicate.qh>#include <common/sounds/all.qh>Go to the source code of this file.
Classes | |
| class | Client |
| class | Observer |
| class | Player |
| class | Spectator |
Macros | |
| #define | GAMETYPE_DEFAULTED_SETTING(str) |
| #define | INDEPENDENT_PLAYERS (autocvar__independent_players ? (autocvar__independent_players > 0) : independent_players) |
| #define | IS_INDEPENDENT_PLAYER(e) |
| #define | MAKE_INDEPENDENT_PLAYER(e) |
| #define | SPECTATE_COPY() |
| #define | SPECTATE_COPYFIELD(fld) |
| #define | UNWIND(class) |
| #define GAMETYPE_DEFAULTED_SETTING | ( | str | ) |
Definition at line 347 of file client.qh.
Referenced by calculate_player_respawn_time().
| #define INDEPENDENT_PLAYERS (autocvar__independent_players ? (autocvar__independent_players > 0) : independent_players) |
Definition at line 311 of file client.qh.
Referenced by PutPlayerInServer(), and ScoreRules_basics().
| #define IS_INDEPENDENT_PLAYER | ( | e | ) |
Definition at line 312 of file client.qh.
Referenced by accuracy_add(), buff_Touch(), calculate_player_respawn_time(), Damage(), dompointtouch(), Fire_ApplyDamage(), havocbot_ai(), havocbot_chooseenemy(), ka_TouchEvent(), kh_Key_Touch(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), PlayerFrame(), PlayerUseKey(), Portal_Customize(), Portal_Damage(), Portal_Think(), Portal_Touch(), target_init_use(), tka_TouchEvent(), W_Electro_Bolt_Think(), W_Electro_TriggerCombo(), W_Fireball_Explode(), W_Fireball_LaserPlay(), and W_MineLayer_Think().
| #define MAKE_INDEPENDENT_PLAYER | ( | e | ) |
Definition at line 313 of file client.qh.
Referenced by PutPlayerInServer(), race_AbandonRaceCheck(), and race_SendTime().
| #define SPECTATE_COPY | ( | ) |
| #define SPECTATE_COPYFIELD | ( | fld | ) |
| #define UNWIND | ( | class | ) |
Referenced by Client::m_unwind().
Definition at line 1392 of file client.qc.
References autocvar_g_forced_respawn, ceil(), entity(), 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().
Definition at line 185 of file client.qc.
References CS(), entity(), FOREACH_CLIENT, IS_REAL_CLIENT, and IS_SPEC.
Referenced by ignore_list_send(), race_AbandonRaceCheck(), race_SendTime(), ReadyRestart_force(), SetSpectatee(), SetSpectatee_status(), SetZoomState(), and SpectateSet().
Definition at line 905 of file client.qc.
References arc_shotorigin, autocvar_g_trueaim_minrange, autocvar_sv_foginterval, cnt, compressShotOrigin(), count, entity(), g_nexball_meter_period, hook_shotorigin, MSG_ONE, serverflags, world, WriteByte(), WriteCoord(), WriteHeader, and WriteString().
Referenced by ClientInit_SendEntity().
| void ClientInit_Spawn | ( | ) |
Definition at line 944 of file client.qc.
References ClientInit_CheckUpdate(), ClientInit_SendEntity(), entity(), Net_LinkEntity(), new_pure, and setthink.
Referenced by spawnfunc().
Definition at line 46 of file state.qc.
References _cs, accuracy_init(), anticheat_init(), ClientData_Attach(), DecodeLevelParms(), entcs_attach(), entity(), InventoryStorage_attach(), NEW, PlayerScore_Attach(), PlayerStats_PlayerBasic_CheckUpdate(), StatusEffectsStorage_attach(), and W_HitPlotOpen().
Referenced by Client::Client().
Definition at line 997 of file client.qc.
References autocvar_g_antilag, autocvar_g_shootfromfixedorigin, autocvar_sv_jumpspeedcap_max, autocvar_sv_jumpspeedcap_min, entity(), FixClientCvars(), MUTATOR_CALLHOOK, and stuffcmd.
Referenced by ClientConnect(), FixClientCvars(), MapVote_Finished(), MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 454 of file client.qc.
References argv(), autocvar_g_debug_globalsounds, 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(), entity(), 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(), MUTATOR_HOOKABLE(), PlayerThink(), PutObserverInServer(), and PutPlayerInServer().
| int GetPlayerLimit | ( | ) |
Definition at line 2127 of file client.qc.
References autocvar_g_maxplayers, g_duel, GetPlayerLimit(), intermission_running, M_ARGV, map_maxplayers, and MUTATOR_CALLHOOK.
Referenced by bot_fixcount(), GameplayMode_DelayedInit(), GetPlayerLimit(), MapHasRightSize(), MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), nJoinAllowed(), and SendWelcomeMessage().
Definition at line 568 of file client.qc.
References entity(), RES_ARMOR, SetResource(), STAT, warmup_start_ammo_cells, warmup_start_ammo_fuel, warmup_start_ammo_nails, warmup_start_ammo_rockets, warmup_start_ammo_shells, warmup_start_armorvalue, warmup_start_health, and WARMUP_START_WEAPONS.
Referenced by PutPlayerInServer(), and ReadyCount().
it's assumed this isn't called for bots (campaign_bots_may_start, centreprints)
Definition at line 2068 of file client.qc.
References APP_TEAM_NUM, autocvar_g_campaign, campaign_bots_may_start, CPID_PREVENT_JOIN, entity(), FOREACH_CLIENT, game_starttime, game_stopped, IS_PLAYER, Kill_Notification(), netname, NULL, PutClientInServer, ReadyRestart(), Send_Notification(), team, team_selected, TeamBalance_AreEqual(), teamplay, time, TRANSMUTE, wants_join, and warmup_stage.
Referenced by ClientCommand_join(), ObserverOrSpectatorThink(), PlayerPreThink(), ReadyRestart_force(), and TeamBalance_QueuedPlayersTagIn().
Definition at line 2230 of file client.qc.
References autocvar_g_maxping, autocvar_g_playban_list, CS(), entity(), INGAME, IS_PLAYER, jointime, lockteams, MIN_SPEC_TIME, nJoinAllowed(), ping, Player_GetForcedTeamIndex(), PlayerInList(), QueueNeeded(), queuePlayer(), Send_Notification(), ShowTeamSelection(), TEAM_FORCE_SPECTATOR, teamplay, time, and wants_join.
Referenced by ClientCommand_join(), ClientCommand_selectteam(), ObserverOrSpectatorThink(), and PlayerPreThink().
Determines how many player slots are free.
This depends on cvar g_maxplayers and other limits that apply to all clients which aren't specifically excepted.
Definition at line 2143 of file client.qc.
References autocvar_g_forced_team_otherwise, bots_would_leave, entity(), FOREACH_CLIENT, GetPlayerLimit(), INGAME, IS_PLAYER, lockteams, max(), maxclients, min(), Send_Notification(), and teamplay.
Referenced by joinAllowed(), and WinningConditionHelper().
Definition at line 1526 of file client.qc.
References ATTEN_NORM, CH_INFO, entity(), floor(), frametime, IS_REAL_CLIENT, sound, TC, time, and VOL_BASE.
Referenced by player_powerups().
Definition at line 1535 of file client.qc.
References ATTEN_NORM, CH_INFO, CH_TRIGGER_SINGLE, entity(), game_starttime, IS_CLIENT, IT_SUPERWEAPON, IT_UNLIMITED_AMMO, IT_UNLIMITED_SUPERWEAPONS, items, sound, start_items, stopsound(), time, and VOL_BASE.
Referenced by ClientDisconnect(), player_powerups(), PutObserverInServer(), and reset_map().
Definition at line 2822 of file client.qc.
References anticheat_prethink(), autocvar_g_maxplayers_spectator_blocktime, autocvar_g_vehicles_enter_radius, autocvar_g_xonoticversion, autocvar_sv_eventlog, autocvar_sv_name_maxlength, autocvar_sv_spectate, CS(), CS_CVAR, DAMAGE_NO, dropclient_schedule(), entity(), FL_GODMODE, flags, FOREACH_ENTITY_RADIUS, ftos(), game_stopped, GameLogEcho(), GameRules_scoring_add, handicap_avg_given_sum, handicap_avg_taken_sum, Handicap_GetTotalHandicap(), ignore_list_send(), ignore_list_send_time, INGAME, IS_DEAD, IS_INDEPENDENT_PLAYER, IS_OBSERVER, IS_PLAYER, IS_REAL_CLIENT, IS_SPEC, IS_VEHICLE, isInvisibleString(), last_vehiclecheck, max_armorvalue, MIN_SPEC_TIME, netname, origin, playerid, playername(), SAME_TEAM, score_frame_dmg, score_frame_dmgtaken, Send_Notification(), sprint(), STAT, StatusEffects_active(), strcat(), strcpy, strstrofs, strzone(), substring(), team, textLengthUpToLength(), time, vehicle, vercmp(), and VHF_MULTISLOT.
Referenced by StartFrame().
Definition at line 1036 of file client.qc.
References entity(), and findinlist_abbrev().
Referenced by BanCommand_mute(), BanCommand_playban(), BanCommand_voteban(), MUTATOR_HOOKFUNCTION(), and PlayerInList().
Definition at line 1027 of file client.qc.
References entity(), findinlist_abbrev(), and IS_REAL_CLIENT.
Referenced by BanCommand_mute(), BanCommand_playban(), BanCommand_voteban(), MUTATOR_HOOKFUNCTION(), and PlayerInList().
Definition at line 1045 of file client.qc.
References boolean, entity(), PlayerInIDList(), and PlayerInIPList().
Referenced by ClientCommand_minigame(), ClientConnect(), ignore_playerindb(), invite_minigame(), joinAllowed(), MUTATOR_HOOKFUNCTION(), Player_DetermineForcedTeam(), VoteCommand_abstain(), VoteCommand_call(), VoteCommand_no(), and VoteCommand_yes().
Definition at line 2584 of file client.qc.
References autocvar_g_vehicles_enter_radius, DAMAGE_NO, entity(), game_stopped, IS_DEAD, IS_INDEPENDENT_PLAYER, IS_PLAYER, IS_VEHICLE, MUTATOR_CALLHOOK, NULL, origin, PlayerUseKey(), SAME_TEAM, STAT, StatusEffects_active(), vehicle, vehicles_enter(), vehicles_exit(), VHEF_NORMAL, VHF_MULTISLOT, vlen2, and WarpZone_FindRadius().
Referenced by IMPULSE(), MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), PlayerPreThink(), and PlayerUseKey().
putting a client as observer in the server
Definition at line 261 of file client.qc.
References accuracy_resend(), alivetime_start, alpha, angles, autocvar_g_balance_armor_start, autocvar_g_debug_globalsounds, autocvar_g_maxplayers_spectator_blocktime, autocvar_g_playerclip_collisions, autocvar_sv_player_viewoffset, autocvar_sv_spectate, 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, entcs_update_players(), entity(), etof, exteriorweaponentity, fade_time, fixangle, FixPlayermodel(), FL_CLIENT, FL_NOTARGET, flags, frags, FRAGS_SPECTATOR, func_null(), g_bot_targets, g_damagedbycontents, g_monster_targets, game_starttime, game_stopped, GetResource(), HUD_NORMAL, IL_REMOVE(), IS_PLAYER, IS_REAL_CLIENT, iscreature, istypefrag, items, just_joined, killcount, LOG_FATAL, max(), 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(), PLAYERSTATS_ALIVETIME, PlayerStats_GameReport_Event_Player, Portal_ClearAll(), punchangle, punchvector, pushltime, ready, ReadyCount(), RemoveGrapplingHooks(), RES_ARMOR, respawn_flags, respawn_time, scale, SelectObservePoint(), SelectSpawnPoint(), Send_Effect(), Send_Notification(), set_movetype(), setmodel, SetPlayerTeam(), SetResourceExplicit(), SetSpectatee(), SetSpectatee_status(), setthink, solid, SOLID_NOT, STAT, SVC_SETVIEW, takedamage, TEAM_CHANGE_SPECTATOR, TELEPORT_SIMPLE, teleportable, time, TRANSMUTE, UNSET_DUCKED, vec2, vehicle, vehicles_exit(), velocity, VHEF_RELEASE, view_ofs, viewloc, vote_called, VoteCount(), warmup_stage, WaypointSprite_PlayerDead(), weaponentities, weaponmodel, WriteByte(), and WriteEntity().
Referenced by BanCommand_playban(), ClientKill_Now_TeamChange(), GameCommand_allspec(), GameCommand_moveplayer(), MatchEnd_RestoreSpectatorAndTeamStatus(), minigame_addplayer(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), PutClientInServer(), Remove_Countdown(), SpectateSet(), and TeamBalance_RemoveExcessPlayers().
| void RotRegen | ( | entity | this, |
| entity | current, | ||
| float | limit_mod, | ||
| float | regenstable, | ||
| float | regenfactor, | ||
| float | regenlinear, | ||
| float | regenframetime, | ||
| float | rotstable, | ||
| float | rotfactor, | ||
| float | rotlinear, | ||
| float | rotframetime ) |
References entity().
Definition at line 1075 of file client.qc.
References autocvar_g_campaign, autocvar_g_jetpack, autocvar_g_mutatormsg, autocvar_g_warmup, autocvar_g_xonoticversion, autocvar_gameversion, autocvar_hostname, autocvar_sv_motd, cache_lastmutatormsg, cache_mutatormsg, Campaign_GetLevelNum(), CS(), cvar(), cvar_defstring(), entity(), flags, g_cts, g_weapon_stay, g_weaponarena, g_weaponarena_list, GetPlayerLimit(), M_ARGV, map_minplayers, MapInfo_ClearTemps(), MapInfo_Get_ByName(), MapInfo_Map_author, MapInfo_Map_titlestring, mi_shortname, MUTATOR_CALLHOOK, NULL, stof(), strcat(), strcpy, strlen, substring(), WriteByte(), and WriteString().
Referenced by ScoreInfo_SendEntity().
Definition at line 1933 of file client.qc.
References arc_beam, ARC_SF_UPDATE, ClientData_Touch(), enemy, entity(), etof, IS_BOT_CLIENT, MAX_WEAPONSLOTS, SetSpectatee_status(), and weaponentities.
Referenced by ClientDisconnect(), PutClientInServer(), PutObserverInServer(), Spectate(), SpectateNext(), SpectatePrev(), and SpectateUpdate().
Definition at line 1898 of file client.qc.
References ClientData_Touch(), CS(), enemy, entity(), g_cts, g_race, g_race_qualifying, IS_REAL_CLIENT, msg_entity, MSG_ONE, RACE_NET_CHECKPOINT_CLEAR, race_SendNextCheckpoint(), spectatee_status, STAT, WriteByte(), and WriteHeader.
Referenced by PutObserverInServer(), PutPlayerInServer(), and SetSpectatee().
Definition at line 1971 of file client.qc.
References entity(), M_ARGV, MUTATOR_CALLHOOK, SetSpectatee(), and SpectateSet().
Referenced by ClientCommand_spectate(), and superspec_Spectate().
| STATIC_INIT | ( | client_lists | ) |
Definition at line 372 of file client.qh.
References g_initforplayer, g_observepoints, and IL_NEW.
| float alivetime_start |
Definition at line 68 of file client.qh.
Referenced by PlayerDamage(), PutObserverInServer(), and PutPlayerInServer().
| bool autocvar__notarget |
Definition at line 9 of file client.qh.
Referenced by PutPlayerInServer().
| int autocvar_g_balance_armor_start |
Definition at line 11 of file client.qh.
Referenced by PutObserverInServer().
| float autocvar_g_balance_pause_armor_rot_spawn |
Definition at line 12 of file client.qh.
Referenced by PutPlayerInServer().
| float autocvar_g_balance_pause_fuel_rot_spawn |
Definition at line 13 of file client.qh.
Referenced by PutPlayerInServer().
| float autocvar_g_balance_pause_health_regen_spawn |
Definition at line 14 of file client.qh.
Referenced by PutPlayerInServer().
| float autocvar_g_balance_pause_health_rot_spawn |
Definition at line 15 of file client.qh.
Referenced by PutPlayerInServer().
| bool autocvar_g_botclip_collisions |
Definition at line 16 of file client.qh.
Referenced by PutPlayerInServer().
| bool autocvar_g_forced_respawn |
Definition at line 43 of file client.qh.
Referenced by calculate_player_respawn_time().
| bool autocvar_g_fullbrightplayers |
Definition at line 17 of file client.qh.
Referenced by Monster_Spawn(), player_powerups(), vehicle_initialize(), and vehicles_reset_colors().
| int autocvar_g_maxplayers |
Definition at line 44 of file client.qh.
Referenced by GameplayMode_DelayedInit(), GetPlayerLimit(), and PlayerStats_GetGametype().
| float autocvar_g_maxplayers_spectator_blocktime |
Definition at line 45 of file client.qh.
Referenced by ClientKill_Now_TeamChange(), PlayerFrame(), and PutObserverInServer().
| string autocvar_g_mutatormsg |
Definition at line 35 of file client.qh.
Referenced by SendWelcomeMessage().
| bool autocvar_g_nodepthtestplayers |
Definition at line 34 of file client.qh.
Referenced by Monster_Spawn(), player_powerups(), vehicle_initialize(), and vehicles_reset_colors().
| float autocvar_g_player_alpha |
Definition at line 19 of file client.qh.
Referenced by SetDefaultAlpha().
| float autocvar_g_player_brightness |
Definition at line 20 of file client.qh.
Referenced by PutPlayerInServer().
| float autocvar_g_player_damageforcescale = 2 |
Definition at line 21 of file client.qh.
Referenced by PutPlayerInServer().
| bool autocvar_g_playerclip_collisions |
Definition at line 18 of file client.qh.
Referenced by PutObserverInServer(), PutPlayerInServer(), and vehicle_initialize().
| float autocvar_g_respawn_ghosts_alpha = 1 |
| float autocvar_g_respawn_ghosts_fadetime = 1.5 |
| float autocvar_g_respawn_ghosts_speed |
| float autocvar_g_respawn_ghosts_time = 4.5 |
| string autocvar_g_xonoticversion |
Definition at line 46 of file client.qh.
Referenced by PlayerFrame(), SendWelcomeMessage(), and WinningConditionHelper().
| float autocvar_gameversion |
Definition at line 47 of file client.qh.
Referenced by SendWelcomeMessage().
| float autocvar_gameversion_max |
Definition at line 49 of file client.qh.
Referenced by ClientCommand_clientversion().
| float autocvar_gameversion_min |
Definition at line 48 of file client.qh.
Referenced by ClientCommand_clientversion().
| string autocvar_hostname |
Definition at line 50 of file client.qh.
Referenced by OnlineBanList_SendBan(), OnlineBanList_SendUnban(), OnlineBanList_Think(), SendWelcomeMessage(), and WeaponStats_ready().
| int autocvar_spawn_debug |
Definition at line 51 of file client.qh.
Referenced by PutPlayerInServer(), SelectSpawnPoint(), and StartItem().
| float autocvar_sv_foginterval |
Definition at line 36 of file client.qh.
Referenced by ClientConnect(), and ClientInit_misc().
| float autocvar_sv_maxidle |
Definition at line 37 of file client.qh.
Referenced by DecodeLevelParms().
| float autocvar_sv_maxidle_playertospectator = 60 |
Definition at line 39 of file client.qh.
Referenced by SetPlayerTeam().
| string autocvar_sv_motd |
Definition at line 52 of file client.qh.
Referenced by SendWelcomeMessage().
| int autocvar_sv_name_maxlength = 64 |
Definition at line 53 of file client.qh.
Referenced by PlayerFrame().
| float autocvar_sv_player_scale |
Definition at line 59 of file client.qh.
Referenced by PutPlayerInServer().
| string autocvar_sv_quickmenu_file |
Definition at line 54 of file client.qh.
Referenced by ClientConnect().
| bool autocvar_sv_servermodelsonly |
Definition at line 55 of file client.qh.
Referenced by CheckPlayerModel().
| bool autocvar_sv_show_entnum |
Definition at line 10 of file client.qh.
Referenced by ObserverOrSpectatorThink(), and PlayerThink().
| bool autocvar_sv_showspectators |
Definition at line 56 of file client.qh.
Referenced by ClientData_Send().
| bool autocvar_sv_spectate |
Definition at line 57 of file client.qh.
Referenced by ClientCommand_clientversion(), ClientCommand_spectate(), ClientKill_Now_TeamChange(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), PlayerFrame(), PlayerPreThink(), PutObserverInServer(), and ReadyRestart_force().
| bool autocvar_sv_teamnagger |
Definition at line 58 of file client.qh.
Referenced by ClientData_Send(), and ReadyCount().
| entity clientdata |
Definition at line 64 of file client.qh.
Referenced by ClientData_Attach().
| IntrusiveList g_initforplayer |
Definition at line 370 of file client.qh.
Referenced by ClientConnect(), func_breakable_setup(), spawnfunc(), spawnfunc(), and STATIC_INIT().
| IntrusiveList g_observepoints |
Definition at line 371 of file client.qh.
Referenced by SelectObservePoint(), spawnfunc(), and STATIC_INIT().
| bool independent_players |
Definition at line 310 of file client.qh.
Referenced by invasion_DelayedInit(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), rc_SetLimits(), and REGISTER_MUTATOR().
| float jointime |
Definition at line 66 of file client.qh.
Referenced by ClientCommand_join(), CommonCommand_who(), DumpStats(), havocbot_ctf_reset_role(), joinAllowed(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), ObserverOrSpectatorThink(), and PlayerPreThink().
| bool just_joined |
Definition at line 76 of file client.qh.
Referenced by PutObserverInServer(), and SetPlayerTeam().
| int killcount |
Definition at line 315 of file client.qh.
Referenced by Damage(), Heal(), lms_RemovePlayer(), MayhemCalculatePlayerScore(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), Obituary(), PutObserverInServer(), and PutPlayerInServer().
| const int MIN_SPEC_TIME = 1 |
Definition at line 403 of file client.qh.
Referenced by ClientCommand_join(), joinAllowed(), ObserverOrSpectatorThink(), PlayerFrame(), and PlayerPreThink().
| float pauseregen_finished |
Definition at line 337 of file client.qh.
Referenced by CheatImpulse(), GiveItems(), player_regen(), PlayerCorpseDamage(), PlayerDamage(), PM_jetpack(), PutObserverInServer(), and PutPlayerInServer().
| float pauserotarmor_finished |
Definition at line 339 of file client.qh.
Referenced by CheatImpulse(), GiveItems(), player_regen(), PutObserverInServer(), and PutPlayerInServer().
| float pauserotfuel_finished |
Definition at line 340 of file client.qh.
Referenced by CheatImpulse(), GiveItems(), player_regen(), and PutPlayerInServer().
| float pauserothealth_finished |
Definition at line 338 of file client.qh.
Referenced by CheatImpulse(), GiveItems(), player_regen(), PutObserverInServer(), and PutPlayerInServer().
| bool player_blocked |
Definition at line 332 of file client.qh.
Referenced by ClientKill(), PlayerJump(), and PM_check_blocked().
| int playerid |
Definition at line 82 of file client.qh.
Referenced by anticheat_report_to_eventlog(), ClientConnect(), ClientDisconnect(), MapVote_Suggest(), and PlayerFrame().
| float respawn_countdown |
Definition at line 324 of file client.qh.
Referenced by calculate_player_respawn_time(), and ShowRespawnCountdown().
Definition at line 328 of file client.qh.
Referenced by PlayerThink().
| int respawn_flags |
Definition at line 320 of file client.qh.
Referenced by calculate_player_respawn_time(), PlayerThink(), PutObserverInServer(), and PutPlayerInServer().
Definition at line 326 of file client.qh.
Referenced by calculate_player_respawn_time(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and PlayerThink().
Definition at line 327 of file client.qh.
Referenced by MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and PlayerThink().
| float respawn_time |
Definition at line 321 of file client.qh.
Referenced by calculate_player_respawn_time(), PlayerDamage(), PlayerThink(), PutObserverInServer(), PutPlayerInServer(), Scoreboard_Draw(), and ShowRespawnCountdown().
| float respawn_time_max |
Definition at line 322 of file client.qh.
Referenced by calculate_player_respawn_time(), and PlayerThink().
| float spectatortime |
Definition at line 330 of file client.qh.
Referenced by PlayerPreThink().
| float startplaytime |
Definition at line 67 of file client.qh.
Referenced by TeamBalance_RemoveExcessPlayers().
| const int SVC_SETVIEW = 5 |
Definition at line 334 of file client.qh.
Referenced by PutClientInServer(), PutObserverInServer(), and SpectateSet().
| int team_selected |
0 is a team index, if wants_join == -1 the player can't have the team they selected (conflict)
Definition at line 75 of file client.qh.
Referenced by ClientKill_TeamChange(), Join(), and ShowTeamSelection().
| int wants_join |
| string weaponorder_byimpulse |
Definition at line 62 of file client.qh.
Referenced by ClientDisconnect(), W_FixWeaponOrder_ForceComplete_AndBuildImpulseList(), W_NextWeapon(), and W_PreviousWeapon().
| bool zoomstate |
Definition at line 72 of file client.qh.
Referenced by ClientData_Send(), SetZoomState(), and SpectateCopy().