|
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 | entcs_is_self(e) |
| #define | entcs_IsSpectating(i) |
| #define | entcs_receiver(...) |
| #define | entcs_receiver_1(i) |
| #define | entcs_receiver_2(i, v) |
| #define | EVAL_entcs_receiver(...) |
Functions | |
| entity | CSQCModel_server2csqc (int i) |
| void | entcs_attach (entity player) |
| void | entcs_detach (entity player) |
| void | entcs_force_origin (entity player) |
| float | entcs_GetAlpha (int i) |
| int | entcs_GetClientColors (int i) |
| vector | entcs_GetColor (int i) |
| int | entcs_GetHandicapLevel (int i) |
| string | entcs_GetName (int i) |
| int | entcs_GetScoreTeam (int i) |
| Same as entcs_GetTeam, but returns -1 for no team in teamplay. | |
| int | entcs_GetSpecState (int i) |
| int | entcs_GetTeam (int i) |
| int | entcs_GetTeamColor (int i) |
| int | entcs_GetWantsJoin (int i) |
| bool | entcs_IsDead (int i) |
| bool | entcs_send (entity this, entity to, int sf) |
| void | entcs_think (entity this) |
| void | entcs_update_players (entity player) |
| SHUTDOWN (_entcs) | |
| STATIC_INIT (_entcs) | |
Variables | |
| ArrayList | _entcs |
| float | alpha |
| entity | entcs |
| const int | ENTCS_SPEC_IN_SCOREBOARD = 2 |
| const int | ENTCS_SPEC_PURE = 1 |
| int | frags |
| int | handicap_level |
| bool | has_origin |
| True when origin is available. | |
| bool | has_sv_origin |
| True when a recent server sent origin has been received. | |
| bool | m_entcs_private |
| True when private information such as origin is available. | |
| int | m_forceupdate |
| bool | radar_showenemies |
| int | sv_solid |
| int | wants_join |
| #define entcs_is_self | ( | e | ) |
| #define entcs_IsSpectating | ( | i | ) |
Definition at line 76 of file ent_cs.qh.
Referenced by Draw_ShowNames_All(), and HUD_Mod_Survival().
| #define entcs_receiver | ( | ... | ) |
Definition at line 65 of file ent_cs.qh.
Referenced by Draw_ShowNames(), Draw_ShowNames_All(), Ent_RemoveEntCS(), entcs_GetClientColors(), entcs_GetHandicapLevel(), entcs_GetName(), entcs_GetSpecState(), entcs_GetWantsJoin(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), ReadEntcs(), and TrueAimCheck().
| #define entcs_receiver_1 | ( | i | ) |
| #define entcs_receiver_2 | ( | i, | |
| v ) |
| i | zero indexed player |
Definition at line 314 of file cl_model.qc.
References CSQCModel_players, entity(), entnum, findfloat(), LOG_DEBUGF, maxclients, and NULL.
Referenced by CSQC_UpdateView(), CSQCPlayer_SetCamera(), entcs_GetAlpha(), entcs_GetColor(), entcs_IsDead(), Hud_Dynamic_Frame(), Scoreboard_WouldDraw(), StrafeHUD_GetStrafeplayer(), viewloc_SetViewLocation(), viewmodel_animate(), and viewmodel_draw().
Definition at line 251 of file ent_cs.qc.
Definition at line 36 of file ent_cs.qc.
References BIT, CS(), ENTCS_PROP_ORIGIN_id, and entity().
Referenced by globalsound(), and playersound().
| i | zero indexed player |
Definition at line 167 of file ent_cs.qh.
References CSQCModel_server2csqc(), and entity().
Referenced by Draw_ShowNames().
| i | zero indexed player |
Definition at line 115 of file ent_cs.qh.
References entcs_receiver, and entity().
Referenced by CSQCPlayer_ModelAppearance_Apply(), entcs_GetColor(), entcs_GetTeamColor(), HUD_Main(), NET_HANDLE(), Scoreboard_GetName(), and viewmodel_draw().
| i | zero indexed player |
Definition at line 176 of file ent_cs.qh.
References colormapPaletteColor, CSQCModel_server2csqc(), entcs_GetClientColors(), entity(), and vector.
Referenced by Draw_GrapplingHook(), and NET_HANDLE().
| i | zero indexed player |
Definition at line 97 of file ent_cs.qh.
References entcs_receiver, and entity().
Referenced by Scoreboard_GetName().
| i | zero indexed player |
Definition at line 151 of file ent_cs.qh.
References ColorTranslateRGB(), entcs_receiver, and entity().
Referenced by Announcer_Duel(), Draw_ShowNames(), HUD_InfoMessages(), HUD_MinigameMenu_ClickInvite(), HUD_Mod_Race(), HUD_Quickmenu_PlayerListEntries(), HUD_Score_Rankings(), HUD_Scoreboard_InputEvent(), minigame_show_allspecs(), NET_HANDLE(), NET_HANDLE(), Playerchecker_Think(), Scoreboard_DrawOthers(), Scoreboard_GetName(), and Scoreboard_Rankings_Draw().
Same as entcs_GetTeam, but returns -1 for no team in teamplay.
Definition at line 141 of file ent_cs.qh.
References entcs_GetTeam(), and teamplay.
Referenced by Playerchecker_Think(), and Scoreboard_UpdatePlayerTeams().
| i | zero indexed player |
Definition at line 81 of file ent_cs.qh.
References entcs_receiver, ENTCS_SPEC_IN_SCOREBOARD, ENTCS_SPEC_PURE, entity(), FRAGS_PLAYER_OUT_OF_GAME, FRAGS_SPECTATOR, playerslots, and SOLID_NOT.
Referenced by entcs_GetTeam(), MUTATOR_HOOKFUNCTION(), and Scoreboard_DrawItem().
| i | zero indexed player |
Definition at line 133 of file ent_cs.qh.
References entcs_GetSpecState(), entcs_GetTeamColor(), ENTCS_SPEC_PURE, and NUM_SPECTATOR.
Referenced by CSQC_UpdateView(), Draw_ShowNames(), Draw_WaypointSprite(), EnemyHitCheck(), entcs_GetScoreTeam(), Scoreboard_ComparePlayerScores(), and turret_draw2d().
| i | zero indexed player |
Definition at line 125 of file ent_cs.qh.
References entcs_GetClientColors(), and teamplay.
Referenced by Draw_GrapplingHook(), and entcs_GetTeam().
| i | zero indexed player |
Definition at line 106 of file ent_cs.qh.
References entcs_receiver, and entity().
Referenced by HUD_InfoMessages(), Scoreboard_DrawItem(), and Scoreboard_DrawOthers().
| i | zero indexed player |
Definition at line 190 of file ent_cs.qh.
References CSQCModel_server2csqc(), and entity().
Referenced by Draw_ShowNames_All().
Definition at line 220 of file ent_cs.qc.
References _entcs_send(), entity(), and MSG_ENTITY.
Referenced by entcs_attach().
Definition at line 225 of file ent_cs.qc.
References BIT, ENTCS_PROP_HEALTH_id, ENTCS_PROP_ORIGIN_id, entity(), FOREACH, intermission_running, IS_PLAYER, nextthink, owner, SendFlags, and time.
Referenced by entcs_attach(), and ReadEntcs().
Definition at line 183 of file ent_cs.qc.
References CS(), ENTCS_PRIVATEMASK, entity(), FOREACH_CLIENT, and IS_PLAYER.
Referenced by MUTATOR_HOOKFUNCTION(), and PutObserverInServer().
| SHUTDOWN | ( | _entcs | ) |
| STATIC_INIT | ( | _entcs | ) |
| ArrayList _entcs |
Definition at line 56 of file ent_cs.qh.
Referenced by SHUTDOWN(), and STATIC_INIT().
| entity entcs |
Definition at line 34 of file ent_cs.qh.
Referenced by Draw_ShowNames(), Draw_ShowNames_All(), entcs_attach(), entcs_detach(), and NET_HANDLE().
| const int ENTCS_SPEC_IN_SCOREBOARD = 2 |
Definition at line 75 of file ent_cs.qh.
Referenced by entcs_GetSpecState(), and MUTATOR_HOOKFUNCTION().
| const int ENTCS_SPEC_PURE = 1 |
Definition at line 74 of file ent_cs.qh.
Referenced by entcs_GetSpecState(), entcs_GetTeam(), and Scoreboard_DrawItem().
| int frags |
Definition at line 71 of file ent_cs.qh.
Referenced by dom_controlpoint_setup(), dompoint_captured(), dompointthink(), ENTCS_PROP(), fragsfilter_use(), PutObserverInServer(), PutPlayerInServer(), and spawnfunc().
| bool has_sv_origin |
| bool m_entcs_private |
| int m_forceupdate |
Definition at line 44 of file ent_cs.qh.
Referenced by _entcs_send(), and _wepent_send().
| bool radar_showenemies |
Definition at line 50 of file ent_cs.qh.
Referenced by _entcs_send(), nb_Initialize(), and race_Initialize().
| int wants_join |
Definition at line 73 of file ent_cs.qh.
Referenced by ClientConnect(), dropclient_schedule(), ENTCS_PROP(), HUD_InfoMessages(), Join(), joinAllowed(), ObserverOrSpectatorThink(), PlayerPreThink(), PutPlayerInServer(), Scoreboard_DrawItem(), and Scoreboard_DrawOthers().