|
Brenta Engine 1.0
|
#include <engine.hpp>
Data Structures | |
| class | Builder |
| Engine builder. More... | |
Public Member Functions | |
| Engine (bool uses_screen, bool uses_audio, bool uses_input, bool uses_logger, bool uses_text, bool uses_ecs, int screen_width, int screen_height, bool screen_is_mouse_captured, bool screen_msaa, bool screen_vsync, const char *screen_title, Types::LogLevel log_level, std::string log_file, std::string text_font, int text_size, bool gl_blending, bool gl_cull_face, bool gl_multisample, bool gl_depth_test) | |
Data Fields | |
| bool | uses_screen |
| bool | uses_audio |
| bool | uses_input |
| bool | uses_logger |
| bool | uses_text |
| bool | uses_ecs |
| int | screen_width |
| int | screen_height |
| bool | screen_is_mouse_captured |
| const char * | screen_title |
| bool | screen_msaa |
| bool | screen_vsync |
| Types::LogLevel | log_level |
| std::string | log_file |
| std::string | text_font |
| int | text_size |
| bool | gl_blending |
| bool | gl_cull_face |
| bool | gl_multisample |
| bool | gl_depth_test |
Engine setup.
This class is used to setup every subsystem of the engine. You can use the builder class to set the parameters of the engine: you can set which subsystem to use and configure them.
It automatically destroys the subsystems when the engine is destroyed.
Definition at line 58 of file engine.hpp.
| Engine::Engine | ( | bool | uses_screen, |
| bool | uses_audio, | ||
| bool | uses_input, | ||
| bool | uses_logger, | ||
| bool | uses_text, | ||
| bool | uses_ecs, | ||
| int | screen_width, | ||
| int | screen_height, | ||
| bool | screen_is_mouse_captured, | ||
| bool | screen_msaa, | ||
| bool | screen_vsync, | ||
| const char * | screen_title, | ||
| Types::LogLevel | log_level, | ||
| std::string | log_file, | ||
| std::string | text_font, | ||
| int | text_size, | ||
| bool | gl_blending, | ||
| bool | gl_cull_face, | ||
| bool | gl_multisample, | ||
| bool | gl_depth_test ) |
Definition at line 14 of file engine.cpp.
| Engine::~Engine | ( | ) |
Definition at line 61 of file engine.cpp.
| bool Brenta::Engine::gl_blending |
Definition at line 77 of file engine.hpp.
| bool Brenta::Engine::gl_cull_face |
Definition at line 78 of file engine.hpp.
| bool Brenta::Engine::gl_depth_test |
Definition at line 80 of file engine.hpp.
| bool Brenta::Engine::gl_multisample |
Definition at line 79 of file engine.hpp.
| std::string Brenta::Engine::log_file |
Definition at line 74 of file engine.hpp.
| Types::LogLevel Brenta::Engine::log_level |
Definition at line 73 of file engine.hpp.
| int Brenta::Engine::screen_height |
Definition at line 68 of file engine.hpp.
| bool Brenta::Engine::screen_is_mouse_captured |
Definition at line 69 of file engine.hpp.
| bool Brenta::Engine::screen_msaa |
Definition at line 71 of file engine.hpp.
| const char* Brenta::Engine::screen_title |
Definition at line 70 of file engine.hpp.
| bool Brenta::Engine::screen_vsync |
Definition at line 72 of file engine.hpp.
| int Brenta::Engine::screen_width |
Definition at line 67 of file engine.hpp.
| std::string Brenta::Engine::text_font |
Definition at line 75 of file engine.hpp.
| int Brenta::Engine::text_size |
Definition at line 76 of file engine.hpp.
| bool Brenta::Engine::uses_audio |
Definition at line 62 of file engine.hpp.
| bool Brenta::Engine::uses_ecs |
Definition at line 66 of file engine.hpp.
| bool Brenta::Engine::uses_input |
Definition at line 63 of file engine.hpp.
| bool Brenta::Engine::uses_logger |
Definition at line 64 of file engine.hpp.
| bool Brenta::Engine::uses_screen |
Definition at line 61 of file engine.hpp.
| bool Brenta::Engine::uses_text |
Definition at line 65 of file engine.hpp.