source: abuse/trunk/src/imlib/include/pcxread.hpp @ 56

Last change on this file since 56 was 56, checked in by Sam Hocevar, 15 years ago
  • Add licensing terms to most C / C++ files (Ref #5).
File size: 640 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef __PCX_READ_HPP__
11#define __PCX_READ_HPP__
12
13#include "image.hpp"
14#include "image24.hpp"
15#include "palette.hpp"
16
17enum PCX_type { not_PCX, PCX_8, PCX_24 };
18
19PCX_type PCX_file_type(char const *filename);
20image24 *read_PCX24(char const *filename);
21image *read_PCX(char const *filename, palette *&pal);
22void write_PCX(image *im, palette *pal, char const *filename);
23
24#endif
Note: See TracBrowser for help on using the repository browser.