]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/portals.qh
Fix FL_WEAPON flag overlapping FL_JUMPRELEASED. This unintentional change was introdu...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / portals.qh
1 #pragma once
2
3 float autocvar_g_balance_portal_health;
4 float autocvar_g_balance_portal_lifetime;
5
6 .float portal_id;
7 .entity portal_in, portal_out;
8
9 void Portal_ClearAll(entity own);
10 void Portal_ClearAllLater(entity own);
11 float Portal_SpawnOutPortalAtTrace(entity own, vector dir, float id);
12 float Portal_SpawnInPortalAtTrace(entity own, vector dir, float id);
13 void Portal_ClearWithID(entity own, float id);
14
15 vector Portal_ApplyTransformToPlayerAngle(vector transform, vector vangle);
16 void Portal_ClearAll_PortalsOnly(entity own);
17
18 void Portal_Think(entity this);