Advanced Strategic Command
Classes | Functions
loadpcxc.cpp File Reference

Loading and storing images in PCX format, written in C. More...

#include <stdio.h>
#include <cstring>
#include "basestrm.h"
#include "misc.h"
#include "loadpcx.h"
Include dependency graph for loadpcxc.cpp:

Go to the source code of this file.

Classes

struct  tpcxheader
 

Functions

void writepcx (const ASCString &name, int x1, int y1, int x2, int y2, dacpalette256 pal)
 
void writepcx (const ASCString &name, const Surface &s)
 
void writepcx (const ASCString &name, const Surface &s, const SDLmm::SRect &rect)
 

Detailed Description

Loading and storing images in PCX format, written in C.

There is also an optimized assembler version for the DOS version around which is called loadpcx.cpp , but not used any more.

Definition in file loadpcxc.cpp.

Function Documentation

void writepcx ( const ASCString name,
int  x1,
int  y1,
int  x2,
int  y2,
dacpalette256  pal 
)
void writepcx ( const ASCString name,
const Surface s 
)

Definition at line 366 of file loadpcxc.cpp.

References writepcx().

void writepcx ( const ASCString name,
const Surface s,
const SDLmm::SRect &  rect 
)