X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qh;h=e4e6b0b52ac8b49582751d4cd32f868824c9a5cc;hb=fb9267ffab37eae0bcbc4ac42a8a45a1ad864c0b;hp=18194b7b6b08362a942bef1b0514b9a211ff805f;hpb=5f9a104fb3f5ef5f8a68d671425290ea8a6f9843;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mapvoting.qh b/qcsrc/server/mapvoting.qh index 18194b7b6..e4e6b0b52 100644 --- a/qcsrc/server/mapvoting.qh +++ b/qcsrc/server/mapvoting.qh @@ -1,8 +1,6 @@ #ifndef MAPVOTING_H #define MAPVOTING_H -#include "../common/constants.qh" - // definitions for functions used outside mapvoting.qc void MapVote_Start(); void MapVote_Spawn(); @@ -12,34 +10,7 @@ float GameTypeVote_Start(); float GameTypeVote_Finished(float pos); string GameTypeVote_MapInfo_FixName(string m); -// definitions float gametypevote; string getmapname_stored; float mapvote_initialized; - -float mapvote_nextthink; -float mapvote_keeptwotime; -float mapvote_timeout; -string mapvote_message; -const float MAPVOTE_SCREENSHOT_DIRS_COUNT = 4; -string mapvote_screenshot_dirs[MAPVOTE_SCREENSHOT_DIRS_COUNT]; -float mapvote_screenshot_dirs_count; - -float mapvote_count; -float mapvote_count_real; -string mapvote_maps[MAPVOTE_COUNT]; -float mapvote_maps_screenshot_dir[MAPVOTE_COUNT]; -string mapvote_maps_pakfile[MAPVOTE_COUNT]; -float mapvote_maps_suggested[MAPVOTE_COUNT]; -string mapvote_suggestions[MAPVOTE_COUNT]; -float mapvote_suggestion_ptr; -float mapvote_voters; -float mapvote_selections[MAPVOTE_COUNT]; -float mapvote_maps_availability[MAPVOTE_COUNT]; -float mapvote_run; -float mapvote_detail; -float mapvote_abstain; -.float mapvote; - -entity mapvote_ent; #endif