implemented Palette_64_to_256()
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@147 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
2f5c16a8a0
commit
f90388d670
8
divers.c
8
divers.c
@ -652,7 +652,13 @@ void Palette_256_to_64(T_Palette Palette)
|
||||
|
||||
void Palette_64_to_256(T_Palette Palette)
|
||||
{
|
||||
UNIMPLEMENTED
|
||||
int i;
|
||||
for(i=0;i<256;i++)
|
||||
{
|
||||
Palette[i].R = Palette[i].R << 2;
|
||||
Palette[i].V = Palette[i].V << 2;
|
||||
Palette[i].B = Palette[i].B << 2;
|
||||
}
|
||||
}
|
||||
|
||||
byte Effet_Colorize_interpole (word X,word Y,byte Couleur)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user