From effca97ac0ce9e93fe29e5c345bd544e87a2a606 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 30 Oct 2026 18:00:06 -0300 Subject: added teto --- src/main.c | 77 +++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 54 insertions(+), 23 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 00c6f5f..7e1c83d 100644 --- a/src/main.c +++ b/src/main.c @@ -1,10 +1,15 @@ #include "../defs/all.h" #include "../defs/mikuart.h" -char **getmikuart(int style){ +char **getmikuart(int style, int isteto){ + if(isteto == 0){ + if(style < 0) + style = rand() % migucount; + return mikuart[style]; + } if(style < 0) - style = rand() % migucount; - return mikuart[style]; + style = rand() % tetocount; + return tetoart[style]; } struct win { @@ -232,7 +237,10 @@ static void print_help(void){ " [TEXT] Text to display in the speech bubble\n\n" "Options:\n" " -s, --style