X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fhitplot.qh;h=e9686783569db5945679959b9a50cc88c1ac9269;hb=5b7f9e34118d0f3b8f14b092f26baac27b0d4de5;hp=01c2e8cc9efd1567447347dd70749578c8e073c2;hpb=ba0988ca930f50286f8cf3b6c114ebc6584964af;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/weapons/hitplot.qh b/qcsrc/server/weapons/hitplot.qh index 01c2e8cc9..e96867835 100644 --- a/qcsrc/server/weapons/hitplot.qh +++ b/qcsrc/server/weapons/hitplot.qh @@ -1,47 +1,7 @@ -#ifndef HITPLOT_H -#define HITPLOT_H - -#if defined(CSQC) -#elif defined(MENUQC) -#elif defined(SVQC) - #include "../../common/util-pre.qh" - #include "../sys-pre.qh" - #include "../../dpdefs/progsdefs.qc" - #include "../../dpdefs/dpextensions.qc" - #include "../sys-post.qh" - #include "../../warpzonelib/anglestransform.qh" - #include "../../warpzonelib/mathlib.qh" - #include "../../warpzonelib/common.qh" - #include "../../warpzonelib/util_server.qh" - #include "../../warpzonelib/server.qh" - #include "../../common/constants.qh" - #include "../../common/stats.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/urllib.qh" - #include "../../common/command/markup.qh" - #include "../../common/command/rpn.qh" - #include "../../common/command/generic.qh" - #include "../../common/command/shared_defs.qh" - #include "../../common/net_notice.qh" - #include "../../common/animdecide.qh" - #include "../../common/monsters/monsters.qh" - #include "../../common/monsters/sv_monsters.qh" - #include "../../common/monsters/spawn.qh" - #include "../../common/weapons/config.qh" - #include "../../common/weapons/weapons.qh" - #include "accuracy.qh" - #include "common.qh" - #include "csqcprojectile.qh" -#endif +#pragma once .float hitplotfh; -void W_HitPlotAnalysis(entity player, vector screenforward, vector screenright, vector screenup); +void W_HitPlotAnalysis(entity player, entity wep, vector screenforward, vector screenright, vector screenup); void W_HitPlotOpen(entity player); void W_HitPlotClose(entity player); -#endif \ No newline at end of file