Skip to content

Commit e96f776

Browse files
committed
Letter R added to starwar
1 parent ac36713 commit e96f776

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Fonts/starwar/starwar.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,16 +237,24 @@ class Starwar : public Fonts
237237
}
238238
*/
239239

240-
/*
240+
241241
char **R()
242242
{
243243
char **character = getCharGrid();
244244

245245
//Enter the character grid in ROWS X COLS
246+
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] = '_';
247+
character[1][0] = character[2][0] = character[3][0] = character[4][0] = character[5][0] = character[2][8] = character[2][3] = character[5][12] = character[5][3] = '|';
248+
character[4][8] = character[4][9] = character[4][10] = character[4][11] = '-';
249+
character[1][7] = character[4][4] = character[4][7] = '\\';
250+
character[0][0] = character[5][6] = character[4][12] = '.';
251+
character[3][7] = '/';
252+
character[2][5] = ')';
253+
character[5][5] = '`';
246254

247255
return character;
248256
}
249-
*/
257+
250258

251259
/*
252260
char **S()

example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ using namespace ascii;
66
int main()
77
{
88
Ascii a = Ascii(starwar);
9-
a.print("P");
9+
a.print("R");
1010
return 0;
1111
}

0 commit comments

Comments
 (0)