summaryrefslogtreecommitdiffstats
path: root/src/palettes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/palettes.h')
-rw-r--r--src/palettes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/palettes.h b/src/palettes.h
new file mode 100644
index 0000000..c5f007a
--- /dev/null
+++ b/src/palettes.h
@@ -0,0 +1,13 @@
+#ifndef PALETTES_H
+#define PALETTES_H
+
+#include <SDL.h>
+
+SDL_Palette *cycle_palettes_cosine(Uint32 t, Uint32 t_max,
+ SDL_Palette *pal_start, SDL_Palette *pal_end,
+ SDL_Palette *pal_step);
+SDL_Palette *cycle_palettes_linear(Uint32 t, Uint32 t_max,
+ SDL_Palette *pal_start, SDL_Palette *pal_end,
+ SDL_Palette *pal_step);
+
+#endif