Finality Engine
Loading...
Searching...
No Matches
BuildPanel.h
Go to the documentation of this file.
1
6#pragma once
7#include <Core/Process.h>
8#include <Finality.h>
9#include <future>
10namespace FINALITY
11{
14{
16 struct Entry
17 {
18 std::string Path;
19 bool Enabled = true;
20 };
21 std::filesystem::path Root, Output, Launch;
22 std::vector<Entry> Scenes;
23 std::string Company = "DefaultCompany", Product = "Finality Game", Version = "0.1.0", Status;
24 int Width = 1280, Height = 720;
25 bool Fullscreen = false, CopyPDB = false, Run = false;
26 std::future<ProcessResult> Job;
27 void Load(const Project &project);
28 void Save();
29
30 public:
31 bool Visible = false, OpenPlayerSettings = false;
32 bool IsBuilding() const { return Job.valid(); }
33 void Draw(Project &project, const std::filesystem::path &engineAssets, const std::string &scene,
34 bool canBuild);
35 void PlayerProperties(const Project &project);
36 void Start(Project &project, const std::filesystem::path &engineAssets, bool run);
37};
38}
Runs external tools with captured diagnostics.
bool IsBuilding() const
Definition BuildPanel.h:32
void Start(Project &project, const std::filesystem::path &engineAssets, bool run)
void PlayerProperties(const Project &project)
void Draw(Project &project, const std::filesystem::path &engineAssets, const std::string &scene, bool canBuild)
Owns project identity, paths and saved configuration.
Definition Project.h:30