Load and save palettes using JASC "standard" format. Still load old palettes from DOS Grafx2, but now we handle full color :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1137 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
14
loadsave.c
14
loadsave.c
@@ -497,20 +497,6 @@ void Init_preview(short width,short height,long size,int format, enum PIXEL_RATI
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Draw_palette_preview(void)
|
||||
{
|
||||
short index;
|
||||
|
||||
if (Pixel_load_function==Pixel_load_in_preview)
|
||||
for (index=0; index<256; index++)
|
||||
Window_rectangle(183+(index/16)*7,95+(index&15)*5,5,5,index);
|
||||
|
||||
Update_window_area(183,95,120,80);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Calcul du nom complet du fichier
|
||||
void Get_full_filename(char * filename, byte is_colorix_format)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user