-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathwelcome.c
72 lines (69 loc) · 3.06 KB
/
welcome.c
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#include "holberton.h"
/**
* welcome_screen_1 - first half of loading screen
*/
void welcome_screen_1(void)
{
write(1, " __________________________", 39);
write(1, "______________________\n", 23);
write(1, " / ", 39);
write(1, " \\\n", 24);
write(1, " | _______________________", 39);
write(1, "__________________ |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | betty@ubuntu:~$ ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | SHEL", 39);
write(1, "L | |\n", 25);
write(1, " | | by Tu and", 39);
write(1, " Josef | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
write(1, " | |\n", 25);
write(1, " | | ", 39);
}
/**
* welcome_screen_2 - second half of loading screen
*/
void welcome_screen_2(void)
{
write(1, " | |\n", 25);
write(1, " | |_______________________", 39);
write(1, "__________________| |\n", 25);
write(1, " | ", 39);
write(1, " |\n", 25);
write(1, " \\_________________________", 39);
write(1, "________________________/\n", 26);
write(1, " \\__________________", 39);
write(1, "_________________/\n", 19);
write(1, " _______________________", 39);
write(1, "____________________\n", 21);
write(1, " _-' .-.-.-.-.-.-.-.-.-.", 39);
write(1, "-.-.-.-.-.-.-. --- `-_\n", 24);
write(1, " _-'.-.-. .---.-.-.-.-.-.-.-.-", 39);
write(1, ".-.-.-.-.-.-.--. .-.-.`-_\n", 27);
write(1, " _-'.-.-.-. .---.-.-.-.-.-.-.-.-.", 39);
write(1, "-.-.-.-.-.-.-`__`. .-.-.-.`-_\n", 30);
write(1, " _-'.-.-.-.-. .-----.-.-.-.-.-.-.-.-", 39);
write(1, ".-.-.-.-.-.-.-----. .-.-.-.-.`-_\n", 33);
write(1, " _-'.-.-.-.-.-. .---.-. .--------------", 39);
write(1, "-----------. .-.---. .---.-.-.-.`-_\n", 36);
write(1, ":--------------------------------------", 39);
write(1, "-----------------------------------:\n", 37);
write(1, "`---._.--------------------------------", 39);
write(1, "-----------------------------._.---'\n", 37);
}