Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Editor/Include/Editor/QmlEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <QFileSystemWatcher>

#include <Core/Paths.h>
#include <Common/Memory.h>
#include <Editor/Widget/QmlWidget.h>

namespace Editor {
Expand Down
2 changes: 2 additions & 0 deletions Editor/Src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
//

#include <QApplication>

#include <Core/Cmdline.h>
#include <Editor/Core.h>
#include <Editor/QmlEngine.h>
#include <Editor/Widget/Launcher.h>
Expand Down
2 changes: 2 additions & 0 deletions Editor/Src/QmlEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
#include <QQmlEngine>

#include <Editor/QmlEngine.h>
#include <Core/Cmdline.h>
#include <Core/Paths.h>
#include <Common/FileSystem.h>
#include <Common/String.h>

namespace Editor {
static ::Core::CmdlineArgValue<bool> caQmlHotReload(
Expand Down
1 change: 1 addition & 0 deletions Engine/Source/Common/Include/Common/Container.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <Common/Debug.h>
#include <Common/Concepts.h>
#include <Common/Math/Common.h>
#include <Common/Utility.h>

namespace Common {
class VectorUtils {
Expand Down
3 changes: 2 additions & 1 deletion Engine/Source/Common/Test/DelegateTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

#include <Common/Delegate.h>
#include <gtest/gtest.h>

static int counter = 0;

Expand All @@ -29,7 +30,7 @@ TEST(DelegateTest, BasicTest)
{
Receiver receiver;

Delegate<int, bool> event;
Common::Delegate<int, bool> event;
ASSERT_EQ(event.BindStatic<&StaticReceiver>(), 0);
ASSERT_EQ(event.BindMember<&Receiver::Receive>(receiver), 1);
ASSERT_EQ(event.BindLambda([](int a, bool b) -> void {
Expand Down
1 change: 1 addition & 0 deletions Engine/Source/Core/Src/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

#include <Core/Log.h>
#include <Common/FileSystem.h>
#include <Common/IO.h>

namespace Core {
Expand Down
1 change: 1 addition & 0 deletions Engine/Source/Core/Src/Paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Created by johnk on 2023/7/31.
//

#include <Common/Debug.h>
#include <Core/Paths.h>

namespace Core {
Expand Down
6 changes: 6 additions & 0 deletions Engine/Source/Render/Include/Render/Renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
#include <Render/Scene.h>
#include <Render/View.h>

namespace RHI {
class Texture;
class Semaphore;
class Fence;
}

namespace Render {
class Renderer {
public:
Expand Down
8 changes: 4 additions & 4 deletions Engine/Source/Runtime/Test/WorldTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Position::Position(float inX, float inY)

bool Position::operator==(const Position& inRhs) const
{
return CompareNumber(x, inRhs.x)
&& CompareNumber(y, inRhs.y);
return Common::CompareNumber(x, inRhs.x)
&& Common::CompareNumber(y, inRhs.y);
}

Velocity::Velocity()
Expand All @@ -59,8 +59,8 @@ Velocity::Velocity(float inX, float inY)

bool Velocity::operator==(const Velocity& inRhs) const
{
return CompareNumber(x, inRhs.x)
&& CompareNumber(y, inRhs.y);
return Common::CompareNumber(x, inRhs.x)
&& Common::CompareNumber(y, inRhs.y);
}

BasicTest_MotionSystem::BasicTest_MotionSystem(ECRegistry& inRegistry)
Expand Down
Loading