|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | CENTER_OR_VIEWOFS(ent) |
| #define | FOREACH_CLIENT(cond, body) |
| #define | FOREACH_CLIENT_RANDOM(cond, body) |
| #define | FOREACH_CLIENTSLOT(cond, body) |
| #define | IS_BOT_CLIENT(v) |
| want: (IS_CLIENT(v) && !IS_REAL_CLIENT(v)) | |
| #define | IS_CLIENT(v) |
| #define | IS_DEAD(s) |
| #define | IS_FAKE_CLIENT(v) |
| #define | IS_INVISIBLE(v) |
| #define | IS_MONSTER(v) |
| #define | IS_MOVABLE(v) |
| #define | IS_NOT_A_CLIENT(v) |
| was: (clienttype(v) == CLIENTTYPE_NOTACLIENT) | |
| #define | IS_OBSERVER(v) |
| #define | IS_PLAYER(v) |
| #define | IS_REAL_CLIENT(v) |
| #define | IS_SPEC(v) |
| #define | IS_TURRET(v) |
| #define | IS_VEHICLE(v) |
Variables | |
| entity | _FCR_clients [255] |
| bool | _FCR_entered = false |
| int | maxclients |
| const string | STR_OBSERVER = "observer" |
| const string | STR_PLAYER = "player" |
| const string | STR_SPECTATOR = "spectator" |
| #define CENTER_OR_VIEWOFS | ( | ent | ) |
Definition at line 29 of file utils.qh.
Referenced by buff_Respawn(), buff_Think(), buff_Touch(), CommonCommand_editmob(), M_Golem_Attack_Lightning(), M_Mage_Attack_Teleport(), M_Spider_Attack_Web(), monster_dropitem(), Monster_FindTarget(), Monster_Move_2D(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and RadiusDamageForSource().
| #define FOREACH_CLIENT | ( | cond, | |
| body ) |
Definition at line 50 of file utils.qh.
Referenced by _GlobalSound(), accuracy_add(), AddWinners(), anticheat_endframe(), antilag_restore_all(), antilag_takeback_all(), assault_objective_decrease_use(), autoskill(), bot_cmd_barrier(), bot_fixcount(), bot_relinkplayerlist(), bot_removefromlargestteam(), bot_removenewest(), bot_resetqueues(), bot_serverframe(), bot_setnameandstuff(), botframe_autowaypoints(), botframe_showwaypointlinks(), CA_CheckWinner(), CA_count_alive_players(), ca_LastPlayerForTeam(), CA_PreventStalemate(), CA_RoundStart(), calculate_player_respawn_time(), CampaignPreIntermission(), CheatImpulse(), CheckRules_World(), ClearWinners(), ClientData_Touch(), ClientDisconnect(), CommonCommand_who(), CountSpectators(), ctf_CaptureShield_CheckStatus(), ctf_CheckStalemate(), ctf_Handle_Pickup(), ctf_Handle_Retrieve(), ctf_Immediate_Return_Allowed(), Domination_RoundStart(), dompoint_captured(), DumpStats(), DynamicHandicap_UpdateHandicap(), EndFrame(), entcs_attach(), entcs_update_players(), find_bot_by_name(), FireRailgunBullet(), freezetag_CheckWinner(), freezetag_count_alive_players(), freezetag_Freeze(), freezetag_LastPlayerForTeam(), freezetag_Unfreeze(), GameCommand_allspec(), GameCommand_bot_cmd(), GameCommand_defer_clear_all(), GameCommand_lockteams(), GetFilteredEntity(), GetIndexedEntity(), havocbot_ctf_reset_role(), havocbot_ctf_teamcount(), havocbot_goalrating_enemyplayers(), havocbot_goalrating_ft_freeplayers(), havocbot_goalrating_item_pickable_check_players(), havocbot_goalrating_ons_controlpoints_attack(), havocbot_role_ctf_defense(), havocbot_role_ft_offense(), ignore_clearall(), ignore_list_update_on_connection(), Invasion_CheckWinner(), Invasion_RoundStart(), Item_ItemsTime_SetTimesForAllPlayers(), Item_NotifyWeapon(), Item_RespawnCountdown(), Join(), kh_GetMissingTeams(), kh_Key_Think(), kh_LoserTeam(), kh_StartRound(), kh_update_state(), lms_RemovePlayer(), lms_UpdateLeaders(), MapVote_CheckRules_count(), MapVote_ClearAllVotes(), MapVote_Finished(), MapVote_Tick(), MatchEnd_RestoreSpectatorAndTeamStatus(), 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(), 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(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), NextLevel(), nJoinAllowed(), ons_camSetup(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Icon_Think(), ons_GeneratorDamage(), ons_GeneratorThink(), Onslaught_CheckWinner(), Onslaught_RoundStart(), Pause_TryPause(), play2team(), PlayerScore_Sort(), PlayerState_detach(), PlayerStats_GameReport(), PlayerStats_GameReport_Reset_All(), PlayerStats_GetGametype(), PlayerStats_PlayerBasic(), Portal_Think(), PrintToChatTeam(), QueuedPlayersReady(), QueueNeeded(), queuePlayer(), race_ClearRecords(), race_SendTime(), race_StartCompleting(), ReadyCount(), ReadyRestart_force(), RedirectionThink(), REGISTER_MUTATOR(), reset_map(), round_handler_Think(), sandbox_ObjectFunction_Think(), sandbox_ObjectRemove(), Say(), Score_NicePrint(), Send_Effect_Except(), Send_Notification(), Set_NextMap(), SetWinners(), shuffleteams(), Spawn_Score(), SpawnCasing(), StartFrame(), Surv_CheckPlayers(), Surv_CheckWinner(), surv_LastPlayerForTeam(), Surv_RoundStart(), Surv_UpdateScores(), sv_notice_toall(), target_changelevel_use(), target_invasion_roundend_use(), target_music_use(), target_print_use(), TeamBalance_GetPlayerForTeamSwitch(), TeamBalance_GetTeamCounts(), TeamBalance_RemoveExcessPlayers(), timeout_handler_think(), vehicles_enter(), vehicles_spawn(), viewloc_think(), Violence_GibSplash_At(), visible_to_some_client(), VoteCommand_call(), VoteCount(), VoteReset(), W_MuzzleFlash(), W_Tuba_NoteThink(), WarpZone_StartFrame(), weapon_thinkf(), WinningCondition_Invasion(), WinningCondition_LMS(), WinningCondition_Race(), WinningCondition_RanOutOfSpawns(), WinningConditionHelper(), and WriteSpectators().
| #define FOREACH_CLIENT_RANDOM | ( | cond, | |
| body ) |
Definition at line 56 of file utils.qh.
Referenced by MUTATOR_HOOKFUNCTION(), shuffleteams(), and Surv_RoundStart().
| #define FOREACH_CLIENTSLOT | ( | cond, | |
| body ) |
Definition at line 40 of file utils.qh.
Referenced by Ban_Enforce(), and Score_ClearAll().
| #define IS_BOT_CLIENT | ( | v | ) |
want: (IS_CLIENT(v) && !IS_REAL_CLIENT(v))
Definition at line 15 of file utils.qh.
Referenced by bot_clientconnect(), bot_clientdisconnect(), bot_relinkplayerlist(), bot_serverframe(), bot_setnameandstuff(), bot_shouldattack(), ClientConnect(), CommonCommand_who(), DumpStats(), find_bot_by_name(), find_bot_by_number(), frag_centermessage_override(), GameCommand_bot_cmd(), jumppad_push(), MayhemCalculatePlayerScore(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), navigation_findnearestwaypoint_withdist_except(), Obituary(), ObserverOrSpectatorThink(), ons_Teleport(), PlayerDamage(), PlayerStats_GameReport_AddPlayer(), PlayerStats_GameReport_FinalizePlayer(), PutPlayerInServer(), reset_map(), SetPlayerTeam(), SetSpectatee(), sys_phys_ai(), TeamBalance_CheckAllowedTeams(), TeamBalance_GetPlayerForTeamSwitch(), TeamBalance_GetTeamCounts(), TeleportPlayer(), vehicles_enter(), vehicles_valid_pilot(), VerifyClientEntity(), and WarpZone_TeleportPlayer().
| #define IS_CLIENT | ( | v | ) |
| #define IS_DEAD | ( | s | ) |
| #define IS_FAKE_CLIENT | ( | v | ) |
Definition at line 16 of file utils.qh.
Referenced by StartFrame().
| #define IS_INVISIBLE | ( | v | ) |
Definition at line 27 of file utils.qh.
Referenced by ctf_Stalemate_Customize(), ka_ballcarrier_waypointsprite_visible_for_player(), kh_KeyCarrier_waypointsprite_visible_for_player(), and tka_ballcarrier_waypointsprite_visible_for_player().
| #define IS_MONSTER | ( | v | ) |
Definition at line 21 of file utils.qh.
Referenced by CommonCommand_editmob(), ctf_Handle_Return(), Damage(), havocbot_movetogoal(), M_Mage_Defend_Heal_Check(), Monster_Attack_Leap(), Monster_Attack_Leap_Check(), Monster_Attack_Melee(), monster_makevectors(), Monster_Move_2D(), Monster_Touch(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_ammo_touch(), nade_heal_touch(), nade_ice_think(), PlayerDamage(), set_tracewalk_dest(), vehicles_crushable(), W_Arc_Beam_Think(), W_HitPlotAnalysis(), and W_Shotgun_Melee_Think().
| #define IS_MOVABLE | ( | v | ) |
Definition at line 25 of file utils.qh.
Referenced by navigation_goalrating_timeout_can_be_anticipated(), navigation_goalrating_timeout_set(), navigation_routetogoal(), and navigation_shortenpath().
| #define IS_NOT_A_CLIENT | ( | v | ) |
| #define IS_OBSERVER | ( | v | ) |
Definition at line 11 of file utils.qh.
Referenced by bot_relinkplayerlist(), bot_think(), ClientCommand_kill(), ClientCommand_spectate(), ClientCommand_voice(), ClientKill_Now(), GameCommand_moveplayer(), minigame_addplayer(), Monster_Move(), Monster_ValidTarget(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), PlayerFrame(), PlayerPostThink(), PlayerPreThink(), PutClientInServer(), race_SpeedAwardFrame(), Say(), SpectateUpdate(), turret_hk_missile_think(), WarpZone_StartFrame(), and write_damagetext().
| #define IS_PLAYER | ( | v | ) |
| #define IS_REAL_CLIENT | ( | v | ) |
Definition at line 17 of file utils.qh.
Referenced by _GlobalSound(), antilag_getlag(), autoskill(), Ban_Enforce(), bot_fixcount(), bot_serverframe(), botframe_autowaypoints(), bumblebee_gunner_enter(), bumblebee_gunner_exit(), CA_count_alive_players(), CampaignPreIntermission(), client_hasweapon(), ClientCommand_ignore(), ClientCommand_tell(), ClientCommand_unignore(), ClientConnect(), ClientData_Touch(), ClientDisconnect(), ClientKill_TeamChange(), CountSpectators(), CSQCVehicleSetup(), ctf_CaptureShield_Touch(), ctf_CheckStalemate(), ctf_FlagcarrierWaypoints(), ctf_Handle_Retrieve(), dompoint_captured(), DumpStats(), EndFrame(), entcs_attach(), FireRailgunBullet(), FixIntermissionClient(), freezetag_count_alive_players(), func_breakable_init_for_player(), func_rotating_init_for_player(), func_vectormamamam_init_for_player(), GameCommand_allspec(), globalsound(), havocbot_goalrating_item_pickable_check_players(), ignore_clearall(), ignore_list_update_on_connection(), IntermissionThink(), IT_Write(), Item_ItemsTime_SetTimesForAllPlayers(), Item_NotifyWeapon(), Item_RespawnCountdown(), join_minigame(), jumppad_push(), KillIndicator_Think(), MapVote_CheckRules_count(), MapVote_Finished(), MapVote_Tick(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_darkness_think(), nade_entrap_touch(), nade_touch(), nade_veil_touch(), nades_GiveBonus(), Notification_ShouldSend(), ons_CaptureShield_Touch(), ons_GeneratorDamage(), ons_GeneratorThink(), OriginalCallerName(), Pause_TryPause(), Physics_ClientOption(), PingPLReport_Think(), play2team(), play_countdown(), Player_DetermineForcedTeam(), PlayerDamage(), PlayerFrame(), PlayerInIPList(), PlayerPreThink(), playersound(), PlayerStats_GameReport_FinalizePlayer(), PlayerStats_PlayerBasic(), PrintToChatTeam(), PutClientInServer(), PutObserverInServer(), QueuedPlayersReady(), QueueNeeded(), race_ClearTime(), race_ImposePenaltyTime(), race_SendAll(), race_SendNextCheckpoint(), race_SendStatus(), race_SendTime(), ReadyCount(), ReadyRestart_force(), RedirectionThink(), sandbox_ObjectFunction_Think(), sandbox_ObjectRemove(), Say(), Send_Effect_Except(), Send_Notification(), Set_NextMap(), SetSpectatee_status(), sound_allowed(), Spawn_Score(), start_minigame(), StartFrame(), SUB_UseTargets_Ex(), sv_notice_toall(), SV_PlayerPhysics(), target_changelevel_use(), target_invasion_roundend_use(), target_music_use(), target_print_use(), target_speaker_use_activator(), TeamBalance_CompareTeamsInternal(), TeamBalance_RemoveExcessPlayers(), timeout_handler_think(), tracebox_antilag_force_wz(), UpdateAuxiliaryXhair(), vehicles_enter(), vehicles_exit(), VerifyClientEntity(), VerifyKickableEntity(), Violence_GibSplash_At(), visible_to_some_client(), VoteCommand_call(), VoteCount(), W_HitPlotAnalysis(), W_Reload(), W_Tuba_NoteThink(), WarpZone_PlayerPhysics_FixVAngle(), wframe_send(), WinningCondition_LMS(), WinningConditionHelper(), and WriteSpectators().
| #define IS_SPEC | ( | v | ) |
Definition at line 10 of file utils.qh.
Referenced by accuracy_add(), accuracy_send(), CL_Weaponentity_CustomizeEntityForClient(), ClientCommand_kill(), ClientCommand_spectate(), ClientCommand_voice(), ClientData_Send(), ClientData_Touch(), ClientDisconnect(), ClientKill_Now(), CountSpectators(), EndFrame(), FireRailgunBullet(), GameCommand_moveplayer(), Item_NotifyWeapon(), ka_ballcarrier_waypointsprite_visible_for_player(), kh_Key_waypointsprite_visible_for_player(), kh_KeyCarrier_waypointsprite_visible_for_player(), lms_waypointsprite_visible_for_player(), Monster_Move(), Monster_ValidTarget(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_customize(), Notification_ShouldSend(), ObserverOrSpectatorThink(), PlayerFrame(), PlayerPreThink(), Portal_Customize(), race_SendTime(), ReadyRestart_force(), Send_Effect_Except(), SpawnCasing(), SpawnEvent_Send(), target_music_use(), tka_ballcarrier_waypointsprite_visible_for_player(), turret_hk_missile_think(), W_Arc_Beam_Send(), W_MuzzleFlash(), WaypointSprite_getviewentity(), weapon_thinkf(), write_damagetext(), and WriteSpectators().
| #define IS_TURRET | ( | v | ) |
Definition at line 23 of file utils.qh.
Referenced by Damage(), MUTATOR_HOOKFUNCTION(), Teleport_Active(), and vehicles_locktarget().
| #define IS_VEHICLE | ( | v | ) |
Definition at line 22 of file utils.qh.
Referenced by bumblebee_pilot_frame(), checkpoint_passed(), CreatureFrame_FallDamage(), Damage(), football_touch(), GrapplingHookThink(), isPushable(), Monster_ValidTarget(), MUTATOR_HOOKFUNCTION(), nade_entrap_touch(), nade_heal_touch(), nade_veil_touch(), ons_ControlPoint_Touch(), PlayerFrame(), PlayerUseKey(), Portal_Touch(), turret_validate_target(), vehicles_locktarget(), and WarpZone_Teleport().
| const string STR_OBSERVER = "observer" |
Definition at line 7 of file utils.qh.
Referenced by Observer::Observer(), and dropclient_schedule().
| const string STR_PLAYER = "player" |
Definition at line 5 of file utils.qh.
Referenced by Player::Player(), CA_SpectateNext(), SpectateNext(), SpectatePrev(), and sys_phys_spectator_control().
| const string STR_SPECTATOR = "spectator" |
Definition at line 6 of file utils.qh.
Referenced by Spectator::Spectator().