Linha de comando: pasta é ignorada com aviso, projeto é aberto

Todo argumento ia para o dlopen como library: abrir o editor com uma pasta
(./TinyBlocks.AppDir) dava "dlopen: ... Is a directory". Agora .so é
library, pasta é ignorada com um aviso claro e qualquer outro arquivo é
aberto como projeto (.json, ou .txt em scratchblocks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mguinhosandClaude Opus 5.5 committed 2026-10-23 15:55:37 -03:00
1 parent 2a2d22a64a
commit bfa17eecea
15 files changed
+9784 -124

No files matched your search

+2
View File
@@ -25,6 +25,8 @@ TB_API void tb_stage_text(const char* text, float x, float y);
TB_API bool tb_stage_image(const TinyBlocks_Image* img, float x, float y);
TB_API bool tb_stage_image_named(const char* name, float x, float y);
TB_API bool tb_stage_image_number(int number, float x, float y);
/* Como tb_stage_image, mas com zoom (escala) da imagem; zoom <= 0 = 1. */
TB_API bool tb_stage_image_zoom(const TinyBlocks_Image* img, float x, float y, float zoom);
/* Vista: tamanho da area onde o palco sera desenhado (letterbox 4:3) */
TB_API void tb_stage_set_view(float w, float h);