source: abuse/trunk/src/imlib/ppmread.hpp @ 57

Last change on this file since 57 was 57, checked in by Sam Hocevar, 15 years ago
  • Move each header to the same directory as its corresponding source, to get a better idea of which files are likely to export symbols.
File size: 532 bytes
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 */
10#ifndef __PPMREAD__
11#define __PPMREAD__
12#include "image.hpp"
13#include "palette.hpp"
14#define PPM_R3G3B2 1
15#define PPM_BW 2
16#define PPM_REG 3
17extern image *read_ppm(char *fn,palette *&pal, int pal_type=0);
18extern void write_ppm(image *im,palette *pal,char *fn);
Note: See TracBrowser for help on using the repository browser.