summaryrefslogtreecommitdiffstats
path: root/src/palettes.h
blob: c5f007a8bb83f0e59d144f41e13d218cc076861e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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