mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Fixedruntime refact
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#include <src/Rendering/Textures/Material.h>
|
||||
#include "../Misc/PopupHelper.h"
|
||||
#include <src/FileSystem/FileDialog.h>
|
||||
#include <src/FileSystem/Directory.h>
|
||||
#include <src/FileSystem/File.h>
|
||||
#include "src/Scene/Systems/WadConverter.h"
|
||||
#include "../Misc/ThumbnailManager.h"
|
||||
|
||||
@@ -22,7 +24,6 @@ namespace Nuake
|
||||
{
|
||||
Ref<Directory> FileSystemUI::m_CurrentDirectory;
|
||||
|
||||
// TODO: add filetree in same panel
|
||||
void FileSystemUI::Draw()
|
||||
{
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#endif
|
||||
|
||||
#include "src/FileSystem/File.h"
|
||||
#include "src/FileSystem/Directory.h"
|
||||
|
||||
#include "GLFW/glfw3.h"
|
||||
#include "GLFW/glfw3native.h"
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
#pragma once
|
||||
#include "src/Core/Core.h"
|
||||
|
||||
#include "Directory.h"
|
||||
|
||||
#include "FileTypes.h"
|
||||
|
||||
namespace Nuake
|
||||
{
|
||||
class Directory;
|
||||
|
||||
class File
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace Nuake
|
||||
|
||||
static Ref<Material> LoadMaterial(const std::string& path);
|
||||
static Ref<Model> LoadModel(const std::string& path);
|
||||
static Ref<Texture> LoadTexture(const std::string& path);
|
||||
|
||||
private:
|
||||
static UUID ReadUUID(json j);
|
||||
|
||||
@@ -491,6 +491,7 @@ namespace Nuake
|
||||
|
||||
if (!cam)
|
||||
cam = m_EditorCamera;
|
||||
|
||||
return cam;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#include <Engine.h>
|
||||
#include "src/Core/FileSystem.h"
|
||||
#include "src/FileSystem/FileSystem.h"
|
||||
|
||||
#include "src/FileSystem/File.h"
|
||||
#include "src/FileSystem/Directory.h"
|
||||
#include "src/Core/String.h"
|
||||
#include "src/Resource/Project.h"
|
||||
|
||||
//#include <dependencies/GLEW/include/GL/glew.h>
|
||||
#include <src/Vendors/imgui/imgui.h>
|
||||
|
||||
Reference in New Issue
Block a user