X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qh;h=7be53f6dee116b558d6a14a931c7aee72bf5d991;hp=784ecb9c99edf37d308a6e3aa14e8a9cc74d2e3b;hb=d2b0f12cb08fe3d1e59d3c9514546c4858cf9012;hpb=d44927502027bfa3ccd6ccc98d9b7d6285c182c3 diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 784ecb9c9..7be53f6de 100644 --- a/qcsrc/client/main.qh +++ b/qcsrc/client/main.qh @@ -3,6 +3,24 @@ #include #include +bool autocvar_cl_db_saveasdump; +bool autocvar_cl_spawn_event_particles; +bool autocvar_cl_spawn_event_sound = 1; +// float autocvar_cl_spawn_point_model; +bool autocvar_cl_spawn_point_particles; +float autocvar_cl_spawn_point_dist_max = 1200; +bool autocvar_cl_unpress_zoom_on_spawn = true; +bool autocvar_cl_unpress_zoom_on_death = true; +bool autocvar_cl_unpress_zoom_on_weapon_switch = true; +bool autocvar_cl_unpress_attack_on_weapon_switch = false; +bool autocvar_hud_showbinds; +bool autocvar_hud_showbinds_limit; +bool autocvar__hud_showbinds_reload; +bool autocvar_developer_csqcentities; +bool autocvar_cl_race_cptimes_onlyself; // TODO: move to race gamemode +bool autocvar_cl_race_cptimes_showself = false; +bool autocvar_cl_welcome_in_menu_dialog = true; + // Map coordinate base calculations need these vector mi_center; vector mi_scale; @@ -23,6 +41,24 @@ void Ent_Remove(entity this); void Gamemode_Init(); +entity players; +entity teams; +float team_count; // real teams + +void AuditLists(); + +float RegisterPlayer(entity player); + +void RemovePlayer(entity player); + +void MoveToLast(entity e); + +float RegisterTeam(entity Team); + +void RemoveTeam(entity Team); + +entity GetTeam(int Team, bool add); + bool SetTeam(entity pl, int Team); vector hud_fontsize; @@ -67,6 +103,12 @@ float current_viewzoom; float zoomin_effect; bool warmup_stage; +string hostname; +string welcome_msg; +float welcome_msg_menu_check_maxtime; +bool welcome_msg_force_centerprint; +void Welcome_Message_Show_Try(); + void Fog_Force(); string _getcommandkey(string text, string command, bool forcename);