summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/ovision/adjust.h
diff options
context:
space:
mode:
authorgaillaro2004-05-01 11:52:08 +0000
committergaillaro2004-05-01 11:52:08 +0000
commit109db2b0cce1b89c75e32f3705a1c5975391b3c5 (patch)
tree28da709aee1cbab296b99378e42a1e737403addf /2004/i/nono/src/ovision/adjust.h
parentf95f1fb2bc439178a9e7ca6102b57c02c791f3f0 (diff)
Ajout de ovision.
Diffstat (limited to '2004/i/nono/src/ovision/adjust.h')
-rw-r--r--2004/i/nono/src/ovision/adjust.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/2004/i/nono/src/ovision/adjust.h b/2004/i/nono/src/ovision/adjust.h
new file mode 100644
index 0000000..8cd53e8
--- /dev/null
+++ b/2004/i/nono/src/ovision/adjust.h
@@ -0,0 +1,45 @@
+#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);
+
+#endif // adjust_h