MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
rain.cpp File Reference
#include "rain.hpp"
#include <algorithm>
#include <charconv>
#include <cmath>
#include <cstring>
#include <mutex>
#include <optional>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  matrix
namespace  matrix::anonymous_namespace{rain.cpp}

Functions

bool matrix::anonymous_namespace{rain.cpp}::acquire_ttf ()
RainConfig matrix::make_matrix_rain_config (const std::string &asset_root, bool binary_glyph_mode)
std::function< SDL_Color()> matrix::anonymous_namespace{rain.cpp}::make_tinted_head_color (SDL_Color base_color)
std::function< SDL_Color(int)> matrix::anonymous_namespace{rain.cpp}::make_tinted_level_color (SDL_Color base_color)
std::optional< SDL_Color > matrix::anonymous_namespace{rain.cpp}::parse_color_spec (const std::string &spec)
std::optional< Uint8 > matrix::anonymous_namespace{rain.cpp}::parse_u8_component (const std::string &value, int base)
void matrix::anonymous_namespace{rain.cpp}::release_ttf ()
std::string matrix::anonymous_namespace{rain.cpp}::trim_copy (const std::string &value)

Variables

constexpr int matrix::anonymous_namespace{rain.cpp}::default_surface_height = 720
constexpr int matrix::anonymous_namespace{rain.cpp}::default_surface_width = 1280
std::mutex matrix::anonymous_namespace{rain.cpp}::ttf_mutex
std::size_t matrix::anonymous_namespace{rain.cpp}::ttf_refcount = 0