#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) |
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.
Definition at line 371 of file loadpcxc.cpp.
References tn_file_buf_stream::seek(), tnstream::writeChar(), tnbufstream::writedata(), and tnstream::writing.
| void writepcx | ( | const ASCString & | name, | |
| int | x1, | |||
| int | y1, | |||
| int | x2, | |||
| int | y2, | |||
| dacpalette256 | pal | |||
| ) |
Definition at line 277 of file loadpcxc.cpp.
References agmp, tgraphmodeparameters::byteperpix, getpixel(), tn_file_buf_stream::seek(), tnstream::writeChar(), tnbufstream::writedata(), and tnstream::writing.
1.5.1