X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fteamradar.qh;h=4b58fb975b13115a5033920e22df97904bd811bc;hb=ba0988ca930f50286f8cf3b6c114ebc6584964af;hp=2a93fe163a809143b96d4e076c54396540a884af;hpb=0a6ce0928d11c81f66a7d3b63d2e6375169b6f47;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/teamradar.qh b/qcsrc/client/teamradar.qh index 2a93fe163..4b58fb975 100644 --- a/qcsrc/client/teamradar.qh +++ b/qcsrc/client/teamradar.qh @@ -1,7 +1,50 @@ -#define MAX_TEAMRADAR_TIMES 32 +#ifndef TEAMRADAR_H +#define TEAMRADAR_H + +#if defined(CSQC) + #include "../common/util-pre.qh" + #include "sys-pre.qh" + #include "../dpdefs/csprogsdefs.qc" + #include "sys-post.qh" + #include "Defs.qc" + #include "../dpdefs/keycodes.qc" + #include "../common/constants.qh" + #include "../common/stats.qh" + #include "../warpzonelib/anglestransform.qh" + #include "../warpzonelib/mathlib.qh" + #include "../warpzonelib/common.qh" + #include "../warpzonelib/client.qh" + #include "../common/playerstats.qh" + #include "../common/teams.qh" + #include "../common/util.qh" + #include "../common/nades.qh" + #include "../common/buffs.qh" + #include "../common/test.qh" + #include "../common/counting.qh" + #include "../common/weapons/weapons.qh" + #include "../common/mapinfo.qh" + #include "../common/command/markup.qh" + #include "../common/command/rpn.qh" + #include "../common/command/generic.qh" + #include "../common/command/shared_defs.qh" + #include "../common/urllib.qh" + #include "../common/animdecide.qh" + #include "command/cl_cmd.qh" + #include "../common/monsters/monsters.qh" + #include "autocvars.qh" + #include "../common/notifications.qh" + #include "../common/deathtypes.qh" + #include "damage.qh" + #include "../csqcmodellib/interpolate.qh" +#elif defined(MENUQC) +#elif defined(SVQC) +#endif + +const int MAX_TEAMRADAR_TIMES = 32; // to make entities have dots on the team radar .float teamradar_icon; -.float teamradar_times[MAX_TEAMRADAR_TIMES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamradar_times); -.float teamradar_time_index; +.float teamradar_times[MAX_TEAMRADAR_TIMES]; +.int teamradar_time_index; .vector teamradar_color; +#endif \ No newline at end of file