Toast Engine
Loading...
Searching...
No Matches
parse_util.hpp File Reference

Small helpers shared by the TOML parsing paths of triggers, modifiers and binds. More...

#include "value.hpp"
#include <glm/glm.hpp>
#include <toml++/toml.hpp>
Include dependency graph for parse_util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

auto input::parse::vec2 (const toml::node_view< const toml::node > &node, glm::vec2 fallback) -> glm::vec2
auto input::parse::number (const toml::node_view< const toml::node > &node, float fallback) -> float
auto input::parse::boolean (const toml::node_view< const toml::node > &node, bool fallback) -> bool
auto input::parse::value (const toml::node_view< const toml::node > &node, ValueType vt) -> Value

Detailed Description

Small helpers shared by the TOML parsing paths of triggers, modifiers and binds.

Author
Xein
Date
21 Jun 2026