Some light rearranging prior to AnimQueue stuff

This commit is contained in:
2023-09-07 23:50:49 -04:00
parent 5af9741cd5
commit ee0b37725e
7 changed files with 44 additions and 15 deletions

View File

@@ -2,6 +2,7 @@
#include "CoreMinimal.h"
#include "lpx-enginewrapper.hpp"
#include "CommonTypes.h"
// Class FLockableWrapper
//
@@ -22,7 +23,10 @@ class FLockedWrapper {
private:
FLockableWrapper& Lockable;
using IdList = TArrayView<const int64>;
public:
// Import these types into our Namespace.
using IdArray = LuprexCommonTypes::IdArray;
using IdView = LuprexCommonTypes::IdView;
public:
// The constructor of the FLockedWrapper claims the mutex.
@@ -66,8 +70,8 @@ public:
// Get the list of tangibles near the actor.
//
// This function is fast but not free. You should fetch this
// once per frame and then store the IdList somewhere (like
// once per frame and then store the IdView somewhere (like
// in the TangibleManager, for example).
//
IdList GetNear(int64 id, double rx, double ry, double rz);
IdView GetNear(int64 id, double rx, double ry, double rz);
};