dungeon_crawler

view prototype/src/colgrade.h @ 77:d89b403f630b

added gamma correction (without dialing the lighting down yet) fixed the incorrect PointLight sphere radius
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 26 Oct 2012 03:03:52 +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_