Atari ST formats comments
This commit is contained in:
parent
1f601d06ae
commit
06a0e706b9
@ -368,7 +368,11 @@ void Load_PI1(T_IO_Context * context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// -- Sauver un fichier au format PI1 ---------------------------------------
|
/**
|
||||||
|
* Save a PI1 Degas uncompressed picture
|
||||||
|
*
|
||||||
|
* @todo Support medium and high resolution
|
||||||
|
*/
|
||||||
void Save_PI1(T_IO_Context * context)
|
void Save_PI1(T_IO_Context * context)
|
||||||
{
|
{
|
||||||
FILE *file;
|
FILE *file;
|
||||||
@ -381,8 +385,6 @@ void Save_PI1(T_IO_Context * context)
|
|||||||
// Ouverture du fichier
|
// Ouverture du fichier
|
||||||
if ((file=Open_file_write(context)))
|
if ((file=Open_file_write(context)))
|
||||||
{
|
{
|
||||||
setvbuf(file, NULL, _IOFBF, 64*1024);
|
|
||||||
|
|
||||||
// allocation d'un buffer mémoire
|
// allocation d'un buffer mémoire
|
||||||
buffer = GFX2_malloc(32034);
|
buffer = GFX2_malloc(32034);
|
||||||
// Codage de la résolution
|
// Codage de la résolution
|
||||||
@ -755,7 +757,11 @@ void Load_PC1(T_IO_Context * context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// -- Sauver un fichier au format PC1 ---------------------------------------
|
/**
|
||||||
|
* Save a Degas Elite compressed picture
|
||||||
|
*
|
||||||
|
* @todo support medium and high resolution
|
||||||
|
*/
|
||||||
void Save_PC1(T_IO_Context * context)
|
void Save_PC1(T_IO_Context * context)
|
||||||
{
|
{
|
||||||
FILE *file;
|
FILE *file;
|
||||||
@ -770,8 +776,6 @@ void Save_PC1(T_IO_Context * context)
|
|||||||
// Ouverture du fichier
|
// Ouverture du fichier
|
||||||
if ((file=Open_file_write(context)))
|
if ((file=Open_file_write(context)))
|
||||||
{
|
{
|
||||||
setvbuf(file, NULL, _IOFBF, 64*1024);
|
|
||||||
|
|
||||||
// Allocation des buffers mémoire
|
// Allocation des buffers mémoire
|
||||||
bufferdecomp = GFX2_malloc(32000);
|
bufferdecomp = GFX2_malloc(32000);
|
||||||
buffercomp = GFX2_malloc(64066);
|
buffercomp = GFX2_malloc(64066);
|
||||||
@ -1039,7 +1043,11 @@ error:
|
|||||||
fclose(file);
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Save in NeoChrome format
|
/**
|
||||||
|
* Save in NeoChrome format
|
||||||
|
*
|
||||||
|
* @todo support medium and high resolution
|
||||||
|
*/
|
||||||
void Save_NEO(T_IO_Context * context)
|
void Save_NEO(T_IO_Context * context)
|
||||||
{
|
{
|
||||||
word resolution = 0;
|
word resolution = 0;
|
||||||
@ -1389,6 +1397,11 @@ void Load_TNY(T_IO_Context * context)
|
|||||||
fclose(file);
|
fclose(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Save in Tiny compressed format.
|
||||||
|
*
|
||||||
|
* @todo support medium and high resolution
|
||||||
|
*/
|
||||||
void Save_TNY(T_IO_Context * context)
|
void Save_TNY(T_IO_Context * context)
|
||||||
{
|
{
|
||||||
byte res = 0;
|
byte res = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user