Work Life (Visual Novel / Game)
Loading...
Searching...
No Matches
util.h
1#pragma once
2#include "bn_string.h"
3#include "bn_format.h"
4#define FMT_8(fmt, ...) bn::string<8>(bn::format<8>(fmt, __VA_ARGS__).data())
5#define FMT_24(fmt, ...) bn::string<24>(bn::format<24>(fmt, __VA_ARGS__).data())
6#define FMT_32(fmt, ...) bn::string<32>(bn::format<32>(fmt, __VA_ARGS__).data())
7#define FMT_48(fmt, ...) bn::string<48>(bn::format<48>(fmt, __VA_ARGS__).data())
8
9namespace util {
10 int min(int, int);
11 int max(int, int);
12 int clamp(int, int, int);
13}