GrafX2 2.9.3227
The ultimate 256-color painting program
|
Formats that aren't fully saving, either because of palette restrictions or other things. More...
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "global.h"
#include "io.h"
#include "loadsave.h"
#include "loadsavefuncs.h"
#include "misc.h"
#include "struct.h"
#include "windows.h"
#include "oldies.h"
#include "fileformats.h"
#include "gfx2mem.h"
#include "gfx2log.h"
Data Structures | |
struct | T_PKM_Header |
struct | T_CEL_Header1 |
struct | T_CEL_Header2 |
struct | T_KCF_Header |
struct | T_FLIC_Header |
Functions | |
void | Test_PAL (T_IO_Context *context, FILE *file) |
void | Test_GPL (T_IO_Context *context, FILE *file) |
Test for GPL (Gimp Palette) file format. More... | |
static int | skip_padding (FILE *file, int max_chars) |
skip the padding before a space-padded field. More... | |
void | Load_GPL (T_IO_Context *context) |
Load GPL (Gimp Palette) file format. More... | |
void | Save_GPL (T_IO_Context *context) |
Save GPL (Gimp Palette) file format. More... | |
void | Load_PAL (T_IO_Context *context) |
void | Save_PAL (T_IO_Context *context) |
void | Test_PKM (T_IO_Context *context, FILE *file) |
void | Load_PKM (T_IO_Context *context) |
void | Find_recog (byte *recog1, byte *recog2) |
void | Save_PKM (T_IO_Context *context) |
void | Test_CEL (T_IO_Context *context, FILE *file) |
void | Load_CEL (T_IO_Context *context) |
void | Save_CEL (T_IO_Context *context) |
void | Test_KCF (T_IO_Context *context, FILE *file) |
void | Load_KCF (T_IO_Context *context) |
void | Save_KCF (T_IO_Context *context) |
static void | Load_FLI_Header (FILE *file, T_FLIC_Header *header) |
void | Test_FLI (T_IO_Context *context, FILE *file) |
Test for the Autodesk Animator FLI/FLC format. More... | |
void | Load_FLI (T_IO_Context *context) |
Load file in the Autodesk Animator FLI/FLC format. More... | |
void | Test_HGR (T_IO_Context *context, FILE *file) |
Test for an Apple II HGR or DHGR raw file. More... | |
void | Load_HGR (T_IO_Context *context) |
Load HGR (280x192) or DHGR (560x192) Apple II pictures. More... | |
void | Save_HGR (T_IO_Context *context) |
Save HGR (280x192) or DHGR (560x192) Apple II pictures. More... | |
static dword | Read_HP48Address (const byte *buffer, int offset) |
HP48 addresses are 20bits (5 nibbles) offset is in nibble (half byte) More... | |
void | Test_GRB (T_IO_Context *context, FILE *file) |
Test for a HP-48 Grob file. More... | |
void | Load_GRB (T_IO_Context *context) |
Formats that aren't fully saving, either because of palette restrictions or other things.
|
static |
References Count_used_colors().
Referenced by Save_PKM().
|
static |
References T_FLIC_Header::aspect_dx, T_FLIC_Header::aspect_dy, T_FLIC_Header::created, T_FLIC_Header::creator, T_FLIC_Header::depth, T_FLIC_Header::ext_flags, File_error, T_FLIC_Header::flags, T_FLIC_Header::frames, T_FLIC_Header::height, T_FLIC_Header::keyframes, T_FLIC_Header::max_regions, T_FLIC_Header::oframe1, T_FLIC_Header::oframe2, Read_bytes(), Read_dword_le(), Read_word_le(), T_FLIC_Header::req_memory, T_FLIC_Header::reserved1, T_FLIC_Header::reserved2, T_FLIC_Header::size, T_FLIC_Header::speed, T_FLIC_Header::totalframes, T_FLIC_Header::transp_num, T_FLIC_Header::type, T_FLIC_Header::updated, T_FLIC_Header::updater, and T_FLIC_Header::width.
Referenced by Load_FLI(), and Test_FLI().
HP48 addresses are 20bits (5 nibbles) offset is in nibble (half byte)
Referenced by Load_GRB(), and Test_GRB().