1 #define VC_ASGNMNT_BOTH 1
2 #define VC_ASGNMNT_CLIENTONLY 2
3 #define VC_ASGNMNT_SERVERONLY 3
5 #define VOTE_SELECT_ABSTAIN -2
6 #define VOTE_SELECT_REJECT -1
7 #define VOTE_SELECT_NULL 0
8 #define VOTE_SELECT_ACCEPT 1
10 string vote_parsed_command;
11 string vote_parsed_display;
14 string votecalledvote;
15 string votecalledvote_display;
16 float votecalledmaster;
21 .float vote_selection;
22 float vote_accept_count;
23 float vote_reject_count;
24 float vote_abstain_count;
25 float vote_needed_overall;
27 string VoteCommand_getname(entity caller);
28 void VoteCommand(float request, entity caller, float argc, string vote_command);
29 void VoteHelp(entity e);
35 void VoteStop(entity stopper);
36 void VoteSpam(float notvoters, float mincount, string result);
39 // =========================
40 // warmup and nagger stuff
41 // =========================
43 #define RESTART_COUNTDOWN 10
47 float readyrestart_happened;
48 float restart_mapalreadyrestarted; // bool, indicates whether reset_map() was already executed