Add drv_get_aniamtion_queue hashes

This commit is contained in:
2023-07-24 17:20:45 -04:00
parent 87aa47b96d
commit 5db04b3abc
6 changed files with 53 additions and 13 deletions

View File

@@ -120,20 +120,27 @@ public:
// get_near
//
// Get a list of the tangibles that are near the player. If 'exclude_nowhere' is
// true, exclude any tangibles on the nowhere plane (but still include the player himself).
// The unsorted version returns the tangibles in an unpredictable order. If sorted
// is false, return them in an unpredictable order.
// Get a list of tangibles in any arbitrary region.
//
void get_near(int64_t player_id, float radius, bool exclude_nowhere, bool omit_player, bool sorted, IdVector *into) const;
void get_near(PlaneScan &sc, IdVector *into) const;
// get_near
//
// Get a list of tangibles in any arbitrary region. This differs from
// PlaneMap::scan in that if the scan specifies a 'near', then the plane
// and center of the scan are updated from the near tangible.
// Get a list of the tangibles that are near the player. If
// 'exclude_nowhere' is true, exclude any tangibles on the nowhere plane
// (but still include the player himself). The unsorted version returns the
// tangibles in an unpredictable order. If sorted is false, return them in
// an unpredictable order. This is a thin wrapper around the more general
// form of 'get_near', above.
//
void get_near(PlaneScan &sc, IdVector *into) const;
void get_near(int64_t player_id, float radius, bool exclude_nowhere, bool omit_player, bool sorted, IdVector *into) const;
// get animation queue hashes.
//
// This is used by the graphics engine to check if any of the specified
// animation queues has changed in any way.
//
void get_animation_queue_hashes(uint32_t count, const int64_t *ids, uint64_t *hashes);
// Make a tangible.
//