dungeon_crawler
view prototype/src/colgrade.h @ 75:b05ab29cd17d
color grading done
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 22 Oct 2012 03:55:00 +0300 |
parents | a27528035e20 |
children |
line source
1 #ifndef COLGRADE_H_
2 #define COLGRADE_H_
4 class GradePalette {
5 private:
6 unsigned char *palette;
7 unsigned int tex;
8 int size;
10 public:
11 GradePalette();
12 ~GradePalette();
14 bool create(int sz = 16);
15 void destroy();
17 bool save_shot(const char *fname) const;
18 bool load_shot(const char *fname);
20 unsigned int get_texture() const;
21 };
23 #endif // COLGRADE_H_