Converte símbolos Unicode decorativos dos comentários para ASCII
Substitui barras de caixa (─ ═ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴), travessões (—), setas (→ ←), reticências (…), bullets (•), multiplicação (×) e guillemets (› ‹) por equivalentes ASCII. Acentos portugueses são preservados.
This commit is contained in:
1 parent
1cc0ff9d02
commit
90d47bf8a0
36 files changed
+327
-327
No files matched your search
@@ -3,7 +3,7 @@
|
||||
#include <stddef.h>
|
||||
#include "tinyblocks/tb_renderable_block.h"
|
||||
|
||||
/* ── Pool estático — 4 frames em paralelo é suficiente para qualquer backend ─ */
|
||||
/* -- Pool estático - 4 frames em paralelo é suficiente para qualquer backend - */
|
||||
#define POOL_CAP 4
|
||||
|
||||
static TinyBlocks_RenderableBlock s_pool[POOL_CAP];
|
||||
@@ -31,7 +31,7 @@ void tb_renderable_release_all(void) {
|
||||
s_used[i] = false;
|
||||
}
|
||||
|
||||
/* ── Append interno ─────────────────────────────────────────────────────────── */
|
||||
/* -- Append interno --- */
|
||||
static TinyBlocks_DrawCmd* append(TinyBlocks_RenderableBlock* rb) {
|
||||
if (!rb || rb->count >= TB_DRAW_CMD_CAP) return NULL;
|
||||
TinyBlocks_DrawCmd* c = &rb->cmds[rb->count++];
|
||||
@@ -39,7 +39,7 @@ static TinyBlocks_DrawCmd* append(TinyBlocks_RenderableBlock* rb) {
|
||||
return c;
|
||||
}
|
||||
|
||||
/* ── Helpers públicos ────────────────────────────────────────────────────────── */
|
||||
/* -- Helpers públicos --- */
|
||||
void tb_draw_clear(TinyBlocks_RenderableBlock* rb,
|
||||
float r, float g, float b, float a) {
|
||||
TinyBlocks_DrawCmd* c = append(rb); if (!c) return;
|
||||
|
||||
Reference in new issue
Block a user