-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpony.txt
39 lines (35 loc) · 1.71 KB
/
pony.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#define MID 177
#define LIG 178
#define DAR 176
#define RIG 221
#define LEF 222
#define DOW 220
#define UP 223
#define X 96
#define HEIGHT 12
#define WIDTH 23
const char pony[HEIGHT][WIDTH] = {{MID,MID,MID,MID,LIG,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,DAR,DAR,DAR,'\0'},
{MID,MID,MID,LIG,LIG,LIG,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,MID,DAR,'\0'},
{MID,MID,LIG,RIG,LEF,LIG,MID,LIG,LIG,LIG,LIG,LIG,LIG,MID,MID,MID,MID,MID,MID,MID,MID,MID,'\0'},
{MID,MID,LIG,LIG,LEF,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,MID,MID,MID,MID,MID,MID,MID,'\0'},
{MID,MID,MID,MID,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,DAR,DAR,DAR,MID,MID,MID,'\0'},
{MID,MID,MID,MID,MID,MID,LIG,LIG,DOW,DOW,' ',' ',' ',LIG,LIG,LIG,LIG,DAR,MID,MID,MID,DAR,'\0'},
{MID,MID,MID,MID,MID,MID,LIG,LEF,UP,' ',' ',' ',' ',LEF,LIG,LIG,LIG,DAR,MID,MID,MID,DAR,'\0'},
{MID,MID,MID,MID,MID,LIG,LIG,' ',' ',' ',UP,' ',LEF,LIG,LIG,LIG,DAR,DAR,MID,DAR,DAR,DAR,'\0'},
{MID,MID,MID,MID,MID,MID,MID,LIG,DOW,DOW,DOW,DOW,LIG,LIG,LIG,LIG,DAR,DAR,MID,MID,DAR,DAR,'\0'},
{MID,MID,MID,MID,MID,MID,MID,MID,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,LIG,DAR,DAR,DAR,DAR,DAR,'\0'},
{MID,MID,MID,MID,MID,MID,MID,LIG,LIG,LIG,LIG,LIG,LIG,RIG,UP,LIG,DAR,DAR,DAR,DAR,DAR,DAR,'\0'},
{MID,MID,MID,MID,MID,MID,LIG,LIG,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,DAR,'\0'}};
void printPony()
{
HANDLE nConsole = GetStdHandle(STD_OUTPUT_HANDLE);
int i = 0;
for (i = 0; i < HEIGHT; i++) {
COORD coord = {X, i};
SetConsoleCursorPosition(nConsole, coord);
prinf("%s",pony[i]);
}
COORD coord = {0, 0};
SetConsoleCursorPosition(nConsole, coord);
return;
}