Tangible creation and destruction in place
This commit is contained in:
@@ -61,10 +61,21 @@ public:
|
||||
|
||||
// Update the 'NearAccordingToLuprex' flags.
|
||||
//
|
||||
// Also creates any tangibles that are in the near-list,
|
||||
// if they don't already exist.
|
||||
// Also creates stub tangibles for every Id in the list.
|
||||
//
|
||||
void UpdateNear(IdView near);
|
||||
void UpdateNearAccordingToLuprex(IdView near);
|
||||
|
||||
// Recalculate the 'NearAccordingToUnreal' flags.
|
||||
//
|
||||
void RecalcNearAccordingToUnreal(int64 player, double radius);
|
||||
|
||||
// Delete Far Tangibles.
|
||||
//
|
||||
// Any tangible whose 'NearAccordingToLuprex' and 'NearAccordingToUnreal'
|
||||
// flags are both false is deleted. You probably want to update both
|
||||
// flags by calling the two routines above before calling this.
|
||||
//
|
||||
void DeleteFarawayTangibles();
|
||||
|
||||
// Given an array of tangibles, return an array of tangible Ids.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user