/* * Abuse - dark 2D side-scrolling platform game * Copyright (c) 1995 Crack dot Com * * This software was released into the Public Domain. As with most public * domain software, no warranty is made or implied by Crack dot Com or * Jonathan Clark. */ #ifndef __PCX_READ_HPP__ #define __PCX_READ_HPP__ #include "image.hpp" #include "image24.hpp" #include "palette.hpp" enum PCX_type { not_PCX, PCX_8, PCX_24 }; PCX_type PCX_file_type(char const *filename); image24 *read_PCX24(char const *filename); image *read_PCX(char const *filename, palette *&pal); void write_PCX(image *im, palette *pal, char const *filename); #endif