mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#ifndef __PCX_
|
||||
#define __PCX_
|
||||
|
||||
#include "types.h"
|
||||
#include "himage.h"
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT8 ubManufacturer;
|
||||
UINT8 ubVersion;
|
||||
UINT8 ubEncoding;
|
||||
UINT8 ubBitsPerPixel;
|
||||
UINT16 usLeft, usTop;
|
||||
UINT16 usRight, usBottom;
|
||||
UINT16 usHorRez, usVerRez;
|
||||
UINT8 ubEgaPalette[48];
|
||||
UINT8 ubReserved;
|
||||
UINT8 ubColorPlanes;
|
||||
UINT16 usBytesPerLine;
|
||||
UINT16 usPaletteType;
|
||||
UINT8 ubFiller[58];
|
||||
|
||||
} PcxHeader;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT8 *pPcxBuffer;
|
||||
UINT8 ubPalette[768];
|
||||
UINT16 usWidth, usHeight;
|
||||
UINT32 uiBufferSize;
|
||||
UINT16 usPcxFlags;
|
||||
|
||||
} PcxObject;
|
||||
|
||||
BOOLEAN LoadPCXFileToImage( HIMAGE hImage, UINT16 fContents );
|
||||
PcxObject *LoadPcx(UINT8 *pFilename);
|
||||
BOOLEAN BlitPcxToBuffer( PcxObject *pCurrentPcxObject, UINT8 *pBuffer, UINT16 usBufferWidth, UINT16 usBufferHeight, UINT16 usX, UINT16 usY, BOOLEAN fTransp);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user