CPP-TOOLBOX
Loading...
Searching...
No Matches
toolbox_engine.cpp File Reference
#include "toolbox_engine.hpp"
#include <charconv>
#include <system_error>

Namespaces

namespace  tbx_engine
 

Functions

std::optional< EKeytbx_engine::get_input_key_from_config_if_valid (InputState &input_state, Configuration &configuration, const std::string &section_key)
 
EKey tbx_engine::get_input_key_from_config_or_default_value (InputState &input_state, Configuration &configuration, const std::string &section_key)
 
void tbx_engine::config_x_input_state_x_fps_camera_processing (FPSCamera &fps_camera, InputState &input_state, Configuration &configuration, double dt)
 
void tbx_engine::register_input_graphics_sound_config_handlers (Configuration &configuration, FPSCamera &fps_camera, FixedFrequencyLoop &ffl)
 
void tbx_engine::potentially_switch_between_menu_and_3d_view (InputState &input_state, InputGraphicsSoundMenu &input_graphics_sound_menu, FPSCamera &fps_camera, Window &window)
 
AllGLFWLambdaCallbacks tbx_engine::create_default_glcm_for_input_and_camera (InputState &input_state, FPSCamera &fps_camera, Window &window, ShaderCache &shader_cache)
 
std::optional< std::pair< int, int > > tbx_engine::extract_width_height_from_resolution (const std::string &resolution)
 
bool tbx_engine::parse_on_off_to_bool (const std::string &user_option)
 
bool tbx_engine::get_user_on_off_value_or_default (Configuration &configuration, const std::string &section_name, const std::string &key_name)
 
int tbx_engine::parse_int_or_default (const std::string &text, int default_value)