summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/ovision/adjust.h
blob: 204ea34055382c04830140b58410c193b8c6fdf3 (plain)
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
#ifndef adjust_h
#define adjust_h
// adjust.h
// nono - Programme du robot Efrei Robotique I1-I2 2004
// Copyright (C) 2004 Olivier Gaillard


/// Constantes d'interruptions
#define QUIT 3
#define USR1 10
#define ALARM 14


/// Proprietes de la fenetre
#define WIDTH 1076
#define HEIGHT 591
#define BORDER 5
#define NBIMG 6

/// Constantes liees au chargement des commandes
#define NUMCOLORTOCHANGE	1
#define COLORTOCHANGE		2

#define NBCOLORTOMERGE 		1
#define NUMCOLORTOMERGE 	2

#define NUMCOLORTODEL 		1

#define NBNNOUTPUT 		1

#define NUMGROUP 		1

#define NUMCOLORTOSHOW 		1

#define FILENAME 		1

#define NBCOLORNN 		1

/// Affiche les images a l'ecran
void DrawGLScene();

/// Chargement des textures a partir de donnees RGB
unsigned int LoadImage(int width, int height, unsigned char *data, unsigned int lastTex);
int *GetPpoint();

#endif // adjust_h