Khaotic Engine Reborn
Loading...
Searching...
No Matches
scene_manager.h
1
#pragma once
2
#include <filesystem>
3
#include <string>
4
#include <vector>
5
6
#include "ecs/entity.h"
7
8
class
d_3d_class
;
9
class
object
;
10
class
application_class
;
11
12
class
scene_manager
13
{
14
public
:
15
16
scene_manager
();
17
~scene_manager
();
18
24
bool
initialize
(
application_class
* app);
29
bool
shutdown
();
30
38
bool
save_scene_as
();
45
bool
save_scene
();
51
bool
load_scene
();
52
57
std::wstring
get_scene_path
();
63
std::string
convert_w_string_to_string
(
const
std::wstring& w_str);
64
65
private
:
66
67
std::vector<std::shared_ptr<ecs::Entity>> entity_;
68
69
application_class
* app_;
70
std::string scene_path_;
71
std::vector<object*> object_vec_;
72
int
object_id_;
73
std::filesystem::path w_folder_;
74
d_3d_class
* direct_3d_;
75
};
application_class
Definition
application_class.h:79
d_3d_class
Definition
d_3d_class.h:31
object
Definition
object.h:30
scene_manager
Definition
scene_manager.h:13
scene_manager::initialize
bool initialize(application_class *app)
Definition
scene_manager.cpp:13
scene_manager::load_scene
bool load_scene()
Definition
scene_manager.cpp:67
scene_manager::save_scene
bool save_scene()
Definition
scene_manager.cpp:295
scene_manager::save_scene_as
bool save_scene_as()
Definition
scene_manager.cpp:30
scene_manager::shutdown
bool shutdown()
Definition
scene_manager.cpp:24
scene_manager::convert_w_string_to_string
std::string convert_w_string_to_string(const std::wstring &w_str)
Definition
scene_manager.cpp:444
scene_manager::get_scene_path
std::wstring get_scene_path()
Definition
scene_manager.cpp:418
enginecustom
src
inc
system
scene_manager.h
Generated by
1.12.0