|
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 | getcommandkey(cmd_name, command) |
| #define | getcommandkey_forcename(cmd_name, command) |
| #define | ISGAMETYPE(NAME) |
| #define | player_currententnum (spectatee_status > 0 ? spectatee_status : player_localnum + 1) |
Functions | |
| string | _getcommandkey (string text, string command, bool forcename) |
| void | AuditLists () |
| AUTOCVAR_SAVE (cl_race_checkpoint_splits_console, bool, 1, "print checkpoint splits to console") | |
| AUTOCVAR_SAVE (cl_race_cptimes_namesize, float, 10, "maximum player name length in race checkpoint messages") | |
| AUTOCVAR_SAVE (cl_race_cptimes_showspeed, bool, 0, "show race checkpoint speed (NOTE: ignores vertical speed)") | |
| AUTOCVAR_SAVE (cl_race_cptimes_showspeed_unit, bool, 1, "show race checkpoint speed units") | |
| void | Ent_Remove (entity this) |
| void | Fog_Force () |
| void | Gametype_Init () |
| string | GetSpeedUnit (int speed_unit) |
| float | GetSpeedUnitFactor (int speed_unit) |
| entity | GetTeam (int Team, bool add) |
| void | ignore_list_apply () |
| void | MoveToLast (entity e) |
| void | PostInit () |
| float | RegisterPlayer (entity player) |
| float | RegisterTeam (entity Team) |
| void | Release_Common_Keys () |
| void | RemovePlayer (entity player) |
| void | RemoveTeam (entity Team) |
| bool | SetTeam (entity pl, int Team) |
| STATIC_INIT (main) | |
| void (entity) draw | |
| void | Welcome_Message_Show_Try () |
| #define getcommandkey | ( | cmd_name, | |
| command ) |
Definition at line 137 of file main.qh.
Referenced by HUD_InfoMessages(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), net_handle_ServerWelcome(), Scoreboard_Draw(), Vehicles_drawHUD(), and Weapons_Draw().
| #define getcommandkey_forcename | ( | cmd_name, | |
| command ) |
| #define ISGAMETYPE | ( | NAME | ) |
Definition at line 46 of file main.qh.
Referenced by HUD_Checkpoints(), HUD_Mod_Race(), HUD_Timer_Color(), 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(), and MUTATOR_HOOKFUNCTION().
| #define player_currententnum (spectatee_status > 0 ? spectatee_status : player_localnum + 1) |
Definition at line 200 of file main.qh.
Referenced by NET_HANDLE(), and NET_HANDLE().
Definition at line 1507 of file main.qc.
References argv(), autocvar_hud_showbinds, autocvar_hud_showbinds_limit, binddb, cmd_name, cons_mid(), cvar(), db_get(), db_put(), keynumtostring(), startsWith, stof(), tokenize(), and translate_key().
| void AuditLists | ( | ) |
Definition at line 225 of file main.qc.
References entity(), error, players, prev, strcat(), and teams.
Referenced by MoveToLast(), RegisterPlayer(), RegisterTeam(), RemovePlayer(), and RemoveTeam().
| AUTOCVAR_SAVE | ( | cl_race_checkpoint_splits_console | , |
| bool | , | ||
| 1 | , | ||
| "print checkpoint splits to console" | ) |
| AUTOCVAR_SAVE | ( | cl_race_cptimes_namesize | , |
| float | , | ||
| 10 | , | ||
| "maximum player name length in race checkpoint messages" | ) |
| AUTOCVAR_SAVE | ( | cl_race_cptimes_showspeed | , |
| bool | , | ||
| 0 | , | ||
| "show race checkpoint speed (NOTE: ignores vertical speed)" | ) |
Definition at line 943 of file main.qc.
References autocvar_cl_jetpack_attenuation, classname, entity(), enttype, func_null(), skeletonindex, snd_looping, sound, and VOL_BASE.
Referenced by CSQC_Ent_Remove(), CSQC_Ent_Update(), and NET_HANDLE().
| void Fog_Force | ( | ) |
Definition at line 1037 of file main.qc.
References autocvar_cl_orthoview, autocvar_cl_orthoview_nofog, autocvar_r_drawfog, autocvar_r_fog_exp2, cvar_set(), forcefog, and localcmd().
Referenced by CSQC_UpdateView().
| void Gametype_Init | ( | ) |
Definition at line 978 of file main.qc.
References calledhooks, gametype, HOOK_START, isdemo(), localcmd(), and MapInfo_Type_ToString().
Referenced by NET_HANDLE().
Definition at line 1122 of file main.qc.
References strcat().
Referenced by HUD_Checkpoints(), HUD_Physics(), HUD_RaceTimer(), Scoreboard_Draw(), and StrafeHUD_DrawStartSpeed().
Definition at line 1109 of file main.qc.
Referenced by HUD_Checkpoints(), HUD_Physics(), HUD_RaceTimer(), Scoreboard_Draw(), and StrafeHUD_DrawStartSpeed().
Definition at line 332 of file main.qc.
References entity(), new_pure, NULL, NUM_SPECTATOR, RegisterTeam(), TC, team, and teamslots.
Referenced by CSQC_Init(), HUD_InfoMessages(), NET_HANDLE(), and SetTeam().
| void ignore_list_apply | ( | ) |
Definition at line 672 of file main.qc.
References entity(), FOREACH_WORD, ignore_list, ignore_list_apply_time, players, stoi, strfree, and time.
Referenced by CSQC_UpdateView(), and NET_HANDLE().
Definition at line 280 of file main.qc.
References AuditLists(), entity(), and SORT_SWAP.
| void PostInit | ( | ) |
Definition at line 463 of file main.qc.
References entity(), new_pure, Playerchecker_Think(), postinit, setthink, time, and TrueAim_Init().
Referenced by CSQC_UpdateView(), and NET_HANDLE().
Definition at line 245 of file main.qc.
References AuditLists(), entity(), error, and players.
Referenced by Playerchecker_Think().
Definition at line 292 of file main.qc.
References assert_once, AuditLists(), entity(), eprint(), error, NUM_SPECTATOR, team_count, and teams.
Referenced by GetTeam().
| void Release_Common_Keys | ( | ) |
Definition at line 477 of file main.qc.
References localcmd().
Referenced by HUD_Radar_Show_Maximized(), QuickMenu_Open(), and Scoreboard_UI_Enable().
Definition at line 261 of file main.qc.
References AuditLists(), entity(), error, parent, and players.
Referenced by Playerchecker_Think().
Definition at line 311 of file main.qc.
References AuditLists(), entity(), LOG_INFO, NUM_SPECTATOR, parent, team_count, and teams.
Definition at line 348 of file main.qc.
References entity(), GetTeam(), LOG_TRACEF, NULL, NUM_SPECTATOR, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, TC, and teamplay.
Referenced by Ent_RemovePlayerScore(), Playerchecker_Think(), and Scoreboard_UpdatePlayerTeams().
| STATIC_INIT | ( | main | ) |
Definition at line 96 of file main.qh.
References g_damagetext, g_drawables, g_drawables_2d, g_radaricons, g_radarlinks, IL_NEW, and main.
| void Welcome_Message_Show_Try | ( | ) |
Definition at line 1462 of file main.qc.
References autocvar_cl_welcome, cvar(), hostname, intermission, isdemo(), localcmd(), MakeConsoleSafe(), strcat(), strfree, time, welcome_msg, and welcome_msg_menu_check_maxtime.
Referenced by CSQC_UpdateView().
| const float ALPHA_MIN_VISIBLE = 0.003 |
Definition at line 158 of file main.qh.
Referenced by Casing_Draw(), Draw_ShowNames(), Gib_Draw(), ModelEffect_Draw(), RaptorCBShellfragDraw(), and turret_gib_draw().
| float armorblockpercent |
Definition at line 160 of file main.qh.
Referenced by crosshair_getcolor(), HUD_HealthArmor(), and NET_HANDLE().
| bool autocvar__hud_showbinds_reload |
Definition at line 13 of file main.qh.
Referenced by CSQC_UpdateView().
| bool autocvar_cl_autodemo_delete |
Definition at line 32 of file main.qh.
Referenced by HUD_Mod_Race(), and NET_HANDLE().
| bool autocvar_cl_autodemo_delete_keepmatches |
Definition at line 33 of file main.qh.
Referenced by NET_HANDLE().
| bool autocvar_cl_db_saveasdump |
Definition at line 6 of file main.qh.
Referenced by Shutdown().
| bool autocvar_cl_race_cptimes_onlyself |
Definition at line 29 of file main.qh.
Referenced by NET_HANDLE().
Definition at line 30 of file main.qh.
Referenced by MakeRaceString().
Definition at line 10 of file main.qh.
Referenced by View_CheckButtonStatus().
Definition at line 8 of file main.qh.
Referenced by View_CheckButtonStatus().
Definition at line 7 of file main.qh.
Referenced by NET_HANDLE().
Definition at line 9 of file main.qh.
Referenced by View_CheckButtonStatus().
Definition at line 31 of file main.qh.
Referenced by Welcome_Message_Show_Try().
| bool autocvar_developer_csqcentities |
Definition at line 14 of file main.qh.
Referenced by CSQC_Ent_Remove(), CSQC_Parse_CenterPrint(), CSQC_Parse_Print(), CSQC_Parse_StuffCmd(), and CSQC_Parse_TempEntity().
| bool autocvar_hud_showbinds |
Definition at line 11 of file main.qh.
Referenced by _getcommandkey().
| bool autocvar_hud_showbinds_limit |
Definition at line 12 of file main.qh.
Referenced by _getcommandkey().
Definition at line 34 of file main.qh.
Referenced by CSQC_InputEvent().
| int binddb |
Definition at line 191 of file main.qh.
Referenced by _getcommandkey(), CSQC_Init(), CSQC_UpdateView(), and Shutdown().
| bool button_attack2 |
Definition at line 116 of file main.qh.
Referenced by CSQC_UpdateView(), and View_CheckButtonStatus().
| bool button_zoom |
Definition at line 113 of file main.qh.
Referenced by CSQC_UpdateView(), DrawReticle(), IsZooming(), NET_HANDLE(), and View_CheckButtonStatus().
| int calledhooks |
Definition at line 164 of file main.qh.
Referenced by CSQC_Init(), CSQC_UpdateView(), Gametype_Init(), and Shutdown().
| float camera_active |
Definition at line 153 of file main.qh.
Referenced by ConsoleCommand_macro_movement(), GetCurrentFov(), HUD_Crosshair(), Shutdown(), and View_DemoCamera().
| vector camera_direction |
Definition at line 156 of file main.qh.
Referenced by CSQC_Demo_Camera().
| float camera_roll |
Definition at line 155 of file main.qh.
Referenced by CSQC_Demo_Camera().
| bool campaign |
Definition at line 122 of file main.qh.
Referenced by net_handle_ServerWelcome(), and Scoreboard_Draw().
| float chase_active_backup |
Definition at line 154 of file main.qh.
Referenced by Shutdown(), and View_DemoCamera().
| int ClientProgsDB |
Definition at line 204 of file main.qh.
Referenced by CSQC_Init(), HUD_Mod_Race(), and Shutdown().
| float current_viewzoom = 1 |
Definition at line 118 of file main.qh.
Referenced by CSQCModel_LOD_Apply(), GetCurrentFov(), and NET_HANDLE().
| float current_zoomfraction |
Definition at line 148 of file main.qh.
Referenced by DrawReticle(), GetCurrentFov(), and HUD_Radar_GetZoomFactor().
| float damagepush_speedfactor |
Definition at line 161 of file main.qh.
Referenced by NET_HANDLE(), and NET_HANDLE().
| float drawframetime |
Definition at line 108 of file main.qh.
Referenced by CSQC_UpdateView(), doBGMScript(), GetCurrentFov(), and HUD_Contents().
| int enttype |
Definition at line 185 of file main.qh.
Referenced by CSQC_Ent_Remove(), CSQC_Ent_Update(), Ent_Remove(), and NET_HANDLE().
| int framecount |
Definition at line 180 of file main.qh.
Referenced by CSQC_UpdateView(), and CSQCModel_Hook_PreDraw().
| IntrusiveList g_damagetext |
Definition at line 93 of file main.qh.
Referenced by DamageText::DamageText(), CSQC_UpdateView(), DamageText::DamageText_draw2d(), NET_HANDLE(), and STATIC_INIT().
| IntrusiveList g_drawables |
Definition at line 91 of file main.qh.
Referenced by cpicon_construct(), CSQC_UpdateView(), electro_orb_setup(), generator_construct(), LocalCommand_debugmodel(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), ons_generator_ray_draw(), ons_generator_ray_spawn(), orb_setup(), RaptorCBShellfragToss(), STATIC_INIT(), STATIC_INIT(), TossGib(), and turret_construct().
| IntrusiveList g_drawables_2d |
Definition at line 92 of file main.qh.
Referenced by DebugText3d::DebugText3d(), CSQC_UpdateView(), Ent_WaypointSprite(), NET_HANDLE(), NET_HANDLE(), orb_setup(), STATIC_INIT(), and turret_construct().
| IntrusiveList g_radaricons |
Definition at line 95 of file main.qh.
Referenced by Ent_WaypointSprite(), HUD_Radar(), and STATIC_INIT().
| IntrusiveList g_radarlinks |
Definition at line 94 of file main.qh.
Referenced by HUD_Radar(), NET_HANDLE(), and STATIC_INIT().
| float g_trueaim_minrange |
Definition at line 171 of file main.qh.
Referenced by Draw_ArcBeam(), NET_HANDLE(), and TrueAimCheck().
| entity gametype |
Definition at line 43 of file main.qh.
Referenced by Announcer(), Announcer_Gamestart(), Cmd_Scoreboard_SetFields(), CSQC_Init(), CSQCPlayer_ModelAppearance_Apply(), DoesQ3ARemoveThisEntity(), Gametype_Init(), HUD_Draw(), HUD_ModIcons_SetFunc(), HUD_Reset(), NET_HANDLE(), net_handle_ServerWelcome(), PlayerStats_PlayerBasic_Handler(), PlayerStats_PlayerDetail_Handler(), Scoreboard_Draw(), SERVER_COMMAND(), target_changelevel_use(), and XonoticStatsList_getStats().
| string gametype_custom_name |
Definition at line 44 of file main.qh.
Referenced by NET_HANDLE(), Scoreboard_Draw(), and Shutdown().
| string grecordholder[RANKINGS_CNT] |
Definition at line 81 of file main.qh.
Referenced by NET_HANDLE(), race_CheckName(), and Scoreboard_Rankings_Draw().
| float grecordtime[RANKINGS_CNT] |
Definition at line 82 of file main.qh.
Referenced by NET_HANDLE(), and Scoreboard_Rankings_Draw().
| const int HOOK_END = 2 |
Definition at line 166 of file main.qh.
Referenced by CSQC_UpdateView(), and Shutdown().
| const int HOOK_INTERMISSION = 4 |
Definition at line 167 of file main.qh.
Referenced by CSQC_UpdateView().
| vector hook_shotorigin[4] |
Definition at line 205 of file main.qh.
Referenced by ClientInit_misc(), Draw_GrapplingHook(), FireGrapplingHook(), GrapplingHookThink(), NET_HANDLE(), and PRECACHE().
| const int HOOK_START = 1 |
Definition at line 165 of file main.qh.
Referenced by CSQC_UpdateView(), Gametype_Init(), and Shutdown().
| string hostname |
Definition at line 123 of file main.qh.
Referenced by net_handle_ServerWelcome(), and Welcome_Message_Show_Try().
| int hud |
Definition at line 173 of file main.qh.
Referenced by CLIENT_COMMAND(), crosshair_getcolor(), CSQC_UpdateView(), DrawReticle(), HUD_Ammo(), HUD_Crosshair(), HUD_Crosshair_Vehicle(), HUD_HealthArmor(), HUD_Vehicle(), HUD_Weapons(), IsZooming(), ItemDraw(), sys_phys_override(), turret_draw2d(), and View_EventChase().
| vector hud_fontsize |
Definition at line 77 of file main.qh.
Referenced by centerprint_SetDuelTitle(), Cmd_Scoreboard_SetFields(), DamageText::DamageText_draw2d(), GameTypeVote_DrawGameTypeItem(), HUD_CenterPrint(), HUD_Checkpoints(), HUD_MinigameHelp(), HUD_MinigameMenu(), HUD_MinigameMenu_CurrentButton(), HUD_MinigameMenu_Open(), HUD_MinigameMenu_SpawnSubEntry(), MakeRaceString(), MapStats_DrawKeyValue(), MapVote_Draw(), MapVote_DrawAbstain(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), minigame_show_allspecs(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_FixColumnWidth(), Scoreboard_ItemStats_Draw(), Scoreboard_MakeTable(), Scoreboard_MapStats_Draw(), Scoreboard_Rankings_Draw(), Scoreboard_Spectators_Draw(), and Vehicles_drawHUD().
| string ignore_list |
Definition at line 130 of file main.qh.
Referenced by ClientDisconnect(), ignore_add_player(), ignore_list_apply(), ignore_playerinlist(), ignore_remove_player(), and NET_HANDLE().
| bool ignore_list_apply_time |
Definition at line 131 of file main.qh.
Referenced by CSQC_UpdateView(), and ignore_list_apply().
| const int MAX_SPECTATORS = 7 |
Definition at line 177 of file main.qh.
Referenced by HUD_InfoMessages(), and NET_HANDLE().
| vector mi_center |
Definition at line 37 of file main.qh.
Referenced by CSQC_Init(), and HUD_Radar().
| vector mi_scale |
Definition at line 38 of file main.qh.
Referenced by CSQC_Init(), HUD_Radar(), and WaypointSprite_Load().
| string minimapname |
Definition at line 40 of file main.qh.
Referenced by CSQC_Init(), draw_teamradar_background(), and HUD_Radar().
| int num_spectators |
Definition at line 176 of file main.qh.
Referenced by HUD_InfoMessages(), and NET_HANDLE().
| bool observe_blocked |
Definition at line 115 of file main.qh.
Referenced by HUD_InfoMessages(), and NET_HANDLE().
| entity owner |
Definition at line 87 of file main.qh.
Referenced by _entcs_send(), _wepent_send(), accuracy_send(), AuxiliaryXhair_customize(), ball_customize(), ball_restart(), bd_check_winner(), bd_controller_send(), bd_find_controller(), bd_find_dozer(), bd_find_piece(), bd_move(), bd_reset_moves(), bd_save_level(), bd_server_event(), bd_setup_pieces(), beam_think(), buff_Reset(), buff_Think(), buff_Touch(), buff_Vengeance_DelayedDamage(), buff_Waypoint_visible_for_player(), buffs_BuffModel_Customize(), buffs_BuffModel_Think(), bumblebee_blowup(), bumblebee_exit(), bumblebee_gunner_exit(), c4_find_piece(), c4_server_event(), ChatBubbleThink(), CL_ExteriorWeaponentity_Think(), CL_Weaponentity_CustomizeEntityForClient(), CL_WeaponEntity_SetModel(), CL_Weaponentity_Think(), classfield(), ClientData_Send(), cpicon_send(), ctf_FlagBase_Customize(), ctf_FlagThink(), ctf_Reset(), ctf_Return_Customize(), ctf_Stalemate_Customize(), DamageEffect_Think(), deactivate_minigame(), defer_think(), dompoint_captured(), dompointtouch(), door_damage(), door_touch(), door_trigger_touch(), door_use(), Draw_GrapplingHook(), dropclient_do(), DropOwner(), dynlight_find_aiment(), dynlight_find_target(), dynlight_think(), end_minigame(), Ent_RemovePlayerScore(), entcs_think(), freezetag_Ice_Think(), Frozen_ice_think(), func_bobbing_controller_think(), func_breakable_damage(), func_breakable_destroy(), func_fourier_controller_think(), func_pendulum_controller_think(), func_vectormamamam_controller_think(), Inventory_Send(), Item_Touch(), ka_ballcarrier_waypointsprite_visible_for_player(), ka_BallThink_Carried(), ka_TouchEvent(), kh_Key_Damage(), kh_Key_Think(), kh_Key_Touch(), kh_Key_waypointsprite_visible_for_player(), kh_KeyCarrier_waypointsprite_visible_for_player(), KillIndicator_Think(), LinkDoors(), M_Mage_Attack_Spike_Think(), minigame_CheckSend(), minigame_count_players(), minigame_player_entremove(), minigame_read_owner(), minigame_resend(), minigame_SendEntity(), Monster_Delay_Action(), nade_ammo_boom(), nade_darkness_boom(), nade_entrap_boom(), nade_heal_boom(), nade_ice_boom(), nade_napalm_ball(), nade_napalm_boom(), nade_timer_think(), nade_veil_boom(), nb_Goal_Customize(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), Net_Notification_Remove(), nmm_find_piece(), nmm_find_tile(), nmm_kill_tiles(), nmm_server_event(), nmm_tile_canmove(), ons_ControlPoint_Icon_BuildThink(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Icon_Think(), ons_MonsterSpawn_Delayed(), ons_TurretSpawn_Delayed(), pathlib_deletepath(), pathlib_getbestopen(), physical_item_think(), PlayerScore_SendEntity(), pong_ai_think(), pp_find_piece(), pp_next_match(), pp_server_event(), ps_draw(), ps_find_piece(), ps_server_event(), ps_winning_piece(), race_waypointsprite_visible_for_player(), racer_exit(), racer_rocket_groundhugger(), racer_rocket_tracker(), raptor_bomb_burst(), raptor_bombdrop(), raptor_bomblet_touch(), raptor_exit(), SpawnEvent_Send(), spiderbot_exit(), spiderbot_guide_release(), spiderbot_rocket_do(), spiderbot_rocket_guided(), spiderbot_rocket_unguided(), StartItem(), SUB_CalcMove_controller_think(), target_objective_decrease_activate(), tka_ballcarrier_waypointsprite_visible_for_player(), tka_BallThink_Carried(), tka_TouchEvent(), trigger_gravity_check_think(), trigger_gravity_touch(), ttt_find_piece(), ttt_next_match(), ttt_server_event(), turret_flac_projectile_think_explode(), turret_hellion_missile_think(), turret_hk_missile_think(), turret_projectile_damage(), turret_projectile_explode(), vehicles_damage(), vehicles_locktarget(), vehicles_painframe(), vehicles_projectile_explode(), vehicles_regen(), vehicles_regen_resource(), vehicles_reset(), vehicles_spawn(), vehicles_think(), vehicles_touch(), W_Arc_Beam_Send(), W_Arc_Beam_Think(), W_Arc_Bolt_Touch(), W_Crylink_LinkJoinEffect_Think(), W_Crylink_Touch(), W_Electro_Bolt_Think(), W_Electro_Orb_ExplodeOverTime(), W_Electro_Orb_Stick(), W_Fireball_Firemine_Think(), W_GunAlign(), W_Hagar_Damage(), W_Hagar_Touch2(), W_MineLayer_Stick(), W_Nexball_Touch(), W_PrepareExplosionByDamage(), W_Seeker_Tag_Touch(), W_Tuba_NoteOff(), walker_rocket_damage(), walker_rocket_explode(), WarpZone_Projectile_Touch_ImpactFilter_Callback(), WarpZone_RefSys_GC(), WaypointSprite_SendEntity(), weapon_defaultspawnfunc(), wepent_customize(), wepent_think(), and XonoticGametypeList_saveCvars().
| float ping |
Definition at line 169 of file main.qh.
Referenced by CommonCommand_who(), frag_centermessage_override(), HUD_MinigameMenu_ClickInvite(), joinAllowed(), MUTATOR_HOOKFUNCTION(), Obituary(), PingPLReport_Think(), PlayerPreThink(), PM_UpdateButtons(), WarpZone_PlayerPhysics_FixVAngle(), XonoticPlayerList_drawListBoxItem(), and XonoticServerList_drawListBoxItem().
| float ping_movementloss |
Definition at line 169 of file main.qh.
Referenced by PingPLReport_Think(), and PM_UpdateButtons().
| float ping_packetloss |
Definition at line 169 of file main.qh.
Referenced by CommonCommand_who(), PingPLReport_Think(), and PM_UpdateButtons().
| entity players |
Definition at line 57 of file main.qh.
Referenced by adjust_respawntime(), Announcer_Duel(), AuditLists(), CSQC_Init(), HUD_Quickmenu_PlayerListEntries(), HUD_Score(), HUD_Score_Rankings(), HUD_Scoreboard_InputEvent(), ignore_list_apply(), kh_GetMissingTeams(), kh_LoserTeam(), kh_StartRound(), MUTATOR_HOOKFUNCTION(), RegisterPlayer(), RemovePlayer(), Scoreboard_MakeTable(), Scoreboard_Spectators_Draw(), Scoreboard_UpdatePlayerPos(), Scoreboard_UpdatePlayerTeams(), and Shutdown().
| entity playerslots[255] |
Definition at line 84 of file main.qh.
Referenced by entcs_GetSpecState(), HUD_MinigameMenu_ClickInvite(), HUD_Mod_Race(), HUD_Mod_Survival(), HUD_Score(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), Playerchecker_Think(), Scoreboard_Draw(), Scoreboard_GetName(), and Scoreboard_MakeTable().
| bool postinit |
Definition at line 42 of file main.qh.
Referenced by CSQC_Init(), CSQC_UpdateView(), NET_HANDLE(), and PostInit().
| float RANKINGS_DISPLAY_CNT |
Definition at line 80 of file main.qh.
Referenced by NET_HANDLE().
| float RANKINGS_RECEIVED_CNT |
Definition at line 79 of file main.qh.
Referenced by HUD_Scoreboard_InputEvent(), Scoreboard_Draw(), and Scoreboard_Rankings_Draw().
| bool ready |
Definition at line 88 of file main.qh.
Referenced by bot_think(), CLIENT_COMMAND(), Nagger_SendEntity(), and PutObserverInServer().
| bool ready_waiting |
Definition at line 143 of file main.qh.
Referenced by HUD_InfoMessages(), NET_HANDLE(), and Scoreboard_GetName().
| bool ready_waiting_for_me |
Definition at line 144 of file main.qh.
Referenced by HUD_InfoMessages(), and NET_HANDLE().
| float renderflags |
Definition at line 111 of file main.qh.
Referenced by Casing_Draw(), CL_WeaponEntity_SetModel(), CSQCModel_Draw(), CSQCModel_Effects_Apply(), DrawDebugModel(), Gib_Draw(), NET_HANDLE(), Projectile_Draw(), and RaptorCBShellfragDraw().
| float serverdeltatime |
Definition at line 207 of file main.qh.
Referenced by CSQC_Ent_Update().
| int serverflags |
Definition at line 211 of file main.qh.
Referenced by ClientInit_misc(), GameRules_teams(), HUD_Pickup(), HUD_Vote(), NET_HANDLE(), PlayerStats_GameReport_Init(), readlevelcvars(), View_NightVision(), and WinningConditionHelper().
| float serverprevtime |
Definition at line 207 of file main.qh.
Referenced by CSQC_Ent_Update(), InterpolateOrigin_Note(), and StartFrame().
| int spectatee_status = -1 |
the -1 disables HUD panels before CSQC receives necessary data
Definition at line 197 of file main.qh.
Referenced by ClientData_Send(), CSQCPlayer_ApplyChase(), Draw_ShowNames(), DrawReticle(), GetCurrentFov(), HUD_Ammo(), HUD_Crosshair(), HUD_Damage(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_ItemsTime(), HUD_Physics(), HUD_Pickup(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Score(), HUD_Score_Rankings(), HUD_StrafeHUD(), HUD_Weapons(), IsZooming(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), Porto_Draw(), QuickMenu_Default(), Scoreboard_WouldDraw(), SetSpectatee_status(), UpdateDamage(), View_CheckButtonStatus(), View_EventChase(), View_Lock(), View_SpectatorCamera(), viewloc_SetViewLocation(), ViewLocation_Mouse(), and WantEventchase().
| float spectatee_status_changed_time |
Definition at line 198 of file main.qh.
Referenced by Draw_ShowNames(), NET_HANDLE(), and WantEventchase().
| bool spectatorbutton_zoom |
Definition at line 114 of file main.qh.
Referenced by IsZooming(), and NET_HANDLE().
| int spectatorlist[MAX_SPECTATORS] |
Definition at line 178 of file main.qh.
Referenced by HUD_InfoMessages(), and NET_HANDLE().
| int srv_maxplayers |
Definition at line 126 of file main.qh.
Referenced by net_handle_ServerWelcome(), and Scoreboard_Draw().
| int srv_minplayers |
Definition at line 125 of file main.qh.
Referenced by HUD_InfoMessages(), HUD_Timer(), and net_handle_ServerWelcome().
| int sv_entnum |
Definition at line 186 of file main.qh.
Referenced by CSQCPlayer_ModelAppearance_Apply(), Draw_GrapplingHook(), Draw_ShowNames(), Ent_RemoveEntCS(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), and NET_HANDLE().
| int team |
Definition at line 188 of file main.qh.
Referenced by _GameRules_scoring_add_float2int(), bot_setnameandstuff(), c4_winning_piece(), CheatsAllowed(), classfield(), ClientConnect(), ClientKill_TeamChange(), cpicon_changeteam(), cpicon_send(), ctf_DelayedFlagSetup(), ctf_FlagThink(), ctf_SpawnTeam(), DamageEffect_Think(), dompoint_captured(), dompointtouch(), Draw_WaypointSprite(), dropclient_schedule(), Ent_WaypointSprite(), Entity_GetTeamIndex(), Entity_HasValidTeam(), football_touch(), func_breakable_damage(), func_breakable_reset(), func_breakable_setup(), generator_changeteam(), generator_send(), GetTeam(), GoalTouch(), havocbot_ast_reset_role(), havocbot_goalrating_ons_controlpoints_attack(), havocbot_role_kh_carrier(), havocbot_role_kh_defense(), havocbot_role_kh_freelancer(), havocbot_role_kh_offense(), InitBall(), Item_CopyFields(), Item_FindTeam(), Item_Touch(), Join(), ka_RespawnBall(), kh_Key_Damage(), kh_Key_Think(), link_spawnpoint(), LinkDoors(), MatchEnd_RestoreSpectatorAndTeamStatus(), MatchEnd_RestoreSpectatorStatus(), minigame_SendEntity(), misc_laser_think(), monster_changeteam(), monster_setupcolors(), Monster_Spawn(), Monster_Spawn_Setup(), multi_eventdamage(), multi_reset(), multi_touch(), nade_darkness_boom(), nade_ice_boom(), nade_napalm_boom(), nades_PlayerColor(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), nexball_setstatus(), ons_CaptureShield_Reset(), ons_CaptureShield_Spawn(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Reset(), ons_GeneratorDamage(), ons_GeneratorReset(), ons_GeneratorThink(), PlayerFrame(), pong_ai_think(), pong_ball_think(), pong_paddle_think(), pp_valid_move(), pp_winning_piece(), PutPlayerInServer(), relocate_spawnpoint(), ResetBall(), SelectSpawnPoint(), setcolor(), Spawn_Draw(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), SpawnGoal(), SpawnPoint_Send(), spawnpoint_use(), StartItem(), sys_phys_fix(), tdm_SpawnTeam(), TeamScore_SendEntity(), Teleport_Active(), tka_RespawnBall(), tmayhem_SpawnTeam(), trigger_hurt_touch(), trigger_push_get_push_time(), trigger_push_send(), trigger_push_test(), trigger_push_touch(), trigger_push_use(), trigger_push_velocity_send(), trigger_push_velocity_touch(), trigger_relay_teamcheck_reset(), trigger_teleport_send(), trigger_teleport_use(), ttt_winning_piece(), turret_changeteam(), turret_draw2d(), turret_initialize(), turret_respawn(), turret_send(), turret_use(), vehicle_initialize(), vehicles_reset_colors(), vehicles_spawn(), WaypointSprite_SendEntity(), WaypointSprite_visible_for_player(), weapon_defaultspawnfunc(), WinningCondition_Assault(), WinningCondition_RanOutOfSpawns(), and WinningCondition_Scores().
| float team_count |
Definition at line 59 of file main.qh.
Referenced by CSQCPlayer_ModelAppearance_Apply(), HUD_Mod_CA_Draw(), HUD_Mod_Dom(), HUD_Quickmenu_PlayerListEntries(), HUD_Score(), HUD_Score_Rankings(), RegisterTeam(), RemoveTeam(), and Scoreboard_MakeTable().
| entity teams |
Definition at line 58 of file main.qh.
Referenced by AuditLists(), CSQC_Init(), CSQCPlayer_ModelAppearance_Apply(), ctf_ScoreRules(), dom_spawnteams(), HUD_Score(), HUD_Score_Rankings(), HUD_Scoreboard_InputEvent(), kh_ScoreRules(), nb_ScoreRules(), NumTeams(), ons_ScoreRules(), PlayerScore_Sort(), PlayerTeamScore_Compare(), REGISTER_MUTATOR(), RegisterTeam(), RemoveTeam(), Scoreboard_Draw(), Scoreboard_Spectators_Draw(), Scoreboard_UpdatePlayerTeams(), Scoreboard_UpdateTeamPos(), ScoreInfo_Init(), ScoreInfo_SetLabel_PlayerScore(), ScoreRules_basics(), ScoreRules_dom(), ScoreRules_generic(), Shutdown(), tdm_DelayedInit(), TeamBalance_AutoBalanceBots(), TeamBalance_GetLargestTeamIndex(), tmayhem_DelayedInit(), and XonoticTeamSelectDialog_showNotify().
| int tempdb |
Definition at line 203 of file main.qh.
Referenced by CSQC_Init(), Shutdown(), and WaypointSprite_Load_Frames().
| float ticrate |
Definition at line 209 of file main.qh.
Referenced by CSQC_UpdateView(), CSQCPlayer_SetPredictionError(), NET_HANDLE(), and StrafeHUD_DetermineFrameTime().
| int vid_height |
Definition at line 150 of file main.qh.
Referenced by CSQC_UpdateView(), CSQC_UpdateView(), GetCurrentFov(), GetViewLocationFOV(), and View_Ortho().
| float vid_pixelheight |
Definition at line 151 of file main.qh.
Referenced by CSQC_UpdateView(), GetCurrentFov(), and GetViewLocationFOV().
| int vid_width |
Definition at line 150 of file main.qh.
Referenced by CSQC_UpdateView(), CSQC_UpdateView(), GetCurrentFov(), GetViewLocationFOV(), and View_Ortho().
| vector view_forward |
Definition at line 109 of file main.qh.
Referenced by CSQC_UpdateView(), Draw_ArcBeam(), Draw_GrapplingHook(), HUD_Crosshair(), Porto_Draw(), and TrueAimCheck().
| vector view_origin |
Definition at line 109 of file main.qh.
Referenced by bumble_raygun_draw(), CSQC_Demo_Camera(), CSQC_UpdateView(), CSQCModel_LOD_Apply(), Draw_ArcBeam_callback(), Draw_GrapplingHook(), Draw_GrapplingHook_trace_callback(), Draw_ShowNames(), Draw_WaypointSprite(), HUD_Contents(), HUD_Crosshair(), HUD_Radar(), HUD_Radar_Mouse(), LocalCommand_create_scrshot_ent(), LocalCommand_debugmodel(), NET_HANDLE(), NET_HANDLE(), orb_draw2d(), Porto_Draw(), TrueAimCheck(), and turret_draw2d().
| float view_quality |
Definition at line 174 of file main.qh.
Referenced by CSQC_UpdateView(), CSQCModel_LOD_Apply(), and Gib_Draw().
| vector view_right |
Definition at line 109 of file main.qh.
Referenced by CSQC_UpdateView(), Draw_GrapplingHook(), and TrueAimCheck().
| vector view_up |
Definition at line 109 of file main.qh.
Referenced by CSQC_UpdateView(), Draw_GrapplingHook(), Porto_Draw(), and TrueAimCheck().
| string vote_called_vote |
Definition at line 142 of file main.qh.
Referenced by HUD_Vote(), and NET_HANDLE().
| bool vote_waiting |
Definition at line 145 of file main.qh.
Referenced by NET_HANDLE().
| bool vote_waiting_for_me |
Definition at line 146 of file main.qh.
Referenced by NET_HANDLE().
| bool warmup_stage |
Definition at line 120 of file main.qh.
Referenced by accuracy_canbegooddamage(), accuracy_isgooddamage(), Announcer_Gamestart(), Announcer_Time(), bot_think(), ca_LastPlayerForTeam_Notify(), CA_RoundStart(), CheckRules_World(), ClientCommand_ready(), ClientCommand_selectteam(), ClientCommand_spectate(), ClientDisconnect(), CommonCommand_timeout(), Draw_WaypointSprite(), GameCommand_allready(), GameplayMode_DelayedInit(), GiveFrags(), HUD_InfoMessages(), HUD_ItemsTime(), HUD_Pickup_Time(), HUD_Timer(), Item_ItemsTime_SetTimesForAllPlayers(), Join(), ka_ballcarrier_waypointsprite_visible_for_player(), ka_DropEvent(), ka_RespawnBall(), kh_Key_waypointsprite_visible_for_player(), kh_KeyCarrier_waypointsprite_visible_for_player(), lms_AddPlayer(), lms_RemovePlayer(), Local_Notification(), 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(), Nagger_SendEntity(), NET_HANDLE(), NET_HANDLE(), Obituary(), ObserverOrSpectatorThink(), ons_GeneratorDamage(), PlayerScore_Add(), PlayerStats_GameReport(), PutObserverInServer(), PutPlayerInServer(), QueueNeeded(), race_Initialize(), readlevelcvars(), ReadyCount(), ReadyRestart(), ReadyRestart_force(), ReadyRestart_think(), Scoreboard_AccuracyStats_WouldDraw(), Scoreboard_ItemStats_WouldDraw(), SetPlayerTeam(), StartFrame(), surv_LastPlayerForTeam_Notify(), Surv_RoundStart(), timeout_handler_reset(), tka_ballcarrier_waypointsprite_visible_for_player(), tka_DropEvent(), tka_RespawnBall(), VoteCommand_parse(), WaypointSprite_visible_for_player(), and WinningCondition_LMS().
| string welcome_msg |
Definition at line 124 of file main.qh.
Referenced by net_handle_ServerWelcome(), and Welcome_Message_Show_Try().
| float welcome_msg_menu_check_maxtime |
Definition at line 127 of file main.qh.
Referenced by net_handle_ServerWelcome(), and Welcome_Message_Show_Try().
| float zoomin_effect |
Definition at line 119 of file main.qh.
Referenced by GetCurrentFov(), and NET_HANDLE().