-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathascii.c
86 lines (72 loc) · 1.77 KB
/
ascii.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#include <stdio.h>
#include "ascii.h"
void imprimeArte(FILE *f){
while(!feof(f)){
printf("%c", fgetc(f));
}
}
void imprimeArteInicial(){
FILE *f = fopen("artes/arteInicial.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteBanner(){
FILE *f = fopen("artes/banner.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteDragao(){
FILE *f = fopen("artes/dragao.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteGuerreiro(){
FILE *f = fopen("artes/guerreiro.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteAtaqueDasMilLaminas(){
FILE *f = fopen("artes/ataqueDasMilLaminas.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteEspadaDemoniaca(){
FILE *f = fopen("artes/espadaDemoniaca.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteBencaoDosDeuses(){
FILE *f = fopen("artes/bencaoDosDeuses.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteBolaDeFogo(){
FILE *f = fopen("artes/bolaDeFogo.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteataqueComACauda(){
FILE *f = fopen("artes/ataqueComACauda.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteGuerreiroDerrotado(){
FILE *f = fopen("artes/guerreiroDerrotado.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteDragaoDerrotado(){
FILE *f = fopen("artes/dragaoDerrotado.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteGuerreiroAtaque(){
FILE *f = fopen("artes/guerreiroAtaque.txt", "r");
imprimeArte(f);
fclose(f);
}
void imprimeArteDragaoAtaque(){
FILE *f = fopen("artes/dragaoAtaque.txt", "r");
imprimeArte(f);
fclose(f);
}