A few tiny cleanups
This commit is contained in:
@@ -40,9 +40,9 @@ private:
|
|||||||
FCriticalSection Mutex;
|
FCriticalSection Mutex;
|
||||||
EngineWrapper Wrapper;
|
EngineWrapper Wrapper;
|
||||||
|
|
||||||
// The Lua Call Assembly Buffer. Used to build up
|
// The Lua Call Assembly Buffer. Used to build up a call
|
||||||
// a call across multiple UFUNCTION invocations.
|
// across multiple UFUNCTION invocations. This is not protected
|
||||||
// Only accessed from the game thread.
|
// by the mutex, so it should only be used by the game thread.
|
||||||
//
|
//
|
||||||
FlxStreamBuffer LuaCallBuffer;
|
FlxStreamBuffer LuaCallBuffer;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#include "EdGraph/EdGraphPin.h"
|
#include "EdGraph/EdGraphPin.h"
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
||||||
#include "LuaCall.generated.h"
|
#include "LuaCall.generated.h"
|
||||||
|
|
||||||
class UlxLuaValues;
|
class UlxLuaValues;
|
||||||
@@ -116,7 +116,7 @@ public:
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class INTEGRATION_API UlxLuaCallLibrary : public UObject
|
class INTEGRATION_API UlxLuaCallLibrary : public UBlueprintFunctionLibrary
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ void ALuprexGameModeBase::ResetToInitialState()
|
|||||||
|
|
||||||
// Reset the clocks.
|
// Reset the clocks.
|
||||||
EngineSeconds = 0.0;
|
EngineSeconds = 0.0;
|
||||||
NextRotateCube = 1.0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ALuprexGameModeBase::UpdateConsoleOutput() {
|
void ALuprexGameModeBase::UpdateConsoleOutput() {
|
||||||
|
|||||||
@@ -119,9 +119,6 @@ public:
|
|||||||
// Amount of elapsed time since BeginPlay.
|
// Amount of elapsed time since BeginPlay.
|
||||||
float EngineSeconds = 0.0f;
|
float EngineSeconds = 0.0f;
|
||||||
|
|
||||||
// When do we next rotate the cube.
|
|
||||||
float NextRotateCube = 1.0f;
|
|
||||||
|
|
||||||
// This allows us to post-tick.
|
// This allows us to post-tick.
|
||||||
FDelegateHandle OnWorldPostActorTickHandle;
|
FDelegateHandle OnWorldPostActorTickHandle;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user