Fixes for compilation

This commit is contained in:
Wojciech Figat
2022-12-14 14:04:14 +01:00
parent 188428a7a9
commit c38eda5799
5 changed files with 10 additions and 4 deletions

View File

@@ -54,8 +54,5 @@ public:
/// Gets the string.
/// </summary>
/// <returns>The string.</returns>
String ToString() const
{
return String::Format(TEXT("ID: {0}, TypeName: {1}, Path: \'{2}\'"), ID, TypeName, Path);
}
String ToString() const;
};

View File

@@ -34,6 +34,11 @@ TimeSpan Content::AssetsUnloadInterval = TimeSpan::FromSeconds(10);
Delegate<Asset*> Content::AssetDisposing;
Delegate<Asset*> Content::AssetReloading;
String AssetInfo::ToString() const
{
return String::Format(TEXT("ID: {0}, TypeName: {1}, Path: \'{2}\'"), ID, TypeName, Path);
}
namespace
{
// Assets

View File

@@ -2,6 +2,8 @@
#pragma once
#include "Engine/Core/Types/BaseTypes.h"
/// <summary>
/// Build game header flags.
/// </summary>

View File

@@ -1,6 +1,7 @@
// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
#include "FontTextureAtlas.h"
#include "Engine/Core/Log.h"
#include "Engine/Core/Types/DataContainer.h"
#include "Engine/Content/Factories/BinaryAssetFactory.h"
#include "Engine/Graphics/PixelFormat.h"

View File

@@ -3,6 +3,7 @@
#pragma once
#include "../RendererPass.h"
#include "Engine/Graphics/GPUContext.h"
#include "Engine/Graphics/GPUPipelineStatePermutations.h"
/// <summary>