mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 08:02:23 -07:00
fix build
This commit is contained in:
@@ -218,4 +218,6 @@ void UCogEngineWindow_NetEmulation::DrawControls()
|
||||
"The ratio of incoming packets that will be dropped to simulate packet loss");
|
||||
}
|
||||
|
||||
#endif //DO_ENABLE_NET_TEST
|
||||
#endif //DO_ENABLE_NET_TEST
|
||||
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
class UCogEngineWindow_OutputLog;
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
class UCogLogOutputDevice : public FOutputDevice
|
||||
{
|
||||
public:
|
||||
@@ -21,6 +22,7 @@ public:
|
||||
UCogEngineWindow_OutputLog* OutputLog = nullptr;
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
UCLASS(Config = Cog)
|
||||
class COGENGINE_API UCogEngineWindow_OutputLog : public UCogWindow
|
||||
{
|
||||
@@ -30,6 +32,10 @@ public:
|
||||
|
||||
UCogEngineWindow_OutputLog();
|
||||
|
||||
void AddLog(const TCHAR* Message, ELogVerbosity::Type Verbosity, const FName& Category);
|
||||
|
||||
void Clear();
|
||||
|
||||
protected:
|
||||
|
||||
virtual void RenderHelp() override;
|
||||
@@ -38,10 +44,6 @@ protected:
|
||||
|
||||
virtual void RenderContent() override;
|
||||
|
||||
void Clear();
|
||||
|
||||
void AddLog(const TCHAR* Message, ELogVerbosity::Type Verbosity, const FName& Category);
|
||||
|
||||
private:
|
||||
|
||||
struct FLineInfo
|
||||
|
||||
@@ -20,6 +20,8 @@ class COGENGINE_API UCogEngineWindow_Spawns : public UCogWindow
|
||||
|
||||
protected:
|
||||
|
||||
virtual void RenderHelp();
|
||||
|
||||
virtual void PreRender(ImGuiWindowFlags& WindowFlags) override;
|
||||
|
||||
virtual void RenderContent() override;
|
||||
|
||||
@@ -15,7 +15,7 @@ void UCogInputWindow_Actions::RenderHelp()
|
||||
"This window display the current state of each Input Action. "
|
||||
"It can also be used to inject inputs to help debugging. "
|
||||
"The input action are read from a Input Mapping Context defined in '%s' data asset. "
|
||||
, TCHAR_TO_ANSI(*GetNameSafe(ActionAsset))
|
||||
, TCHAR_TO_ANSI(*GetNameSafe(ActionsAsset.Get()))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,9 +13,13 @@ class COGINPUT_API UCogInputWindow_Actions : public UCogWindow
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
|
||||
TWeakObjectPtr<UCogInputDataAsset_Actions> ActionsAsset;
|
||||
|
||||
protected:
|
||||
|
||||
void RenderHelp()
|
||||
void RenderHelp();
|
||||
|
||||
virtual void PreRender(ImGuiWindowFlags& WindowFlags) override;
|
||||
|
||||
@@ -25,8 +29,6 @@ protected:
|
||||
|
||||
virtual void DrawAxis(const char* Format, const char* ActionName, float CurrentValue, float* InjectValue);
|
||||
|
||||
TWeakObjectPtr<UCogInputDataAsset_Actions> ActionsAsset;
|
||||
|
||||
private:
|
||||
|
||||
UPROPERTY(Config)
|
||||
|
||||
Reference in New Issue
Block a user