mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 04:34:51 -04:00
github publish
This commit is contained in:
commit
506e23bf32
542 changed files with 120675 additions and 0 deletions
25
PCX/PCX.H
Normal file
25
PCX/PCX.H
Normal file
|
@ -0,0 +1,25 @@
|
|||
#define A_8BIT 8
|
||||
#define A_15BIT 15
|
||||
#define A_FADE_PAL 256*8
|
||||
|
||||
typedef struct pcxrecord
|
||||
{
|
||||
unsigned short id;
|
||||
char encoding;
|
||||
char bitperpixel;
|
||||
unsigned short xmin,ymin,xmax,ymax;
|
||||
unsigned short hdpi,vdpi;
|
||||
char colormap[48];
|
||||
char reserved;
|
||||
char mplanes;
|
||||
unsigned short bytesperline;
|
||||
unsigned short paleteinfo;
|
||||
unsigned short hscreen,vscreen;
|
||||
char filler[54];
|
||||
}PCXHEADER;
|
||||
|
||||
|
||||
|
||||
int load_pcx(char *pcx,long fsize,int conv_type,char **buffer, ... );
|
||||
int open_pcx(char *filename,int type,char **buffer,...);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue