Skip to content

Commit

Permalink
Merge pull request #853 from alucard017/alucard017
Browse files Browse the repository at this point in the history
Alucard017
  • Loading branch information
AnshumanMahato authored Oct 25, 2023
2 parents fb36cd3 + 9e9e7f9 commit f32abe7
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 86 deletions.
52 changes: 26 additions & 26 deletions Fonts/starwar/starwar.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Starwar : public Fonts

char **A()
{
char **character = getCharGrid();
char **character = getCharGrid(6,13);
character[5][0] = character[4][1] = character[3][2] = character[2][3] = character[1][4] = character[5][3] = character[3][5] = '/';
character[1][8] = character[2][9] = character[3][10] = character[4][11] = character[5][12] = character[3][7] = character[5][9] = '\\';
character[0][5] = character[0][6] = character[0][7] = character[3][6] = character[4][4] = character[4][5] = character[4][6] = character[4][7] = character[4][8] = character[5][1] = character[5][2] = character[5][10] = character[5][11] = '_';
Expand All @@ -23,7 +23,7 @@ class Starwar : public Fonts

char **B()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[0][0] = '.';
Expand All @@ -38,7 +38,7 @@ class Starwar : public Fonts

char **C()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[1][0] = character[5][0] = character[0][0] = character[0][1] = ' ';
Expand All @@ -57,7 +57,7 @@ class Starwar : public Fonts

char **D()
{
char **character = getCharGrid();
char **character = getCharGrid(6,10);

// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[5][1] = character[5][2] = character[5][3] = character[5][4] = character[5][5] = character[5][6] = character[5][7] = '_';
Expand Down Expand Up @@ -91,7 +91,7 @@ class Starwar : public Fonts

char **F()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[1][4] = character[1][5] = character[1][6] = character[1][7] = character[2][4] = character[2][5] = character[3][4] = character[3][5] = character[5][1] = character[5][2] = '_';
Expand All @@ -113,7 +113,7 @@ class Starwar : public Fonts

char **H()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[1][0] = character[1][3] = character[1][5] = character[1][8] = character[2][0] = character[2][3] = character[2][5] = character[2][8] = character[3][0] = character[3][8] = character[4][0] = character[4][3] = character[4][5] = character[4][8] = character[5][0] = character[5][3] = character[5][5] = character[5][8] = '|';
Expand All @@ -123,15 +123,15 @@ class Starwar : public Fonts
}
char **I()
{
char **character = getCharGrid();
char **character = getCharGrid(6,4);
character[0][1] = character[5][1] = character[0][2] = character[5][2] = '_';
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[1][3] = character[2][3] = character[3][3] = character[4][3] = character[5][3] = '|';
return character;
}

char **J()
{
char **character = getCharGrid();
char **character = getCharGrid(6,10);

// Enter the character grid in ROWS X COLS
character[4][0] = character[3][6] = character[2][6] = character[1][6] = character[1][9] = character[2][9] = character[3][9] = character[4][9] = '|';
Expand Down Expand Up @@ -162,7 +162,7 @@ class Starwar : public Fonts

char **L()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[0][0] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[0][8] = character[1][1] = character[1][2] = character[1][4] = character[1][5] = character[1][6] = character[1][7] = character[1][8] = character[2][1] = character[2][2] = character[2][4] = character[2][5] = character[2][6] = character[2][7] = character[2][8] = character[3][1] = character[3][2] = character[3][4] = character[3][5] = character[3][6] = character[3][7] = character[3][8] = character[4][1] = character[4][2] = character[5][4] = character[5][5] = character[5][6] = character[5][7] = character[5][8] = ' ';
Expand All @@ -177,7 +177,7 @@ class Starwar : public Fonts

char **M()
{
char **character = getCharGrid();
char **character = getCharGrid(6,10);

// Enter the character grid in ROWS X COLS
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[3][3] = character[4][3] = character[5][3] = character[1][9] = character[2][9] = character[3][9] = character[4][9] = character[5][9] = character[3][6] = character[4][6] = character[5][6] = '|';
Expand All @@ -192,7 +192,7 @@ class Starwar : public Fonts
char **N()
{
// Enter the character grid in ROWS X COLS
char **character = getCharGrid();
char **character = getCharGrid(6,9);
character[0][1] = character[0][2] = character[0][6] = character[0][7] = character[5][1] = character[5][2] = character[5][6] = character[5][7] = '_';
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[4][3] = character[5][3] = character[1][5] = character[2][5] = character[1][8] = character[2][8] = character[3][8] = character[4][8] = character[5][8] = '|';
character[1][3] = character[2][4] = character[4][4] = character[5][5] = '\\';
Expand All @@ -204,7 +204,7 @@ class Starwar : public Fonts

char **O()
{
char **character = getCharGrid();
char **character = getCharGrid(6,10);

// Enter the character grid in ROWS X COLS
character[1][4] = character[1][5] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[5][2] = character[5][3] = character[5][4] = character[5][5] = character[5][6] = character[5][7] = '_';
Expand All @@ -220,7 +220,7 @@ class Starwar : public Fonts

char **P()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[2][4] = character[1][4] = character[2][4] = character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[5][2] = character[3][5] = character[3][4] = character[3][6] = '_';
Expand Down Expand Up @@ -257,7 +257,7 @@ class Starwar : public Fonts

char **R()
{
char **character = getCharGrid();
char **character = getCharGrid(6,13);

// Enter the character grid in ROWS X COLS
character[2][4] = character[1][4] = character[2][4] = character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[5][2] = character[5][7] = character[5][8] = character[5][9] = character[5][10] = character[5][11] = '_';
Expand Down Expand Up @@ -285,7 +285,7 @@ class Starwar : public Fonts

char **T()
{
char **character = getCharGrid();
char **character = getCharGrid(6,13);

// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[0][6] = character[0][7] = character[0][8] = character[0][9] = character[0][10] = character[0][11] = character[2][1] = character[2][2] = character[2][3] = character[2][8] = character[2][9] = character[2][10] = character[2][11] = character[5][5] = character[5][6] = '-';
Expand All @@ -297,7 +297,7 @@ class Starwar : public Fonts

char **U()
{
char **character = getCharGrid();
char **character = getCharGrid(6,10);

// Enter the character grid in ROWS X COLS
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[1][3] = character[2][3] = character[3][3] = character[1][6] = character[2][6] = character[3][6] = character[1][9] = character[2][9] = character[3][9] = character[4][9] = '|';
Expand All @@ -312,7 +312,7 @@ class Starwar : public Fonts

char **V()
{
char **character = getCharGrid();
char **character = getCharGrid(6,12);

// Enter the character grid in ROWS X COLS

Expand All @@ -336,7 +336,7 @@ class Starwar : public Fonts

char **X()
{
char **character = getCharGrid();
char **character = getCharGrid(6,9);

// Enter the character grid in ROWS X COLS
character[0][0] = character[0][1] = character[0][2] = character[0][6] = character[0][7] = character[0][8] = character[5][1] = character[5][2] = character[5][6] = character[5][7] = '_';
Expand All @@ -351,7 +351,7 @@ class Starwar : public Fonts

char **Y()
{
char **character = getCharGrid(6, 13);
char **character = getCharGrid(6, 12);

// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[0][3] = character[0][0] = character[0][8] = character[0][9] = character[0][10] = character[0][11] = character[3][3] = character[3][8] = character[5][5] = character[5][6] = '_';
Expand Down Expand Up @@ -684,7 +684,7 @@ class Starwar : public Fonts

char **zero()
{
char **character = getCharGrid();
char **character = getCharGrid(6,7);

// Enter the character grid in ROWS X COLS
character[0][2] = character[0][3] = character[0][4] = character[1][3] = character[4][3] = character[5][2] = character[5][3] = character[5][4] = '_';
Expand All @@ -697,7 +697,7 @@ class Starwar : public Fonts

char **one()
{
char **character = getCharGrid();
char **character = getCharGrid(6,4);
// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[5][2] = '_';
character[1][0] = '/';
Expand All @@ -709,7 +709,7 @@ class Starwar : public Fonts

char **two()
{
char **character = getCharGrid();
char **character = getCharGrid(6,6);
// Enter the character grid in ROWS X COLS
character[0][1] = character[0][2] = character[0][3] = character[1][1] = character[1][2] = character[4][4] = character[5][1] = character[5][2] = character[5][3] = character[5][4] = '_';
character[1][4] = '\\';
Expand Down Expand Up @@ -739,7 +739,7 @@ class Starwar : public Fonts

char **four()
{
char **character = getCharGrid();
char **character = getCharGrid(6,8);

character[0][1] = character[0][4] = character[3][1] = character[3][2] = character[3][6] = character[5][4] = character[2][6] = '_';
character[1][0] = character[1][2] = character[1][3] = character[1][5] = character[2][0] = character[2][2] = character[2][3] = character[2][5] = character[3][0] = character[3][7] = character[4][3] = character[4][5] = character[5][3] = character[5][5] = '|';
Expand All @@ -749,7 +749,7 @@ class Starwar : public Fonts

char **five()
{
char **character = getCharGrid();
char **character = getCharGrid(6,7);

character[0][1] = character[0][2] = character[0][3] = character[0][4] = character[0][5] = character[1][2] = character[1][3] = character[1][4] = character[1][5] = character[2][3] = character[2][4] = character[3][1] = character[3][2] = character[3][3] = character[4][1] = character[4][2] = character[4][3] = character[5][1] = character[5][2] = character[5][3] = '_';
character[1][0] = character[2][0] = character[3][0] = character[5][0] = character[1][6] = character[2][2] = character[4][6] = '|';
Expand Down Expand Up @@ -786,7 +786,7 @@ class Starwar : public Fonts

char **eight()
{
char **character = getCharGrid();
char **character = getCharGrid(6,7);
// Enter the character grid in ROWS X COLS
character[0][2] = character[0][3] = character[0][4] = character[1][3] = character[2][3] = character[3][3] = character[4][3] = character[5][2] = character[5][3] = character[5][4] = '_';
character[1][1] = character[5][5] = '/';
Expand All @@ -801,7 +801,7 @@ class Starwar : public Fonts

char **nine()
{
char **character = getCharGrid();
char **character = getCharGrid(6,7);
// Enter the character grid in ROWS X COLS
character[0][2] = character[0][3] = character[0][4] = character[1][3] = character[2][3] = character[3][2] = character[3][3] = character[5][3] = '_';
character[1][1] = character[4][3] = character[4][5] = character[5][2] = character[5][4] = '/';
Expand Down
Loading

0 comments on commit f32abe7

Please sign in to comment.