From d59a25a096aaa315cb5b2bca6ca3f46353d14737 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 21 Mar 2024 18:18:14 -0400 Subject: [PATCH] added gay (mlm) flag --- basic.c | 10 ++++++++++ basic.h | 1 + full.c | 12 ++++++++++++ full.h | 1 + main.c | 11 ++++++++++- 5 files changed, 34 insertions(+), 1 deletion(-) diff --git a/basic.c b/basic.c index 2377ed9..3416f69 100644 --- a/basic.c +++ b/basic.c @@ -31,6 +31,16 @@ void bisexual_8() { ); } +void gay_8() { + printf( + CYAN STRIPE + L_CYAN STRIPE + WHITE STRIPE + L_BLUE STRIPE + BLUE STRIPE + ); +} + void lesbian_8() { printf( RED STRIPE diff --git a/basic.h b/basic.h index 6f58c5b..f9579f6 100644 --- a/basic.h +++ b/basic.h @@ -22,6 +22,7 @@ void rainbow_8(); void aroace_8(); void bisexual_8(); +void gay_8(); void lesbian_8(); void nonbinary_8(); void pansexual_8(); diff --git a/full.c b/full.c index 8615037..6c78ead 100644 --- a/full.c +++ b/full.c @@ -33,6 +33,18 @@ void bisexual_256() { ); } +void gay_256() { + printf( + COLOR(29) STRIPE + COLOR(49) STRIPE + COLOR(123) STRIPE + COLOR(255) STRIPE + COLOR(75) STRIPE + COLOR(63) STRIPE + COLOR(56) STRIPE + ); +} + void lesbian_256() { printf( COLOR(202) STRIPE diff --git a/full.h b/full.h index 1317dd0..9a42ffb 100644 --- a/full.h +++ b/full.h @@ -5,6 +5,7 @@ void rainbow_256(); void aroace_256(); void bisexual_256(); +void gay_256(); void lesbian_256(); void nonbinary_256(); void pansexual_256(); diff --git a/main.c b/main.c index 819cbf8..a6ece88 100644 --- a/main.c +++ b/main.c @@ -13,6 +13,7 @@ #define RAINBOW "rainbow" #define AROACE "aroace" #define BISEXUAL "bisexual" +#define GAY "gay" #define LESBIAN "lesbian" #define NONBINARY "nonbinary" #define PANSEXUAL "pansexual" @@ -33,6 +34,7 @@ void help() { "flag names:\n" INDENT AROACE "\n" INDENT BISEXUAL "\n" + INDENT GAY "\n" INDENT LESBIAN "\n" INDENT NONBINARY "\n" INDENT PANSEXUAL "\n" @@ -74,11 +76,18 @@ int main(int argc, char **argv) { else if(strcmp(flag, BISEXUAL) == 0) { // - BISEXUAL - if(color_mode) - aroace_256(); + bisexual_256(); else bisexual_8(); } + else if(strcmp(flag, GAY) == 0) { // - GAY - + if(color_mode) + gay_256(); + else + gay_8(); + } + else if(strcmp(flag, LESBIAN) == 0) { // - LESBIAN - if(color_mode) lesbian_256();