-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconstantes.h
More file actions
39 lines (23 loc) · 992 Bytes
/
Copy pathconstantes.h
File metadata and controls
39 lines (23 loc) · 992 Bytes
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
#ifndef CONSTANTES_H_INCLUDED
#define CONSTANTES_H_INCLUDED
#define LARGEUR_FENETRE 1280
#define HAUTEUR_FENETRE 720
#define LARGEUR_CARTE 60
#define HAUTEUR_CARTE 25
#define MAX_POPULATION 25000
#define TEMPS_OEUFS 63
#define TEMPS_LARVES 81
#define TEMPS_COCONS 45
#define TEMPS_OUVRIERES 4860
#define TEMPS_REINES 16200
#define DELAY_MAJ 40
#define VITESSE_JEU 1000 // 1000 -> 1 jour = 1 seconde
enum {EST, NORD, OUEST, SUD, UNDEFINED = 0};
enum {AIR, EAU, COTON, VERRE, TUBE, BORD, ERROR = 666};
enum {OEUFS, LARVES, COCONS, TAILLE_TABLEAU_COUVAIN};
enum {OUVRIERES, TAILLE_TABLEAU_POPULATION};
enum {NBR_OEUFS, NBR_LARVES, NBR_COCONS, NBR_OUVRIERES, TAILLE_TABLEAU_NBR};
enum {EGGS, LARVAE, NYMPHS, QUEEN, WORKERS, TEMPS, JOUR, TEMPERATURE, TAILLE_TABLEAU_INFOS};
enum {PHYSIQUE, HUMIDITE, TAILLE_TABLEAU_CARTE};
enum {ZOOM1, ZOOM2, ZOOM3, NBR_ZOOM};
#endif // CONSTANTES_H_INCLUDED