X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fmonster.qh;h=babf6e4faf19a2f1e1879afd774693a05514c762;hb=7c8f38e643c87bf9c02c2265ca43714c57ebe331;hp=5187c7f56b17f576771778ff3f2a7b0652b0bde2;hpb=3e21073f2bd7f282947bc1f214b3ec25d69ccae0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/monster.qh b/qcsrc/common/monsters/monster.qh index 5187c7f56..babf6e4fa 100644 --- a/qcsrc/common/monsters/monster.qh +++ b/qcsrc/common/monsters/monster.qh @@ -1,22 +1,5 @@ #pragma once -#ifdef SVQC -#include "sv_monsters.qh" -#include -#include -#include -#include -#include -#include -#include -#endif - -#ifndef MENUQC -#include "../animdecide.qh" -#include "../anim.qh" -vector animfixfps(entity e, vector a, vector b); -#endif - // special spawn flags const int MONSTER_RESPAWN_DEATHPOINT = 16; // re-spawn where we died const int MONSTER_TYPE_FLY = 32; @@ -73,3 +56,21 @@ CLASS(Monster, Object) METHOD(Monster, mr_anim, bool(Monster this, entity actor)) { TC(Monster, this); return false; } ENDCLASS(Monster) + + +#ifdef SVQC +#include "sv_monsters.qh" +#include +#include +#include +#include +#include +#include +#include +#endif + +#ifdef GAMEQC +#include "../animdecide.qh" +#include "../anim.qh" +vector animfixfps(entity e, vector a, vector b); +#endif