added aromantic and asexual flags

This commit is contained in:
Valerie Wolfe 2024-03-23 09:16:45 -04:00
parent a878659475
commit 6159063977
6 changed files with 63 additions and 1 deletions

21
basic.c
View file

@ -16,6 +16,17 @@ void rainbow_8() {
draw(6, colors);
}
void aromantic_8() {
color colors [] = {
GREEN,
L_GREEN,
WHITE,
GRAY,
BLACK
};
draw(5, colors);
}
void aroace_8() {
color colors [] = {
YELLOW,
@ -27,6 +38,16 @@ void aroace_8() {
draw(5, colors);
}
void asexual_8() {
color colors [] = {
BLACK,
GRAY,
WHITE,
MAGENTA
};
draw(4, colors);
}
void bigender_8() {
color colors [] = {
L_RED,

View file

@ -18,7 +18,9 @@
#define WHITE 15
void rainbow_8();
void aromantic_8();
void aroace_8();
void asexual_8();
void bigender_8();
void bisexual_8();
void gay_8();

21
full.c
View file

@ -16,6 +16,17 @@ void rainbow_256() {
draw(6, colors);
}
void aromantic_256() {
color colors [] = {
40, // green
83, // light green
255, // white
249, // gray
16 // black
};
draw(5, colors);
}
void aroace_256() {
color colors [] = {
172, // orange
@ -27,6 +38,16 @@ void aroace_256() {
draw(5, colors);
}
void asexual_256() {
color colors [] = {
16, // black
249, // gray
255, // white
90 // purple
};
draw(4, colors);
}
void bigender_256() {
color colors [] = {
204, // pink

2
full.h
View file

@ -3,7 +3,9 @@
#include "draw.h"
void rainbow_256();
void aromantic_256();
void aroace_256();
void asexual_256();
void bigender_256();
void bisexual_256();
void gay_256();

View file

@ -1,4 +1,4 @@
build:
gcc main.c draw.c basic.c full.c -o pride-c
gcc -s main.c draw.c basic.c full.c -o pride-c

16
main.c
View file

@ -23,7 +23,9 @@ void help() {
"usage: pride [name]\n\n"
"flag names:\n"
" aromantic\n"
" aroace\n"
" asexual\n"
" bigender\n"
" bisexual\n"
" gay\n"
@ -77,6 +79,13 @@ int main(int argc, char **argv) {
else rainbow_8();
break;
// - AROMANTIC -
case 249881625443197539lu: // 'aromantic'
case 193486503lu: // 'aro'
if(color_mode) aromantic_256();
else aromantic_8();
break;
// - ARO/ACE -
case 6953324567312lu: // 'aroace'
case 22945708850429lu: // 'aro-ace'
@ -84,6 +93,13 @@ int main(int argc, char **argv) {
else aroace_8();
break;
// - ASEXUAL -
case 229459738843608lu: // 'asexual'
case 193485998lu: // 'ace'
if(color_mode) asexual_256();
else asexual_8();
break;
// - BIGENDER -
case 7572201141092229lu: // 'bigender'
if(color_mode) bigender_256();