A few tiny cleanups

This commit is contained in:
2026-02-27 18:40:29 -05:00
parent 8825fe3a1e
commit 2765ea3f07
4 changed files with 5 additions and 9 deletions

View File

@@ -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;

View File

@@ -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()

View File

@@ -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() {

View File

@@ -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;