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

Last change on this file since 56 was 56, checked in by Sam Hocevar, 14 years ago
  • Add licensing terms to most C / C++ files (Ref #5).
File size: 532 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 __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);
19#endif
20
Note: See TracBrowser for help on using the repository browser.