X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=a1c180cef831779830352ecfe6c0ad67c43409a7;hb=05ee5b1212a6537e5c5acb76dbc1ef9df40f85c6;hp=8eea0dc203d189b4e4007dfbe8f51a23ea63ba27;hpb=df2fe9b28cb6210b671bec6d5ae834ff4eb2e2db;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 8eea0dc20..a1c180cef 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -253,6 +253,8 @@ float lockteams; .float parm_idlesince; float sv_maxidle; float sv_maxidle_spectatorsareidle; +int sv_maxidle_slots; +bool sv_maxidle_slots_countbots; float tracebox_hits_trigger_hurt(vector start, vector mi, vector ma, vector end); @@ -393,7 +395,6 @@ const float ACTIVE_TOGGLE = 3; .float player_blocked; .float weapon_blocked; // weapon use disabled -.float frozen = _STAT(FROZEN); // for freeze attacks .float revive_progress = _STAT(REVIVE_PROGRESS); .float revival_time; // time at which player was last revived .float revive_speed; // NOTE: multiplier (anything above 1 is instaheal) @@ -442,3 +443,9 @@ const int MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI; .bool init_for_player_needed; .void(entity this, entity player) init_for_player; + +IntrusiveList g_monsters; +STATIC_INIT(g_monsters) { g_monsters = IL_NEW(); } + +IntrusiveList g_waypoints; +STATIC_INIT(g_waypoints) { g_waypoints = IL_NEW(); }