Fix build

This commit is contained in:
Wojtek Figat
2022-01-09 17:46:37 +01:00
parent 73f7688c58
commit 892723c501
3 changed files with 3 additions and 18 deletions

View File

@@ -6,6 +6,7 @@
#include "Engine/Core/Delegate.h"
#include "Engine/Core/Types/String.h"
#include "Engine/Core/Types/DateTime.h"
#include "Engine/Core/Collections/Array.h"
#include "Engine/Platform/CriticalSection.h"
#include "Engine/Serialization/FileReadStream.h"
#include "Engine/Threading/ThreadLocal.h"

View File

@@ -143,9 +143,11 @@ Delegate<Scene*, const Guid&> Level::SceneLoaded;
Delegate<Scene*, const Guid&> Level::SceneLoadError;
Delegate<Scene*, const Guid&> Level::SceneUnloading;
Delegate<Scene*, const Guid&> Level::SceneUnloaded;
#if USE_EDITOR
Action Level::ScriptsReloadStart;
Action Level::ScriptsReload;
Action Level::ScriptsReloadEnd;
#endif
Array<String> Level::Tags;
String Level::Layers[32];

View File

@@ -154,24 +154,6 @@ public:
WriteBytes((const void*)text, sizeof(Char) * length);
}
template<typename... Args>
void WriteTextFormatted(const char* format, const Args& ... args)
{
fmt_flax::allocator_ansi allocator;
fmt_flax::memory_buffer_ansi buffer(allocator);
fmt_flax::format(buffer, format, args...);
WriteText(buffer.data(), (int32)buffer.size());
}
template<typename... Args>
void WriteTextFormatted(const Char* format, const Args& ... args)
{
fmt_flax::allocator allocator;
fmt_flax::memory_buffer buffer(allocator);
fmt_flax::format(buffer, format, args...);
WriteText(buffer.data(), (int32)buffer.size());
}
// Write UTF BOM character sequence
void WriteBOM()
{