summaryrefslogtreecommitdiffstats
path: root/src/resources/palette.h
blob: f11a70b198a74ef785d9e89a73d34f42a70d38a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef RESOURCES_PALETTE_H
#define RESOURCES_PALETTE_H

#include <SDL.h>
#include "resource.h"

struct palette {
	struct resource res;
	SDL_Palette *palette;
};

struct palette *palette_get(const char *path);
void palette_free(struct palette *palette);

#endif