![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Asset and Config loader. More...
#include <Loader.hpp>
Public Member Functions | |
Loader () | |
Constructor. | |
~Loader () | |
Destructor. | |
void | load_all () |
Loads resources, user config and window settings. | |
void | load_resources () |
Load game resources. | |
void | load_user_config () |
Only loads user config. | |
void | load_window () |
Only loads the window settings. | |
void | build_resources () |
Builds opengl resources on the main thread. | |
Asset and Config loader.
Definition at line 20 of file Loader.hpp.
galaxy::core::Loader::Loader | ( | ) |
Constructor.
Definition at line 35 of file Loader.cpp.
galaxy::core::Loader::~Loader | ( | ) |
Destructor.
Definition at line 39 of file Loader.cpp.
void galaxy::core::Loader::load_all | ( | ) |
Loads resources, user config and window settings.
Does not load maps.
Definition at line 43 of file Loader.cpp.
void galaxy::core::Loader::load_resources | ( | ) |
Load game resources.
Definition at line 91 of file Loader.cpp.
void galaxy::core::Loader::load_user_config | ( | ) |
Only loads user config.
Definition at line 132 of file Loader.cpp.
void galaxy::core::Loader::load_window | ( | ) |
Only loads the window settings.
Definition at line 153 of file Loader.cpp.
void galaxy::core::Loader::build_resources | ( | ) |
Builds opengl resources on the main thread.
Definition at line 176 of file Loader.cpp.