Add new CheckBoxPartiallyInPVS func to IVEngineServer.

This commit is contained in:
Nick Hastings 2019-03-24 10:14:55 -04:00
parent dcb91d06b8
commit 6142bb4f2d

View File

@ -143,6 +143,8 @@ public:
virtual bool CheckOriginInPVS( const Vector &org, const unsigned char *checkpvs, int checkpvssize ) = 0;
// Check whether the specified worldspace bounding box is inside the specified PVS
virtual bool CheckBoxInPVS( const Vector &mins, const Vector &maxs, const unsigned char *checkpvs, int checkpvssize ) = 0;
// Check whether the specified worldspace bounding box is partially inside the specified PVS
virtual bool CheckBoxPartiallyInPVS( const Vector &mins, const Vector &maxs, const unsigned char *checkpvs, int checkpvssize ) = 0;
// Returns the server assigned userid for this player. Useful for logging frags, etc.
// returns -1 if the edict couldn't be found in the list of players.