Some light rearranging prior to AnimQueue stuff
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user