X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qh;h=31d89f42c6edf851ec13f179ffc12ce87ebbe582;hp=e4e6b0b52ac8b49582751d4cd32f868824c9a5cc;hb=8498e30a673dfaa06549fb97476303f18f2f4613;hpb=fc2be4c1e7547ae97301f7966333e4dc858baf92 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