Finality Engine
Toggle main menu visibility
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>
10
namespace
FINALITY
11
{
13
class
BuildPanel
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
}
Finality.h
Process.h
Runs external tools with captured diagnostics.
FINALITY::BuildPanel
Definition
BuildPanel.h:14
FINALITY::BuildPanel::Visible
bool Visible
Definition
BuildPanel.h:31
FINALITY::BuildPanel::IsBuilding
bool IsBuilding() const
Definition
BuildPanel.h:32
FINALITY::BuildPanel::Start
void Start(Project &project, const std::filesystem::path &engineAssets, bool run)
FINALITY::BuildPanel::OpenPlayerSettings
bool OpenPlayerSettings
Definition
BuildPanel.h:31
FINALITY::BuildPanel::PlayerProperties
void PlayerProperties(const Project &project)
FINALITY::BuildPanel::Draw
void Draw(Project &project, const std::filesystem::path &engineAssets, const std::string &scene, bool canBuild)
FINALITY::Project
Owns project identity, paths and saved configuration.
Definition
Project.h:30
FINALITY
Definition
Asset.h:12
FinalityEditor
src
Editor
Panels
BuildPanel.h
Generated by
1.18.0