Brenta Engine 1.1
|
Engine setup. More...
#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, int screen_width, int screen_height, bool screen_is_mouse_captured, bool screen_msaa, bool screen_vsync, const char *screen_title, oak::level 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 |
int | screen_width |
int | screen_height |
bool | screen_is_mouse_captured |
const char * | screen_title |
bool | screen_msaa |
bool | screen_vsync |
oak::level | 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 60 of file engine.hpp.
engine::engine | ( | bool | uses_screen, |
bool | uses_audio, | ||
bool | uses_input, | ||
bool | uses_logger, | ||
bool | uses_text, | ||
int | screen_width, | ||
int | screen_height, | ||
bool | screen_is_mouse_captured, | ||
bool | screen_msaa, | ||
bool | screen_vsync, | ||
const char * | screen_title, | ||
oak::level | 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 88 of file engine.cpp.
bool brenta::engine::gl_blending |
Definition at line 78 of file engine.hpp.
bool brenta::engine::gl_cull_face |
Definition at line 79 of file engine.hpp.
bool brenta::engine::gl_depth_test |
Definition at line 81 of file engine.hpp.
bool brenta::engine::gl_multisample |
Definition at line 80 of file engine.hpp.
std::string brenta::engine::log_file |
Definition at line 75 of file engine.hpp.
oak::level brenta::engine::log_level |
Definition at line 74 of file engine.hpp.
int brenta::engine::screen_height |
Definition at line 69 of file engine.hpp.
bool brenta::engine::screen_is_mouse_captured |
Definition at line 70 of file engine.hpp.
bool brenta::engine::screen_msaa |
Definition at line 72 of file engine.hpp.
const char* brenta::engine::screen_title |
Definition at line 71 of file engine.hpp.
bool brenta::engine::screen_vsync |
Definition at line 73 of file engine.hpp.
int brenta::engine::screen_width |
Definition at line 68 of file engine.hpp.
std::string brenta::engine::text_font |
Definition at line 76 of file engine.hpp.
int brenta::engine::text_size |
Definition at line 77 of file engine.hpp.
bool brenta::engine::uses_audio |
Definition at line 64 of file engine.hpp.
bool brenta::engine::uses_input |
Definition at line 65 of file engine.hpp.
bool brenta::engine::uses_logger |
Definition at line 66 of file engine.hpp.
bool brenta::engine::uses_screen |
Definition at line 63 of file engine.hpp.
bool brenta::engine::uses_text |
Definition at line 67 of file engine.hpp.