summaryrefslogtreecommitdiffstats
path: root/src/cr_gpri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cr_gpri.c')
-rw-r--r--src/cr_gpri.c27
1 files changed, 25 insertions, 2 deletions
diff --git a/src/cr_gpri.c b/src/cr_gpri.c
index 148494e..2146fb5 100644
--- a/src/cr_gpri.c
+++ b/src/cr_gpri.c
@@ -22,7 +22,7 @@
*
* Fichier : cr_gpri.c
*
- * @(#) cr_gpri.c 1.5 15/07/01 MB
+ * @(#) cr_gpri.c 1.8 15/07/26 MB
*
* ============================================================================
*/
@@ -33,4 +33,27 @@ struct cr_global G = { 0 };
/* Error messages
~~~~~~~~~~~~~~ */
-char *cr_err_malloc = "%s: cannot allocate memory !\n";
+char *cr_err_malloc = "%s: cannot allocate memory !\n";
+
+int cr_col_codes[8][3] = {
+ { 88, 160, 196 },
+ { 28, 34, 46 },
+ { 100, 142, 226 },
+ { 18, 26, 38 },
+ { 90, 91, 134 },
+ { 61, 62, 81 },
+ { 245, 252, 255 },
+ { 0, 0, 0 }
+};
+
+char *cr_best_fg[8][3] = {
+ { "1;37", "1;37", "1;37" },
+ { "1;37", "1;37", "2;31" },
+ { "1;37", "2;30", "2;30" },
+ { "1;37", "1;37", "2;30" },
+ { "1;37", "1;37", "1;37" },
+ { "1;37", "1;37", "2;30" },
+ { "1;37", "2;30", "2;30" },
+ { 0, 0, 0 }
+};
+