-
Notifications
You must be signed in to change notification settings - Fork 0
/
declaration.h
118 lines (92 loc) · 2.82 KB
/
declaration.h
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#ifndef __createboard__
#define __createboard__
WINDOW* create_board(int x, int y, int width, int height,int *resume,int matr[10][10],int eu[10][10],int nave_sparte[2] ,int *nimerite, int *nimeritecalc);
#endif
#ifndef __init_matr__
#define __init_matr__
void init_matr(int matr[10][10]);
#endif
#ifndef __print_matr__
#define __print_matr__
void print_matr(int matr[10][10]);
#endif
#ifndef __citire_fisier__
#define __citire_fisier__
int citire_fisier(int eu[10][10],char a[30]);
#endif
#ifndef __verificare_fisier__
#define __verificare_fisier__
int verificare_fisier(char a[30]);
#endif
#ifndef __coloreaza__
#define __coloreaza__
void coloreaza(int culoare, int x, int y, WINDOW *local_win);
#endif
#ifndef __coloreaza__
#define __coloreaza__
void coloreaza(int culoare, int x, int y, WINDOW *local_win);
#endif
#ifndef __coloreaza_eu__
#define __coloreaza_eu__
void coloreaza_eu(int culoare, int x, int y, WINDOW *local_win);
#endif
#ifndef __scriere_matrice__
#define __scriere_matrice__
void scriere_matrice(int matr[10][10], int dir, int x, int y, int nrpatr);
#endif
#ifndef __parcurgere_matrice__
#define __parcurgere_matrice__
int parcurgere_matrice(int matr[10][10], int dir, int x, int y, int nrpatr);
#endif
#ifndef __parcurgere_nava__
#define __parcurgere_nava__
int parcurgere_nava(int matr[10][10], int x, int y, int dir);
#endif
#ifndef __parcurgere_rand__
#define __parcurgere_rand__
int parcurgere_rand(int matr[10][10], int x, int y, int dir);
#endif
#ifndef __plasare_random__
#define __plasare_random__
void plasare_random(int matr[10][10],int nave[13], int nrnave);
#endif
#ifndef __randomizare__
#define __randomizare__
void randomizare(int matr[10][10], WINDOW* local_win);
#endif
#ifndef __verificare_pierzator__
#define __verificare_pierzator__
int verificare_pierzator(int matr[10][10], WINDOW* local_win, int nave_sparte, int final, int loc);
#endif
#ifndef __generare_matrice__
#define __generare_matrice__
void generare_matrice(int matr[10][10]);
#endif
#ifndef __init_joc__
#define __init_joc__
void init_joc(WINDOW *local_win, int eu[10][10],int matr[10][10]);
#endif
#ifndef __menu__
#define __menu__
WINDOW *menu(int x, int y, int width, int height,int* resume ,int matr[10][10],int eu[10][10],int argc, char **argv );
#endif
#ifndef __coloreaza_centru__
#define __coloreaza_centru__
void coloreaza_centru(int culoare, int x, int y, WINDOW *local_win);
#endif
#ifndef __afis_tabla__
#define __afis_tabla__
void afis_tabla(int matr[10][10], WINDOW *local_win);
#endif
#ifndef __alegere__
#define __alegere__
WINDOW *alegere(int x, int y, int width, int height,int matr[10][10],int argc, char **argv);
#endif
#ifndef __draw_cat_step__
#define __draw_cat_step__
void draw_cat_step(int x, int y, char *tail ,const char nyan_cat[4][12]);
#endif
#ifndef __flames__
#define __flames__
void flames(void);
#endif