GrafX2 2.9.3227
The ultimate 256-color painting program
|
#include <stdlib.h>
#include <string.h>
#include "struct.h"
#include "global.h"
#include "loadsave.h"
#include "loadsavefuncs.h"
#include "io.h"
#include "errors.h"
#include "unicode.h"
#include "gfx2mem.h"
#include "gfx2log.h"
#include "recoil.h"
Data Structures | |
struct | RECOILVtbl |
Functions | |
static int | RECOIL_ReadFile (RECOIL *recoil, const char *filename, unsigned char *content, int content_length) |
void | Load_Recoil_Image (T_IO_Context *context) |
|
static |
References NULL, and Open_file_read_with_alternate_ext().
Referenced by Load_Recoil_Image().
void Load_Recoil_Image | ( | T_IO_Context * | context | ) |
References T_Config::Clear_palette, T_IO_Context::Comment, COMMENT_SIZE, Config, File_error, File_length_file(), T_IO_Context::File_name, T_IO_Context::File_name_unicode, FORMAT_MISC, GFX2_Log(), GFX2_malloc, GFX2_WARNING, NULL, Open_file_read(), T_IO_Context::Palette, PIXEL_SIMPLE, PIXEL_TALL, PIXEL_WIDE, Pre_load(), Read_bytes(), RECOIL_ReadFile(), Set_pixel(), Set_pixel_24b(), and Unicode_strlen().
Referenced by Load_image().