mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- made CountInv clearscope and const.
This commit is contained in:
parent
d911cdcfe7
commit
2f29b075b2
1 changed files with 3 additions and 3 deletions
|
@ -609,9 +609,9 @@ class Actor : Thinker native
|
||||||
action native void SetCamera(Actor cam, bool revert = false);
|
action native void SetCamera(Actor cam, bool revert = false);
|
||||||
|
|
||||||
// DECORATE compatible functions
|
// DECORATE compatible functions
|
||||||
native int CountInv(class<Inventory> itemtype, int ptr_select = AAPTR_DEFAULT);
|
native clearscope int CountInv(class<Inventory> itemtype, int ptr_select = AAPTR_DEFAULT) const;
|
||||||
native double GetDistance(bool checkz, int ptr = AAPTR_TARGET);
|
native double GetDistance(bool checkz, int ptr = AAPTR_TARGET) const;
|
||||||
native double GetAngle(int flags, int ptr = AAPTR_TARGET);
|
native double GetAngle(int flags, int ptr = AAPTR_TARGET) const;
|
||||||
native double GetZAt(double px = 0, double py = 0, double angle = 0, int flags = 0, int pick_pointer = AAPTR_DEFAULT);
|
native double GetZAt(double px = 0, double py = 0, double angle = 0, int flags = 0, int pick_pointer = AAPTR_DEFAULT);
|
||||||
native clearscope int GetSpawnHealth() const;
|
native clearscope int GetSpawnHealth() const;
|
||||||
native double GetCrouchFactor(int ptr = AAPTR_PLAYER1);
|
native double GetCrouchFactor(int ptr = AAPTR_PLAYER1);
|
||||||
|
|
Loading…
Reference in a new issue