|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| void | MapVote_ReadPlayerVote (entity voter) |
| void | MapVote_Spawn () |
| void | MapVote_TouchMask () |
| void | MapVote_Winner (int mappos) |
| void | MapVote_WritePicture (entity to, int id) |
| void | MapVote_WritePlayerVote (int index) |
Variables | |
| const int | SF_MV_ABSTAIN = BIT(4) |
| mv_abstain is true if this is set | |
| const int | SF_MV_DETAIL_COUNTS = BIT(5) |
| mv_detail 1 | |
| const int | SF_MV_DETAIL_WINNER = BIT(6) |
| mv_detail 2 | |
| const int | SF_MV_GTV_DONE = 2 |
| const int | SF_MV_GTV_MAPS = 0 |
| const int | SF_MV_GTV_NOW = 1 |
| const int | SF_MV_INIT = BIT(0) |
| const int | SF_MV_MASK = BIT(1) |
| const int | SF_MV_VOTES = BIT(2) |
| const int | SF_MV_WINNER = BIT(3) |
Definition at line 27 of file net.qc.
References ClientCommand_antispam(), CS(), entity(), GTV_AVAILABLE, impulse, itos, mapvote_ent, mv_count, mv_flags, SF_MV_VOTES, spamtime, and strcat().
Referenced by MapVote_Tick().
| void MapVote_Spawn | ( | ) |
Definition at line 8 of file net.qc.
References mapvote_ent, MapVote_SendEntity(), and Net_LinkEntity().
Referenced by GameTypeVote_Start(), and MapVote_Init().
| void MapVote_TouchMask | ( | ) |
Definition at line 13 of file net.qc.
References mapvote_ent, and SF_MV_MASK.
Referenced by MapVote_CheckRules_decide().
Definition at line 17 of file net.qc.
References mapvote_ent, mv_winner, mv_winner_time, SF_MV_WINNER, and time.
Referenced by MapVote_Finished().
Definition at line 342 of file net.qc.
References entity(), msg_entity, MSG_ONE, mv_entries, mv_ssdir_i, mv_ssdirs, strcat(), WriteByte(), and WriteHeader.
Referenced by ClientCommand_mv_getpicture().
Definition at line 43 of file net.qc.
References itos, localcmd(), and TC.
Referenced by MapVote_InputEvent().
mv_abstain is true if this is set
Definition at line 11 of file net.qh.
Referenced by MapVote_Init_Client(), and MapVote_SendEntity().
mv_detail 1
Definition at line 12 of file net.qh.
Referenced by MapVote_Init_Client(), and MapVote_SendEntity().
mv_detail 2
Definition at line 13 of file net.qh.
Referenced by MapVote_Init_Client(), and MapVote_SendEntity().
| const int SF_MV_GTV_DONE = 2 |
Definition at line 17 of file net.qh.
Referenced by MapVote_Init_Server().
| const int SF_MV_GTV_MAPS = 0 |
Definition at line 15 of file net.qh.
Referenced by MapVote_Init_Client(), and MapVote_Init_Server().
| const int SF_MV_GTV_NOW = 1 |
Definition at line 16 of file net.qh.
Referenced by MapVote_Init_Client(), and MapVote_Init_Server().
Definition at line 6 of file net.qh.
Referenced by MapVote_SendEntity(), and NET_HANDLE().
Definition at line 7 of file net.qh.
Referenced by MapVote_SendEntity(), MapVote_TouchMask(), and NET_HANDLE().
Definition at line 8 of file net.qh.
Referenced by MapVote_ReadPlayerVote(), MapVote_SendEntity(), and NET_HANDLE().
Definition at line 9 of file net.qh.
Referenced by MapVote_SendEntity(), MapVote_Winner(), and NET_HANDLE().