added bigender and genderfluid flags

This commit is contained in:
Valerie Wolfe 2024-03-22 22:24:41 -04:00
parent 913f96d075
commit d95912feed
5 changed files with 59 additions and 3 deletions

20
basic.c
View file

@ -23,6 +23,16 @@ void aroace_8() {
);
}
void bigender_8() {
printf(
L_RED STRIPE
L_YELLOW STRIPE
WHITE STRIPE
MAGENTA STRIPE
L_BLUE STRIPE
);
}
void bisexual_8() {
printf(
RED STRIPE STRIPE
@ -41,6 +51,16 @@ void gay_8() {
);
}
void genderfluid_8() {
printf(
L_RED STRIPE
WHITE STRIPE
MAGENTA STRIPE
BLACK STRIPE
BLUE STRIPE
);
}
void lesbian_8() {
printf(
RED STRIPE

View file

@ -21,8 +21,10 @@
void rainbow_8();
void aroace_8();
void bigender_8();
void bisexual_8();
void gay_8();
void genderfluid_8();
void lesbian_8();
void nonbinary_8();
void pansexual_8();

20
full.c
View file

@ -25,6 +25,16 @@ void aroace_256() {
);
}
void bigender_256() {
printf(
COLOR(204) STRIPE
COLOR(227) STRIPE
COLOR(255) STRIPE
COLOR(134) STRIPE
COLOR(69) STRIPE
);
}
void bisexual_256() {
printf(
COLOR(161) STRIPE STRIPE
@ -45,6 +55,16 @@ void gay_256() {
);
}
void genderfluid_256() {
printf(
COLOR(204) STRIPE
COLOR(255) STRIPE
COLOR(164) STRIPE
COLOR(16) STRIPE
COLOR(63) STRIPE
);
}
void lesbian_256() {
printf(
COLOR(202) STRIPE

2
full.h
View file

@ -4,8 +4,10 @@
void rainbow_256();
void aroace_256();
void bigender_256();
void bisexual_256();
void gay_256();
void genderfluid_256();
void lesbian_256();
void nonbinary_256();
void pansexual_256();

18
main.c
View file

@ -23,6 +23,7 @@ void help() {
"flag names:\n"
" aroace\n"
" bigender\n"
" bisexual\n"
" gay\n"
" lesbian\n"
@ -49,8 +50,6 @@ int main(int argc, char **argv) {
if(argc > 1) { flag = argv[1]; }
else { flag = ""; }
int color_mode = 0;
// handle flags
if(strcmp(flag, "--version") == 0) {
version();
@ -59,7 +58,8 @@ int main(int argc, char **argv) {
help();
return 0;
}
int color_mode = 0;
unsigned long flag_hash = djb_hash(flag);
char *output;
@ -78,6 +78,12 @@ int main(int argc, char **argv) {
else aroace_8();
break;
// - BIGENDER -
case 7572201141092229lu: // 'bigender'
if(color_mode) bigender_256();
else bigender_8();
break;
// - BISEXUAL -
case 7572201611094690lu: // 'bisexual'
case 5863248lu: // 'bi'
@ -92,6 +98,12 @@ int main(int argc, char **argv) {
else gay_8();
break;
// - GENDERFLUID -
case 13875257415654095150lu: // 'genderfluid'
if(color_mode) genderfluid_256();
else genderfluid_8();
break;
// - LESBIAN -
case 229473412894979lu: // 'lesbian'
case 193510271lu: // 'wlw'