Major cleanup.
Moved to namespace Cleanup includes
This commit is contained in:
@@ -6,29 +6,32 @@
|
||||
|
||||
#include "FGD/FGDFile.h"
|
||||
|
||||
class Project : public ISerializable
|
||||
namespace Nuake
|
||||
{
|
||||
public:
|
||||
std::string Name;
|
||||
std::string Description;
|
||||
std::string FullPath;
|
||||
class Project : public ISerializable
|
||||
{
|
||||
public:
|
||||
std::string Name;
|
||||
std::string Description;
|
||||
std::string FullPath;
|
||||
|
||||
// Path of the trenchbroom .exe folder
|
||||
std::string TrenchbroomPath = "";
|
||||
// Path of the trenchbroom .exe folder
|
||||
std::string TrenchbroomPath = "";
|
||||
|
||||
Ref<Scene> DefaultScene;
|
||||
Ref<FGDFile> EntityDefinitionsFile;
|
||||
Ref<Scene> DefaultScene;
|
||||
Ref<FGDFile> EntityDefinitionsFile;
|
||||
|
||||
Project(const std::string Name, const std::string Description, const std::string& FullPath, const std::string& defaultScenePath = "");
|
||||
Project();
|
||||
Project(const std::string Name, const std::string Description, const std::string& FullPath, const std::string& defaultScenePath = "");
|
||||
Project();
|
||||
|
||||
void Save();
|
||||
void SaveAs(const std::string FullPath);
|
||||
void Save();
|
||||
void SaveAs(const std::string FullPath);
|
||||
|
||||
static Ref<Project> New(const std::string Name, const std::string Description, const std::string FullPath);
|
||||
static Ref<Project> New();
|
||||
static Ref<Project> Load(std::string path);
|
||||
static Ref<Project> New(const std::string Name, const std::string Description, const std::string FullPath);
|
||||
static Ref<Project> New();
|
||||
static Ref<Project> Load(std::string path);
|
||||
|
||||
json Serialize() override;
|
||||
bool Deserialize(const std::string& str) override;
|
||||
};
|
||||
json Serialize() override;
|
||||
bool Deserialize(const std::string& str) override;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user