|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | autocvar_g_maplist cvar_string("g_maplist") |
| #define | autocvar_g_maplist_votable cvar("g_maplist_votable") |
Functions | |
| float | GameTypeVote_Finished (int pos) |
| string | GameTypeVote_MapInfo_FixName (string m) |
| bool | GameTypeVote_SetGametype (entity type, string gametype_string, bool call_hooks) |
| float | GameTypeVote_Start () |
| void | MapVote_SendPicture (entity to, int id) |
| void | MapVote_Spawn () |
| void | MapVote_Start () |
| void | MapVote_Think () |
| #define autocvar_g_maplist cvar_string("g_maplist") |
Definition at line 3 of file mapvoting.qh.
Referenced by getmaplist(), and Maplist_Init().
| #define autocvar_g_maplist_votable cvar("g_maplist_votable") |
Definition at line 10 of file mapvoting.qh.
Referenced by MapVote_Init(), and MapVote_Think().
Definition at line 896 of file mapvoting.qc.
References cvar_set(), gametypevote, gametypevote_finished, GameTypeVote_SetGametype(), GameTypeVote_Type_FromString(), GTV_CUSTOM, MapInfo_CurrentGametype(), mapvote_maps, mapvote_maps_flags, match_gametype, strcpy, voted_gametype, and voted_gametype_string.
Referenced by MapVote_Finished().
Definition at line 103 of file mapvoting.qc.
References _MapInfo_FilterGametype(), autocvar_sv_vote_gametype, GameTypeVote_GetMask(), MapInfo_Enumerate(), MapInfo_FixName(), MapInfo_ForbiddenFlags(), and MapInfo_RequiredFlags().
Referenced by DoNextMapOverride(), GotoMap(), and MapVote_Suggest().
References entity().
| float GameTypeVote_Start | ( | ) |
Definition at line 936 of file mapvoting.qc.
References argv(), autocvar_sv_vote_gametype_default_current, autocvar_sv_vote_gametype_detail, autocvar_sv_vote_gametype_options, autocvar_sv_vote_gametype_reduce_count, autocvar_sv_vote_gametype_reduce_time, autocvar_sv_vote_gametype_timeout, current_gametype_index, gametype_custom_enabled, gametypevote, GameTypeVote_AddVotable(), GTV_AVAILABLE, loaded_gametype_custom_string, MapInfo_CurrentGametype(), MapInfo_Type_ToString(), mapvote_abstain, MapVote_ClearAllVotes(), MAPVOTE_COUNT, mapvote_count, mapvote_count_real, mapvote_detail, MapVote_Finished(), mapvote_maps, mapvote_maps_flags, mapvote_reduce_count, mapvote_reduce_time, MapVote_Spawn(), mapvote_timeout, MapVote_UnzoneStrings(), min(), strunzone(), strzone(), time, and tokenizebyseparator.
Referenced by MapVote_Think().
Definition at line 332 of file mapvoting.qc.
References entity(), mapvote_maps, mapvote_maps_screenshot_dir, mapvote_screenshot_dirs, msg_entity, MSG_ONE, strcat(), WriteByte(), and WriteHeader.
Referenced by ClientCommand_mv_getpicture().
| void MapVote_Spawn | ( | ) |
Definition at line 495 of file mapvoting.qc.
References mapvote_ent, MapVote_SendEntity(), and Net_LinkEntity().
Referenced by GameTypeVote_Start(), and MapVote_Init().
| void MapVote_Start | ( | ) |
Definition at line 743 of file mapvoting.qc.
References MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_Enumerate(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), mapvote_run, and PlayerStats_GameReport_DelayMapVote.
Referenced by CheckRules_World(), and IntermissionThink().
| void MapVote_Think | ( | ) |
Definition at line 758 of file mapvoting.qc.
References alreadychangedlevel, autocvar_g_maplist_votable, autocvar_rescan_pending, autocvar_sv_vote_gametype, cvar_set(), DoNextMapOverride(), GameTypeVote_SetGametype(), GameTypeVote_Start(), get_nextmap, GotoNextMap(), localcmd(), Map_Goto(), Map_Goto_SetStr(), MapInfo_CurrentFeatures(), MapInfo_CurrentGametype(), MapInfo_FilterGametype(), MapInfo_ForbiddenFlags(), MapInfo_RequiredFlags(), MapVote_Init(), mapvote_initialized, mapvote_maps, mapvote_nextthink, mapvote_run, MapVote_Tick(), mapvote_timeout, mapvote_winner, mapvote_winner_time, match_gametype, NULL, player_count, strfree, time, voted_gametype, and voted_gametype_string.
Referenced by CheckRules_World().
| bool autocvar_g_maplist_check_waypoints |
Definition at line 4 of file mapvoting.qh.
Referenced by MapHasRightSize().
| bool autocvar_g_maplist_ignore_sizes |
Definition at line 20 of file mapvoting.qh.
Referenced by MapHasRightSize().
| int autocvar_g_maplist_index |
Definition at line 5 of file mapvoting.qh.
Referenced by GetMaplistPosition().
| string autocvar_g_maplist_mostrecent |
Definition at line 6 of file mapvoting.qh.
Referenced by Map_IsRecent(), and Map_MarkAsRecent().
| int autocvar_g_maplist_mostrecent_count |
Definition at line 7 of file mapvoting.qh.
Referenced by Map_MarkAsRecent().
| bool autocvar_g_maplist_selectrandom |
Definition at line 8 of file mapvoting.qh.
Referenced by GetNextMap().
| float autocvar_g_maplist_shuffle |
Definition at line 9 of file mapvoting.qh.
Referenced by Maplist_Init().
Definition at line 22 of file mapvoting.qh.
Referenced by MapHasRightSize().
Definition at line 21 of file mapvoting.qh.
Referenced by MapHasRightSize().
| bool autocvar_g_maplist_votable_abstain |
Definition at line 11 of file mapvoting.qh.
Referenced by MapVote_Init().
| int autocvar_g_maplist_votable_detail |
Definition at line 15 of file mapvoting.qh.
Referenced by MapVote_Init().
| int autocvar_g_maplist_votable_reduce_count |
Definition at line 14 of file mapvoting.qh.
Referenced by MapVote_Init().
| float autocvar_g_maplist_votable_reduce_time |
Definition at line 13 of file mapvoting.qh.
Referenced by MapVote_Init().
| string autocvar_g_maplist_votable_screenshot_dir |
Definition at line 16 of file mapvoting.qh.
Referenced by MapVote_Init().
| bool autocvar_g_maplist_votable_show_suggester |
Definition at line 12 of file mapvoting.qh.
Referenced by MapVote_Init().
| bool autocvar_g_maplist_votable_suggestions |
Definition at line 17 of file mapvoting.qh.
Referenced by MapVote_Init(), and MapVote_Suggest().
| bool autocvar_g_maplist_votable_suggestions_override_mostrecent |
Definition at line 18 of file mapvoting.qh.
Referenced by MapVote_Suggest().
| float autocvar_g_maplist_votable_timeout |
Definition at line 19 of file mapvoting.qh.
Referenced by MapVote_Init().
| int autocvar_rescan_pending |
Definition at line 23 of file mapvoting.qh.
Referenced by MapVote_Think().
| bool autocvar_sv_vote_gametype |
Definition at line 24 of file mapvoting.qh.
Referenced by DoNextMapOverride(), GameTypeVote_MapInfo_FixName(), GotoMap(), MapVote_SendEntity(), MapVote_Suggest(), and MapVote_Think().
| bool autocvar_sv_vote_gametype_default_current |
Definition at line 30 of file mapvoting.qh.
Referenced by GameTypeVote_Start().
| int autocvar_sv_vote_gametype_detail |
Definition at line 29 of file mapvoting.qh.
Referenced by GameTypeVote_Start().
Definition at line 31 of file mapvoting.qh.
Referenced by GameTypeVote_SetGametype().
| string autocvar_sv_vote_gametype_options |
Definition at line 26 of file mapvoting.qh.
Referenced by GameTypeVote_GetMask(), and GameTypeVote_Start().
| int autocvar_sv_vote_gametype_reduce_count |
Definition at line 28 of file mapvoting.qh.
Referenced by GameTypeVote_Start().
| float autocvar_sv_vote_gametype_reduce_time |
Definition at line 27 of file mapvoting.qh.
Referenced by GameTypeVote_Start().
| float autocvar_sv_vote_gametype_timeout |
Definition at line 25 of file mapvoting.qh.
Referenced by GameTypeVote_Start().
| bool gametypevote |
Definition at line 44 of file mapvoting.qh.
| string getmapname_stored |
Definition at line 45 of file mapvoting.qh.
Referenced by GetNextMap(), Map_Goto(), and Map_Goto_SetStr().
| float mapvote_initialized |
Definition at line 46 of file mapvoting.qh.
Referenced by GotoMap(), IntermissionThink(), MapVote_Suggest(), MapVote_Think(), and PlayerHealth().