|
CPP-TOOLBOX
|
Functions | |
| std::optional< EKey > | get_input_key_from_config_if_valid (InputState &input_state, Configuration &configuration, const std::string §ion_key) |
| EKey | get_input_key_from_config_or_default_value (InputState &input_state, Configuration &configuration, const std::string §ion_key) |
| void | config_x_input_state_x_fps_camera_processing (FPSCamera &fps_camera, InputState &input_state, Configuration &configuration, double dt) |
| void | register_input_graphics_sound_config_handlers (Configuration &configuration, FPSCamera &fps_camera, FixedFrequencyLoop &ffl) |
| void | potentially_switch_between_menu_and_3d_view (InputState &input_state, InputGraphicsSoundMenu &input_graphics_sound_menu, FPSCamera &fps_camera, Window &window) |
| AllGLFWLambdaCallbacks | create_default_glcm_for_input_and_camera (InputState &input_state, FPSCamera &fps_camera, Window &window, ShaderCache &shader_cache) |
| std::optional< std::pair< int, int > > | extract_width_height_from_resolution (const std::string &resolution) |
| bool | parse_on_off_to_bool (const std::string &user_option) |
| bool | get_user_on_off_value_or_default (Configuration &configuration, const std::string §ion_name, const std::string &key_name) |
| int | parse_int_or_default (const std::string &text, int default_value) |
Variables | |
| const std::string | config_value_slow_move = "slow_move" |
| const std::string | config_value_fast_move = "fast_move" |
| const std::string | config_value_forward = "forward" |
| const std::string | config_value_left = "left" |
| const std::string | config_value_back = "back" |
| const std::string | config_value_right = "right" |
| const std::string | config_value_up = "up" |
| const std::string | config_value_down = "down" |
| const std::unordered_map< std::string, EKey > | movement_value_str_to_default_key |
| const std::vector< std::string > | on_off_options = {"on", "off"} |
| void tbx_engine::config_x_input_state_x_fps_camera_processing | ( | FPSCamera & | fps_camera, |
| InputState & | input_state, | ||
| Configuration & | configuration, | ||
| double | dt ) |
| 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 | ) |
| std::optional< EKey > tbx_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 ) |
| 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 ) |
| bool tbx_engine::parse_on_off_to_bool | ( | const std::string & | user_option | ) |
| void tbx_engine::potentially_switch_between_menu_and_3d_view | ( | InputState & | input_state, |
| InputGraphicsSoundMenu & | input_graphics_sound_menu, | ||
| FPSCamera & | fps_camera, | ||
| Window & | window ) |
| void tbx_engine::register_input_graphics_sound_config_handlers | ( | Configuration & | configuration, |
| FPSCamera & | fps_camera, | ||
| FixedFrequencyLoop & | ffl ) |
| const std::string tbx_engine::config_value_back = "back" |
| const std::string tbx_engine::config_value_down = "down" |
| const std::string tbx_engine::config_value_fast_move = "fast_move" |
| const std::string tbx_engine::config_value_forward = "forward" |
| const std::string tbx_engine::config_value_left = "left" |
| const std::string tbx_engine::config_value_right = "right" |
| const std::string tbx_engine::config_value_slow_move = "slow_move" |
| const std::string tbx_engine::config_value_up = "up" |
| const std::unordered_map<std::string, EKey> tbx_engine::movement_value_str_to_default_key |
| const std::vector<std::string> tbx_engine::on_off_options = {"on", "off"} |