Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
pcx.cpp File Reference
#include "always.h"
#include "pcx.h"
#include <stdlib.h>

Go to the source code of this file.

Macros

#define POOL_SIZE   2048
 
#define READ_CHAR()
 
#define READ_CHARx()
 

Functions

SurfaceRead_PCX_File (FileClass &file_handle, PaletteClass *palette, void *Buff, long Size)
 

Macro Definition Documentation

◆ POOL_SIZE

#define POOL_SIZE   2048

Definition at line 67 of file pcx.cpp.

◆ READ_CHAR

#define READ_CHAR ( )
Value:
*file_ptr++ ; \
if ( file_ptr >= & pool [ POOL_SIZE ] ) { \
file_handle.Read (pool, POOL_SIZE ); \
file_ptr = pool ; \
}
#define POOL_SIZE
Definition pcx.cpp:67

Definition at line 68 of file pcx.cpp.

◆ READ_CHARx

#define READ_CHARx ( )
Value:
*file_ptr++ ; \
if ( file_ptr >= & pool [ POOL_SIZE ] ) { \
file_handle.Read (pool, POOL_SIZE ); \
}

Definition at line 73 of file pcx.cpp.

Function Documentation

◆ Read_PCX_File()

Surface * Read_PCX_File ( FileClass & file_handle,
PaletteClass * palette,
void * Buff,
long Size )

Definition at line 79 of file pcx.cpp.