|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Classes | |
| class | ClientState |
| Purpose: common client state, usable on client and server Client: singleton representing the viewed player Server: instance per client. More... | |
| class | PlayerState |
| Purpose: common player state, usable on client and server Client: singleton representing the viewed player Server: instance per client, clients decoupled from players. More... | |
Macros | |
| #define | CS_CVAR(this) |
| #define | PS(this) |
Functions | |
| void | ClientState_attach (entity this) |
| void | ClientState_detach (entity this) |
| ClientState | CS (Client this) |
| void | PlayerState_attach (entity this) |
| void | PlayerState_detach (entity this) |
Variables | |
| ClientState | _cs |
| PlayerState | _ps |
| #define CS_CVAR | ( | this | ) |
Definition at line 51 of file state.qh.
Referenced by _GlobalSound(), accuracy_send(), antilag_getlag(), bot_setclientfields(), buff_Touch(), buff_Waypoint_visible_for_player(), ClientCommand_autoswitch(), ClientCommand_physics(), ClientCommand_sentcvar(), ClientDisconnect(), ClientState_detach(), for(), GiveItems(), Handicap_GetVoluntaryHandicap(), IntermissionThink(), Item_GiveTo(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_prime(), ObserverOrSpectatorThink(), Physics_ClientOption(), PlayerFrame(), PlayerStats_GameReport_AddPlayer(), PlayerStats_GameReport_FinalizePlayer(), PlayerThink(), PutPlayerInServer(), race_checkAndWriteName(), race_setTime(), SpawnCasing(), tracebox_antilag(), traceline_antilag(), W_FixWeaponOrder_ForceComplete_AndBuildImpulseList(), W_NextWeapon(), W_NextWeaponOnImpulse(), W_PreviousWeapon(), W_SetupShot_Dir_ProjectileSize_Range(), W_SwitchWeapon(), W_SwitchWeapon_TryOthers(), WarpZone_tracebox_antilag(), and WarpZone_traceline_antilag().
| #define PS | ( | this | ) |
Definition at line 18 of file state.qh.
Referenced by client_hasweapon(), door_check_keys(), fireBullet_falloff(), Inventory_customize(), Inventory_pickupitem(), item_key_touch(), PlayerDamage(), PlayerState_attach(), PlayerState_detach(), PutClientInServer(), PutPlayerInServer(), reset_map(), SpectateCopy(), trigger_keylock_touch(), and W_WeaponFrame().
Definition at line 46 of file state.qc.
Definition at line 73 of file state.qc.
References _cs, accuracy_free(), anticheat_report_to_eventlog(), bot_clientdisconnect(), ClientData_Detach(), CS(), CS_CVAR, entcs_detach(), entity(), GetCvars(), InventoryStorage_delete(), NULL, PlayerScore_Detach(), StatusEffectsStorage_delete(), and W_HitPlotClose().
Referenced by ClientDisconnect().
| ClientState CS | ( | Client | this | ) |
Definition at line 47 of file state.qh.
References _cs, assert, and TC.
Referenced by accuracy_add(), accuracy_free(), accuracy_init(), accuracy_resend(), accuracy_reset(), accuracy_send(), anticheat_fixangle(), anticheat_init(), anticheat_physics(), anticheat_prethink(), anticheat_report_to_eventlog(), anticheat_report_to_playerstats(), anticheat_spectatecopy(), antilag_restore_all(), antilag_takeback_all(), BanCommand_mute(), BanCommand_unmute(), bot_cmd_impulse(), bot_cmd_pause(), bot_presskeys(), bot_think(), bumblebee_exit(), bumblebee_pilot_frame(), ChatBubbleThink(), client_hasweapon(), ClientCommand_clientversion(), ClientCommand_join(), ClientCommand_minigame(), ClientConnect(), ClientData_Attach(), ClientData_Detach(), ClientData_Send(), ClientData_Touch(), ClientDisconnect(), ClientState_detach(), CommonCommand_timeout(), CommonCommand_who(), crosshair_trace(), ctf_FlagThink(), Damage(), DecodeLevelParms(), Drag(), DumpStats(), EndFrame(), entcs_attach(), entcs_detach(), entcs_force_origin(), entcs_update_players(), FireImoBeam(), FireRailgunBullet(), FixPlayermodel(), frag_centermessage_override(), GetPlayerScoreString(), GetPressedKeys(), Handicap_GetForcedHandicap(), Handicap_Initialize(), Handicap_SetForcedHandicap(), havocbot_ai(), havocbot_ctf_reset_role(), havocbot_keyboard_movement(), havocbot_movetogoal(), Heal(), ImpulseCommands(), invite_minigame(), joinAllowed(), lms_RemovePlayer(), MapVote_Tick(), minigame_addplayer(), minigame_find_player(), MinigameImpulse(), multi_touch(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), Obituary(), ObserverOrSpectatorThink(), part_minigame(), PingPLReport_Think(), player_clear_minigame(), Player_Physics(), PlayerDamage(), PlayerFrame(), PlayerPostThink(), PlayerPreThink(), PlayerScore_Add(), PlayerScore_Attach(), PlayerScore_Clear(), PlayerScore_Detach(), PlayerScore_PlayerStats(), PlayerScore_Set(), PlayerScore_Sort(), PlayerStats_GameReport_FinalizePlayer(), PlayerTeamScore_Compare(), PlayerThink(), PM_check_specialcommand(), PutObserverInServer(), PutPlayerInServer(), race_AbandonRaceCheck(), race_GetFractionalLapCount(), race_SendTime(), racer_exit(), RadiusDamageForSource(), raptor_exit(), raptor_frame(), ReadyRestart_force(), reset_map(), Say(), Score_ClearAll(), Score_NicePrint_Player(), ScoreInfo_SendEntity(), SendWelcomeMessage(), SetChangeParms(), SetPlayerTeam(), SetSpectatee_status(), SetZoomState(), SpectateCopy(), spiderbot_exit(), spiderbot_frame(), SV_ParseClientCommand(), SV_PlayerPhysics(), sys_phys_monitor(), sys_phys_override(), sys_phys_spectator_control(), TeamBalance_RemoveExcessPlayers(), vehicles_enter(), W_HitPlotAnalysis(), W_HitPlotClose(), W_HitPlotOpen(), W_Nexball_Touch(), W_SetupShot_Dir_ProjectileSize_Range(), W_Tuba_GetNote(), WarpZone_crosshair_trace(), WarpZone_PlayerPhysics_FixVAngle(), WinningCondition_Race(), and WinningConditionHelper().
Definition at line 12 of file state.qc.
References _ps, entity(), Inventory_new(), NEW, and PS.
Referenced by PutPlayerInServer().
Definition at line 22 of file state.qc.
References entity(), FOREACH_CLIENT, Inventory_clear(), Inventory_delete(), inventory_store, NULL, and PS.
Referenced by PutObserverInServer().
| ClientState _cs |
Definition at line 42 of file state.qh.
Referenced by ClientState_attach(), ClientState_detach(), and CS().
| PlayerState _ps |
Definition at line 17 of file state.qh.
Referenced by CopyBody(), and PlayerState_attach().