summaryrefslogtreecommitdiffstats
path: root/Smoke/palette.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-14 19:05:02 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-14 19:05:02 (GMT)
commit1d771540b16ba07cb02be5490892465a2a5ab89a (patch)
tree56aa05fd872a9fc30aa7f80a59680d3c326227a0 /Smoke/palette.h
parent5a422dac78479f396437b5f9c1e8efbecf2c9b0f (diff)
download2iv35-1d771540b16ba07cb02be5490892465a2a5ab89a.zip
2iv35-1d771540b16ba07cb02be5490892465a2a5ab89a.tar.gz
2iv35-1d771540b16ba07cb02be5490892465a2a5ab89a.tar.bz2
new home for set_colormap
Diffstat (limited to 'Smoke/palette.h')
-rw-r--r--Smoke/palette.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Smoke/palette.h b/Smoke/palette.h
new file mode 100644
index 0000000..497d9eb
--- /dev/null
+++ b/Smoke/palette.h
@@ -0,0 +1,20 @@
+#ifndef _PALETTE_H
+#define _PALETTE_H
+
+#define COLOR_BLACKWHITE 0
+#define COLOR_RAINBOW 1
+#define COLOR_BANDS 2
+#define COLOR_BLUE_GREEN_RED 3
+#define COLOR_WILRIK 4
+#define COLOR_OLIVER 5
+
+struct color4f {
+ float r;
+ float g;
+ float b;
+ float a;
+};
+
+struct color4f set_colormap(int colormap_sort, float vy, float alpha);
+
+#endif