aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_debugtext.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-02-11 14:40:47 +0100
committerAndre Weissflog <floooh@gmail.com>2023-02-11 14:40:47 +0100
commitc1840957807a08733f0e4b6e55915dad82685781 (patch)
tree5d795a4d8092cdb676387ed0b0dcaa2183f9597f /util/sokol_debugtext.h
parentdecda688139988f9832a2393cb03582d67162fcb (diff)
sokol_debugtext.h, sokol_gl.h: replace figlet font
Diffstat (limited to 'util/sokol_debugtext.h')
-rw-r--r--util/sokol_debugtext.h78
1 files changed, 35 insertions, 43 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h
index f6fc8d51..78ae60de 100644
--- a/util/sokol_debugtext.h
+++ b/util/sokol_debugtext.h
@@ -762,12 +762,11 @@ inline sdtx_context sdtx_make_context(const sdtx_context_desc_t& desc) { return
#endif
#endif /* SOKOL_DEBUGTEXT_INCLUDED */
-// ██╗███╗ ███╗██████╗ ██╗ ███████╗███╗ ███╗███████╗███╗ ██╗████████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
-// ██║████╗ ████║██╔══██╗██║ ██╔════╝████╗ ████║██╔════╝████╗ ██║╚══██╔══╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
-// ██║██╔████╔██║██████╔╝██║ █████╗ ██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ███████║ ██║ ██║██║ ██║██╔██╗ ██║
-// ██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝ ██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
-// ██║██║ ╚═╝ ██║██║ ███████╗███████╗██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
-// ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
+// ██ ███ ███ ██████ ██ ███████ ███ ███ ███████ ███ ██ ████████ █████ ████████ ██ ██████ ███ ██
+// ██ ████ ████ ██ ██ ██ ██ ████ ████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
+// ██ ██ ████ ██ ██████ ██ █████ ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ███████ ███████ ██ ██ ███████ ██ ████ ██ ██ ██ ██ ██ ██████ ██ ████
//
// >>implementation
#ifdef SOKOL_DEBUGTEXT_IMPL
@@ -3549,13 +3548,11 @@ static const char* _sdtx_fs_src_dummy = "";
#error "Please define one of SOKOL_GLCORE33, SOKOL_GLES2, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!"
#endif
-// ███████╗████████╗██████╗ ██╗ ██╗ ██████╗████████╗███████╗
-// ██╔════╝╚══██╔══╝██╔══██╗██║ ██║██╔════╝╚══██╔══╝██╔════╝
-// ███████╗ ██║ ██████╔╝██║ ██║██║ ██║ ███████╗
-// ╚════██║ ██║ ██╔══██╗██║ ██║██║ ██║ ╚════██║
-// ███████║ ██║ ██║ ██║╚██████╔╝╚██████╗ ██║ ███████║
-// ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝
-//
+// ███████ ████████ ██████ ██ ██ ██████ ████████ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██ ██████ ██ ██ ██ ██ ███████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██ ██ ██ ██████ ██████ ██ ███████
//
// >>structs
typedef struct {
@@ -3633,12 +3630,11 @@ typedef struct {
} _sdtx_t;
static _sdtx_t _sdtx;
-// ██╗ ██████╗ ██████╗ ██████╗ ██╗███╗ ██╗ ██████╗
-// ██║ ██╔═══██╗██╔════╝ ██╔════╝ ██║████╗ ██║██╔════╝
-// ██║ ██║ ██║██║ ███╗██║ ███╗██║██╔██╗ ██║██║ ███╗
-// ██║ ██║ ██║██║ ██║██║ ██║██║██║╚██╗██║██║ ██║
-// ███████╗╚██████╔╝╚██████╔╝╚██████╔╝██║██║ ╚████║╚██████╔╝
-// ╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
+// ██ ██████ ██████ ██████ ██ ███ ██ ██████
+// ██ ██ ██ ██ ██ ██ ████ ██ ██
+// ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ███████ ██████ ██████ ██████ ██ ██ ████ ██████
//
// >>logging
#if defined(SOKOL_DEBUG)
@@ -3673,12 +3669,11 @@ static void _sdtx_log(sdtx_log_item_t log_item, uint32_t log_level, uint32_t lin
}
}
-// ███╗ ███╗███████╗███╗ ███╗ ██████╗ ██████╗ ██╗ ██╗
-// ████╗ ████║██╔════╝████╗ ████║██╔═══██╗██╔══██╗╚██╗ ██╔╝
-// ██╔████╔██║█████╗ ██╔████╔██║██║ ██║██████╔╝ ╚████╔╝
-// ██║╚██╔╝██║██╔══╝ ██║╚██╔╝██║██║ ██║██╔══██╗ ╚██╔╝
-// ██║ ╚═╝ ██║███████╗██║ ╚═╝ ██║╚██████╔╝██║ ██║ ██║
-// ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
+// ███ ███ ███████ ███ ███ ██████ ██████ ██ ██
+// ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██
+// ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ███████ ██ ██ ██████ ██ ██ ██
//
// >>memory
static void _sdtx_clear(void* ptr, size_t size) {
@@ -3716,12 +3711,11 @@ static void _sdtx_free(void* ptr) {
}
}
-// ██████╗ ██████╗ ███╗ ██╗████████╗███████╗██╗ ██╗████████╗ ██████╗ ██████╗ ██████╗ ██╗
-// ██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ ██╔══██╗██╔═══██╗██╔═══██╗██║
-// ██║ ██║ ██║██╔██╗ ██║ ██║ █████╗ ╚███╔╝ ██║ ██████╔╝██║ ██║██║ ██║██║
-// ██║ ██║ ██║██║╚██╗██║ ██║ ██╔══╝ ██╔██╗ ██║ ██╔═══╝ ██║ ██║██║ ██║██║
-// ╚██████╗╚██████╔╝██║ ╚████║ ██║ ███████╗██╔╝ ██╗ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗
-// ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
+// ██████ ██████ ███ ██ ████████ ███████ ██ ██ ████████ ██████ ██████ ██████ ██
+// ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ █████ ███ ██ ██████ ██ ██ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ██████ ██ ████ ██ ███████ ██ ██ ██ ██ ██████ ██████ ███████
//
// >>context pool
static void _sdtx_init_pool(_sdtx_pool_t* pool, int num) {
@@ -3991,12 +3985,11 @@ static bool _sdtx_is_default_context(sdtx_context ctx_id) {
return ctx_id.id == SDTX_DEFAULT_CONTEXT.id;
}
-// ███╗ ███╗██╗███████╗ ██████╗
-// ████╗ ████║██║██╔════╝██╔════╝
-// ██╔████╔██║██║███████╗██║
-// ██║╚██╔╝██║██║╚════██║██║
-// ██║ ╚═╝ ██║██║███████║╚██████╗
-// ╚═╝ ╚═╝╚═╝╚══════╝ ╚═════╝
+// ███ ███ ██ ███████ ██████
+// ████ ████ ██ ██ ██
+// ██ ████ ██ ██ ███████ ██
+// ██ ██ ██ ██ ██ ██
+// ██ ██ ██ ███████ ██████
//
// >>misc
@@ -4302,12 +4295,11 @@ static sdtx_desc_t _sdtx_desc_defaults(const sdtx_desc_t* desc) {
return res;
}
-// ██████╗ ██╗ ██╗██████╗ ██╗ ██╗ ██████╗
-// ██╔══██╗██║ ██║██╔══██╗██║ ██║██╔════╝
-// ██████╔╝██║ ██║██████╔╝██║ ██║██║
-// ██╔═══╝ ██║ ██║██╔══██╗██║ ██║██║
-// ██║ ╚██████╔╝██████╔╝███████╗██║╚██████╗
-// ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝
+// ██████ ██ ██ ██████ ██ ██ ██████
+// ██ ██ ██ ██ ██ ██ ██ ██ ██
+// ██████ ██ ██ ██████ ██ ██ ██
+// ██ ██ ██ ██ ██ ██ ██ ██
+// ██ ██████ ██████ ███████ ██ ██████
//
// >>public
SOKOL_API_IMPL void sdtx_setup(const sdtx_desc_t* desc) {