blob: 22d5d25b230e785fc58ac83a842d922233732d9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef TEXMAPCOLOURISER_H
#define TEXMAPCOLOURISER_H
#include <game.h>
// Colourises an IA8 texture
class dTexMapColouriser_c {
public:
dTexMapColouriser_c();
~dTexMapColouriser_c();
void resetAndClear();
void setTexMap(nw4r::lyt::TexMap *tm);
void applyAlso(nw4r::lyt::TexMap *tm);
void colourise(int h, int s, int l);
private:
nw4r::lyt::TexMap *texmap;
u16 *original;
u16 *mine;
};
#endif /* TEXMAPCOLOURISER_H */
|