dungeon_crawler

view prototype/src/colgrade.h @ 74:5981917093ff

color grading palette output done, all is left is the input
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 21 Oct 2012 15:56:47 +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_