1#pragma once
2
3string cache_mutatormsg;
4string cache_lastmutatormsg;
5
6// client counts for each team
7//float c1, c2, c3, c4;
8// # of bots on those teams
9float cb1, cb2, cb3, cb4;
10
11int redowned, blueowned, yellowowned, pinkowned;
12
13//float audit_teams_time;
14
15void TeamchangeFrags(entity e);
16
17void LogTeamchange(float player_id, float team_number, float type);
18
19void default_delayedinit(entity this);
20
21void ActivateTeamplay();
22
23void InitGameplayMode();
24
25string GetClientVersionMessage(entity this);
26
27string getwelcomemessage(entity this);
28
29void SetPlayerColors(entity pl, float _color);
30
31void SetPlayerTeam(entity pl, float t, float s, float noprint);
32
33// set c1...c4 to show what teams are allowed
34void CheckAllowedTeams (entity for_whom);
35
36float PlayerValue(entity p);
37
38// c1...c4 should be set to -1 (not allowed) or 0 (allowed).
39// teams that are allowed will now have their player counts stored in c1...c4
40void GetTeamCounts(entity ignore);
41
42float TeamSmallerEqThanTeam(float ta, float tb, entity e);
43
44// returns # of smallest team (1, 2, 3, 4)
45// NOTE: Assumes CheckAllowedTeams has already been called!
46float FindSmallestTeam(entity pl, float ignore_pl);
47
48int JoinBestTeam(entity this, bool only_return_best, bool forcebestteam);
49
50//void() ctf_playerchanged;
51
52void ShufflePlayerOutOfTeam (float source_team);
53
54void setcolor(entity this, int clr);
55