xtabdat8.h File Reference

Go to the source code of this file.

Data Structures

struct  IMGTAB_ATTRIB
struct  TABFILE_ITEM
struct  TABFILE
struct  DATFILE
struct  ENCIMAGEITEM
struct  ENCIMAGELIST
struct  IMAGEITEM
struct  IMAGELIST

Defines

#define msgprintf   message_log
#define XTABDAT8_COLOUR_LEAK   2
#define XTABDAT8_ENDOFBUFFER   4
#define XTABDAT8_NOMEMORY   8
#define XTABDAT8_CANT_OPEN   9
#define XTABDAT8_CANT_READ   10
#define XTABDAT8_MALLOC_ERR   11
#define XTABDAT8_INTERNAL   12
#define TABFILE_ENTRY_SIZE   6
#define TABFILE_HEADER_SIZE   6

Functions

DLLIMPORT int read_tabfile_data (struct TABFILE *tabf, const char *srcfname)
DLLIMPORT short write_tabfile_data (const struct TABFILE *tabf, const char *dstfname)
DLLIMPORT short free_tabfile_data (struct TABFILE *tabf)
DLLIMPORT short read_datfile_data (struct DATFILE *datf, const char *srcfname)
DLLIMPORT short write_datfile_data (const struct DATFILE *datf, const char *dstfname)
DLLIMPORT short alloc_datfile_data (struct DATFILE *datf, unsigned long filelength)
DLLIMPORT short free_datfile_data (struct DATFILE *datf)
DLLIMPORT int read_dattab_images (struct IMAGELIST *images, unsigned long *readcount, struct TABFILE *tabf, struct DATFILE *datf, const int verbose)
DLLIMPORT int free_dattab_images (struct IMAGELIST *images)
DLLIMPORT int read_dat_image_idx (struct IMAGEITEM *image, unsigned long *readedsize, const struct DATFILE *datf, const unsigned long off, const unsigned int width, const unsigned int height)
DLLIMPORT int read_dattab_encimages (struct ENCIMAGELIST *images, unsigned long *readcount, const struct TABFILE *tabf, const struct DATFILE *datf, const int verbose)
DLLIMPORT int write_encimages_dattab (const struct ENCIMAGELIST *images, unsigned long *writecount, struct TABFILE *tabf, struct DATFILE *datf)
DLLIMPORT short create_images_dattab_enc (struct ENCIMAGELIST *images, const char *datfname, const char *tabfname, const int verbose)
DLLIMPORT short write_dattab_images_enc (const struct ENCIMAGELIST *images, const char *datfname, const char *tabfname, const int verbose)
DLLIMPORT int create_images_dattab_idx (struct IMAGELIST *images, const char *datfname, const char *tabfname, const int verbose)


Define Documentation

#define msgprintf   message_log

#define TABFILE_ENTRY_SIZE   6

Definition at line 41 of file xtabdat8.h.

Referenced by create_images_dattab_enc(), read_tabfile_data(), and write_encimages_dattab().

#define TABFILE_HEADER_SIZE   6

Definition at line 42 of file xtabdat8.h.

Referenced by create_images_dattab_enc(), read_tabfile_data(), and write_tabfile_data().

#define XTABDAT8_CANT_OPEN   9

#define XTABDAT8_CANT_READ   10

Definition at line 35 of file xtabdat8.h.

Referenced by read_datfile_data(), and read_tabfile_data().

#define XTABDAT8_COLOUR_LEAK   2

Definition at line 31 of file xtabdat8.h.

Referenced by read_dat_image_idx(), read_dattab_images(), and read_jtytab_images().

#define XTABDAT8_ENDOFBUFFER   4

Definition at line 32 of file xtabdat8.h.

Referenced by read_dat_image_idx(), read_dattab_images(), and read_jtytab_images().

#define XTABDAT8_INTERNAL   12

Definition at line 37 of file xtabdat8.h.

#define XTABDAT8_MALLOC_ERR   11

Definition at line 36 of file xtabdat8.h.

Referenced by alloc_datfile_data(), and read_datfile_data().

#define XTABDAT8_NOMEMORY   8

Definition at line 33 of file xtabdat8.h.

Referenced by read_dat_image_idx(), and read_dattab_encimages().


Function Documentation

DLLIMPORT short alloc_datfile_data ( struct DATFILE datf,
unsigned long  filelength 
)

Definition at line 239 of file xtabdat8.c.

Referenced by write_encimages_dattab(), and write_encimages_jtytab().

DLLIMPORT short create_images_dattab_enc ( struct ENCIMAGELIST images,
const char *  datfname,
const char *  tabfname,
const int  verbose 
)

Definition at line 544 of file xtabdat8.c.

DLLIMPORT int create_images_dattab_idx ( struct IMAGELIST images,
const char *  datfname,
const char *  tabfname,
const int  verbose 
)

Definition at line 103 of file xtabdat8.c.

Referenced by load_draw_data().

DLLIMPORT short free_datfile_data ( struct DATFILE datf  ) 

DLLIMPORT int free_dattab_images ( struct IMAGELIST images  ) 

Definition at line 344 of file xtabdat8.c.

Referenced by free_draw_data().

DLLIMPORT short free_tabfile_data ( struct TABFILE tabf  ) 

DLLIMPORT int read_dat_image_idx ( struct IMAGEITEM image,
unsigned long *  readedsize,
const struct DATFILE datf,
const unsigned long  off,
const unsigned int  width,
const unsigned int  height 
)

Definition at line 358 of file xtabdat8.c.

Referenced by read_dattab_images(), and read_jtytab_images().

DLLIMPORT short read_datfile_data ( struct DATFILE datf,
const char *  srcfname 
)

DLLIMPORT int read_dattab_encimages ( struct ENCIMAGELIST images,
unsigned long *  readcount,
const struct TABFILE tabf,
const struct DATFILE datf,
const int  verbose 
)

Definition at line 447 of file xtabdat8.c.

Referenced by create_images_dattab_enc().

DLLIMPORT int read_dattab_images ( struct IMAGELIST images,
unsigned long *  readcount,
struct TABFILE tabf,
struct DATFILE datf,
const int  verbose 
)

Definition at line 291 of file xtabdat8.c.

Referenced by create_images_dattab_idx().

DLLIMPORT int read_tabfile_data ( struct TABFILE tabf,
const char *  srcfname 
)

Definition at line 181 of file xtabdat8.c.

Referenced by create_images_dattab_enc(), and create_images_dattab_idx().

DLLIMPORT short write_datfile_data ( const struct DATFILE datf,
const char *  dstfname 
)

Definition at line 271 of file xtabdat8.c.

Referenced by write_dattab_images_enc(), and write_jtytab_images_enc().

DLLIMPORT short write_dattab_images_enc ( const struct ENCIMAGELIST images,
const char *  datfname,
const char *  tabfname,
const int  verbose 
)

Definition at line 628 of file xtabdat8.c.

DLLIMPORT int write_encimages_dattab ( const struct ENCIMAGELIST images,
unsigned long *  writecount,
struct TABFILE tabf,
struct DATFILE datf 
)

Definition at line 510 of file xtabdat8.c.

Referenced by write_dattab_images_enc().

DLLIMPORT short write_tabfile_data ( const struct TABFILE tabf,
const char *  dstfname 
)

Definition at line 210 of file xtabdat8.c.

Referenced by write_dattab_images_enc().


Generated on Tue Sep 2 18:51:51 2008 for libAdikted by  doxygen 1.5.6