X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=fedd5eb1ab346354f6121da51fa247627a5de039;hb=34e7f534e2015466228eb3a78c9857741b736dca;hp=583c6c541135e69c044f87c18bfbe801af31d71e;hpb=c005b0e111e4ecae4737a2b42961653996202081;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 583c6c541..fedd5eb1a 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -129,7 +129,6 @@ const int W_TICSPERFRAME = 2; void weapon_defaultspawnfunc(entity this, Weapon e); -float gameover; float intermission_running; float intermission_exittime; float alreadychangedlevel; @@ -160,7 +159,6 @@ bool nJoinAllowed(entity this, entity ignore); .float noalign; // if set to 1, the item or spawnpoint won't be dropped to the floor .vector death_origin; -.vector killer_origin; float default_player_alpha; float default_weapon_alpha; @@ -261,7 +259,7 @@ bool independent_players; string clientstuff; .float phase; -.int pressedkeys = _STAT(PRESSED_KEYS); +.int pressedkeys; .string fog; @@ -418,12 +416,6 @@ const int MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI; //// -.entity player_stats; -//.float playerid; -.string playernick; -.float elos; -.float ranks; - .string cvar_cl_physics; .void(entity this, entity player) init_for_player; @@ -461,8 +453,17 @@ STATIC_INIT(g_assault_destructibles) { g_assault_destructibles = IL_NEW(); } IntrusiveList g_assault_objectivedecreasers; STATIC_INIT(g_assault_objectivedecreasers) { g_assault_objectivedecreasers = IL_NEW(); } +IntrusiveList g_assault_objectives; +STATIC_INIT(g_assault_objectives) { g_assault_objectives = IL_NEW(); } + IntrusiveList g_spawnpoints; STATIC_INIT(g_spawnpoints) { g_spawnpoints = IL_NEW(); } -IntrusiveList g_players; -STATIC_INIT(g_players) { g_players = IL_NEW(); } +IntrusiveList g_bot_targets; +STATIC_INIT(g_bot_targets) { g_bot_targets = IL_NEW(); } + +IntrusiveList g_bot_dodge; +STATIC_INIT(g_bot_dodge) { g_bot_dodge = IL_NEW(); } + +IntrusiveList g_damagedbycontents; +STATIC_INIT(g_damagedbycontents) { g_damagedbycontents = IL_NEW(); }