Skip to content

Commit

Permalink
amongus fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshumanMahato committed Oct 29, 2023
1 parent b999e16 commit 6c0441a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 47 deletions.
90 changes: 45 additions & 45 deletions Fonts/amongus/amongus.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ class Amongus : public Fonts
}

char **e()
{
char **character = getCharGrid(4,6);
character[0][1]=character[0][2]=character[0][3]=character[0][4]=character[1][2]=character[1][3]=character[1][4]=character[2][2]=character[2][3]=character[3][1]=character[3][2]=character[3][3]=character[3][4]='_';
character[1][0]=character[3][0]='(';
character[2][1]=character[1][5]=character[2][4]=character[3][5]=')';
return character;
}
{
char **character = getCharGrid(4, 6);
character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][2] = character[1][3] = character[1][4] = character[2][2] = character[2][3] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_';
character[1][0] = character[3][0] = '(';
character[2][1] = character[1][5] = character[2][4] = character[3][5] = ')';
return character;
}
/*
char **f()
{
Expand Down Expand Up @@ -470,25 +470,25 @@ class Amongus : public Fonts
return character;
}

char **l()
{
char **character = getCharGrid(4,6);
char **l()
{
char **character = getCharGrid(4, 6);
character[0][1] = character[0][2] = character[2][3] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_';
character[1][0] = character[2][2] = character[3][0] = '(';
character[1][0] = character[2][2] = character[3][0] = '(';
character[1][3] = character[2][1] = character[3][5] = ')';
return character;
}
}

char **m()
{
char **character = getCharGrid(4,8);
character[0][1] = character[0][2] = character[0][5] = character[0][6] = character[3][1] = character[3][6] = '_';
character[1][0] = character[2][6] = character[3][0] = '(';
character[1][7] = character[2][1] = character[3][7] = ')';
character[1][4] = character[3][2] = character[3][4] = '/';
character[1][3] = character[3][3] = character[3][5] = '\\';
return character;
}
{
char **character = getCharGrid(4, 8);
character[0][1] = character[0][2] = character[0][5] = character[0][6] = character[3][1] = character[3][6] = '_';
character[1][0] = character[2][6] = character[3][0] = '(';
character[1][7] = character[2][1] = character[3][7] = ')';
character[1][4] = character[3][2] = character[3][4] = '/';
character[1][3] = character[3][3] = character[3][5] = '\\';
return character;
}

char **n()
{
Expand Down Expand Up @@ -541,16 +541,16 @@ class Amongus : public Fonts
return character;
}

char **r()
char **r()
{
char **character = getCharGrid(4, 6);

// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][3] = character[1][3] = character[3][1] = character[3][4] = '_';
character[1][5] = character[3][3] = '\\';
character[1][5] = character[3][3] = '\\';
character[3][5] = character[2][1] = character[3][2] = ')';
character[1][0] = character[3][0] ='(';
character[2][5] ='/';
character[1][0] = character[3][0] = '(';
character[2][5] = '/';

return character;
}
Expand Down Expand Up @@ -639,15 +639,15 @@ class Amongus : public Fonts
*/

// char **z()
// {
// char **character = getCharGrid(ROWS, COLS);
// character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][1] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_';
// character[1][0] = character[3][0] = '(';
// character[2][1] = character[2][3] = '/';
// character[1][5] = character[3][5] = ')';
// return character;
// }
char **z()
{
char **character = getCharGrid(ROWS, COLS);
character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[1][1] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[3][4] = '_';
character[1][0] = character[3][0] = '(';
character[2][1] = character[2][3] = '/';
character[1][5] = character[3][5] = ')';
return character;
}

// Numbers

Expand Down Expand Up @@ -723,19 +723,19 @@ class Amongus : public Fonts
return character;
}

// char **six()
// {
// char **character = getCharGrid(ROWS, COLS);
char **six()
{
char **character = getCharGrid(ROWS, COLS);

// // Enter the character grid in ROWS X COLS
// character[0][2] = character[2][2] = '_';
// character[1][1] = character[2][0] = character[3][4] = '/';
// character[3][0] = character[2][4] = '\\';
// character[1][3] = ')';
// character[3][1] = character[3][2] = character[3][3] = '_';
// Enter the character grid in ROWS X COLS
character[0][2] = character[2][2] = '_';
character[1][1] = character[2][0] = character[3][4] = '/';
character[3][0] = character[2][4] = '\\';
character[1][3] = ')';
character[3][1] = character[3][2] = character[3][3] = '_';

// return character;
// }
return character;
}

char **seven()
{
Expand Down
4 changes: 2 additions & 2 deletions example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using namespace ascii;

int main()
{
Ascii font = Ascii(drpepper);
font.print("d");
Ascii font = Ascii(amongus);
font.print("rz6");
return 0;
}

0 comments on commit 6c0441a

Please sign in to comment.