X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qh;h=31d89f42c6edf851ec13f179ffc12ce87ebbe582;hb=81062a39c99785039ceee2dcd187fed9352a08c5;hp=e4e6b0b52ac8b49582751d4cd32f868824c9a5cc;hpb=9c09a961b8674e3a808889d3f34d71855018d3bc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mapvoting.qh b/qcsrc/server/mapvoting.qh index e4e6b0b52..31d89f42c 100644 --- a/qcsrc/server/mapvoting.qh +++ b/qcsrc/server/mapvoting.qh @@ -1,11 +1,10 @@ -#ifndef MAPVOTING_H -#define MAPVOTING_H +#pragma once // definitions for functions used outside mapvoting.qc void MapVote_Start(); void MapVote_Spawn(); void MapVote_Think(); -void MapVote_SendPicture(float id); +void MapVote_SendPicture(entity to, int id); float GameTypeVote_Start(); float GameTypeVote_Finished(float pos); string GameTypeVote_MapInfo_FixName(string m); @@ -13,4 +12,3 @@ string GameTypeVote_MapInfo_FixName(string m); float gametypevote; string getmapname_stored; float mapvote_initialized; -#endif