|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/mapinfo.qh>Go to the source code of this file.
Variables | |
| const int | GTV_AVAILABLE = 1 |
| Can be voted. | |
| const int | GTV_CUSTOM = 2 |
| Custom entry. | |
| const int | GTV_FORBIDDEN = 0 |
| Cannot be voted. | |
| const int | MAPVOTE_COUNT = 20 |
| Max number of votable maps/gametypes. | |
| const int | MAPVOTE_SSDIRS_COUNT = 4 |
| bool | mv_abstain |
| (shared) if abstaining is possible, false in gametype voting | |
| int | mv_count |
| (shared) number of maps/gametypes | |
| int | mv_count_real |
| (shared) number of maps/gametypes, excluding abstain | |
| int | mv_detail |
| (shared) how much information about the votes/results is revealed | |
| string | mv_entries [MAPVOTE_COUNT] |
| (shared) map name or gametype name | |
| int | mv_flags [MAPVOTE_COUNT] |
| (shared) map/gametype flags | |
| float | mv_reduce_time |
| string | mv_ssdirs [MAPVOTE_SSDIRS_COUNT] |
| int | mv_ssdirs_count |
| string | mv_suggester [MAPVOTE_COUNT] |
| (maps) .netname of the player who suggested the map | |
| float | mv_timeout |
| int | mv_votes [MAPVOTE_COUNT] |
| (shared) number of votes for the map/gametype | |
| int | mv_winner |
| const int GTV_AVAILABLE = 1 |
Can be voted.
Definition at line 28 of file mapvoting.qh.
Referenced by GameTypeVote_AvailabilityStatus(), GameTypeVote_DrawGameTypeItem(), GameTypeVote_Start(), MapVote_AddVotable(), MapVote_CheckRules_count(), MapVote_CheckRules_decide(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), MapVote_Finished(), MapVote_FormatItem(), MapVote_MoveDown(), MapVote_MoveLeft(), MapVote_MoveRight(), MapVote_MoveUp(), MapVote_ranked_cmp(), MapVote_ReadMask(), MapVote_ReadOption(), MapVote_ReadPlayerVote(), MapVote_RGB(), MapVote_SendEntity(), MapVote_WriteMask(), and NET_HANDLE().
| const int GTV_CUSTOM = 2 |
Custom entry.
Definition at line 29 of file mapvoting.qh.
Referenced by GameTypeVote_AvailabilityStatus(), GameTypeVote_Finished(), GameTypeVote_ReadOption(), and GameTypeVote_WriteOption().
| const int GTV_FORBIDDEN = 0 |
Cannot be voted.
Definition at line 27 of file mapvoting.qh.
Referenced by GameTypeVote_AvailabilityStatus().
| const int MAPVOTE_COUNT = 20 |
Max number of votable maps/gametypes.
Definition at line 6 of file mapvoting.qh.
Referenced by GameTypeVote_GetMask(), GameTypeVote_Start(), MapVote_Init(), and MapVote_Suggest().
| const int MAPVOTE_SSDIRS_COUNT = 4 |
Definition at line 8 of file mapvoting.qh.
Referenced by MapVote_Init().
| bool mv_abstain |
(shared) if abstaining is possible, false in gametype voting
Definition at line 21 of file mapvoting.qh.
Referenced by GameTypeVote_Start(), MapVote_CheckPic(), MapVote_CheckRules_decide(), MapVote_Draw(), MapVote_Init(), MapVote_Init_Client(), MapVote_ReadMask(), MapVote_Selection(), and MapVote_SendEntity().
| int mv_count |
(shared) number of maps/gametypes
Definition at line 14 of file mapvoting.qh.
Referenced by GameTypeVote_AddVotable(), GameTypeVote_Start(), MapVote_AddVotable(), MapVote_AddVotableMaps(), MapVote_CheckPic(), MapVote_CheckRules_count(), MapVote_CheckRules_decide(), MapVote_Finished(), MapVote_Init(), MapVote_Init_Client(), MapVote_Init_Server(), MapVote_InputEvent(), MapVote_MoveDown(), MapVote_MoveLeft(), MapVote_MoveRight(), MapVote_MoveUp(), MapVote_ReadPlayerVote(), MapVote_SendEntity(), MapVote_UnzoneStrings(), and NET_HANDLE().
| int mv_count_real |
(shared) number of maps/gametypes, excluding abstain
Definition at line 15 of file mapvoting.qh.
Referenced by GameTypeVote_Start(), MapVote_CheckRules_count(), MapVote_CheckRules_decide(), MapVote_Draw(), MapVote_Init(), MapVote_Init_Client(), MapVote_Init_Server(), MapVote_ReadMask(), MapVote_Selection(), and MapVote_WriteMask().
| int mv_detail |
(shared) how much information about the votes/results is revealed
Definition at line 20 of file mapvoting.qh.
Referenced by GameTypeVote_Start(), MapVote_FormatItem(), MapVote_Init(), MapVote_Init_Client(), MapVote_SendEntity(), and NET_HANDLE().
| string mv_entries[MAPVOTE_COUNT] |
(shared) map name or gametype name
Definition at line 16 of file mapvoting.qh.
Referenced by GameTypeVote_AddVotable(), GameTypeVote_Finished(), GameTypeVote_ReadOption(), GameTypeVote_Start(), GameTypeVote_WriteOption(), MapVote_AddVotable(), MapVote_CheckRules_decide(), MapVote_Draw(), MapVote_Finished(), MapVote_Init_Client(), MapVote_ReadOption(), MapVote_Think(), MapVote_UnzoneStrings(), MapVote_WriteOption(), and MapVote_WritePicture().
| int mv_flags[MAPVOTE_COUNT] |
(shared) map/gametype flags
Definition at line 18 of file mapvoting.qh.
Referenced by GameTypeVote_AddVotable(), GameTypeVote_DrawGameTypeItem(), GameTypeVote_Finished(), GameTypeVote_ReadOption(), GameTypeVote_Start(), GameTypeVote_WriteOption(), MapVote_AddVotable(), MapVote_CheckRules_count(), MapVote_CheckRules_decide(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), MapVote_Finished(), MapVote_FormatItem(), MapVote_Init_Client(), MapVote_MoveDown(), MapVote_MoveLeft(), MapVote_MoveRight(), MapVote_MoveUp(), MapVote_ranked_cmp(), MapVote_ReadMask(), MapVote_ReadOption(), MapVote_ReadPlayerVote(), MapVote_RGB(), MapVote_SendEntity(), MapVote_WriteMask(), and NET_HANDLE().
| float mv_reduce_time |
Definition at line 22 of file mapvoting.qh.
Referenced by GameTypeVote_Start(), MapVote_CheckRules_decide(), MapVote_Draw(), MapVote_Init(), and NET_HANDLE().
| string mv_ssdirs[MAPVOTE_SSDIRS_COUNT] |
Definition at line 9 of file mapvoting.qh.
Referenced by MapVote_AddVotable(), MapVote_Init(), MapVote_Init_Client(), MapVote_Init_Server(), MapVote_ReadOption(), and MapVote_WritePicture().
| int mv_ssdirs_count |
Definition at line 10 of file mapvoting.qh.
Referenced by MapVote_AddVotable(), MapVote_Init(), MapVote_Init_Client(), and MapVote_Init_Server().
| string mv_suggester[MAPVOTE_COUNT] |
(maps) .netname of the player who suggested the map
Definition at line 17 of file mapvoting.qh.
Referenced by GameTypeVote_ReadOption(), MapVote_AddVotable(), MapVote_AddVotableMaps(), MapVote_Draw(), MapVote_DrawSuggester(), MapVote_Finished(), MapVote_ReadOption(), MapVote_Suggest(), and MapVote_WriteOption().
| float mv_timeout |
Definition at line 23 of file mapvoting.qh.
Referenced by GameTypeVote_Start(), MapVote_CheckRules_decide(), MapVote_Draw(), MapVote_Init(), MapVote_Init_Client(), and MapVote_Init_Server().
| int mv_votes[MAPVOTE_COUNT] |
(shared) number of votes for the map/gametype
Definition at line 19 of file mapvoting.qh.
Referenced by MapVote_CheckRules_count(), MapVote_CheckRules_decide(), MapVote_Draw(), MapVote_Finished(), MapVote_Init_Client(), MapVote_ranked_cmp(), MapVote_SendEntity(), and NET_HANDLE().
| int mv_winner |
Definition at line 24 of file mapvoting.qh.
Referenced by MapVote_Draw(), MapVote_DrawAbstain(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), MapVote_Finished(), MapVote_InputEvent(), MapVote_Selection(), MapVote_SendEntity(), MapVote_Think(), MapVote_Winner(), and NET_HANDLE().