00001 00007 /* 00008 This file is part of Advanced Strategic Command; http://www.asc-hq.de 00009 Copyright (C) 1994-2010 Martin Bickel and Marc Schellenberger 00010 00011 This program is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU General Public License as published by 00013 the Free Software Foundation; either version 2 of the License, or 00014 (at your option) any later version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; see the file COPYING. If not, write to the 00023 Free Software Foundation, Inc., 59 Temple Place, Suite 330, 00024 Boston, MA 02111-1307 USA 00025 */ 00026 00027 #ifndef loadpcx_h 00028 #define loadpcx_h 00029 00030 #include "basestrm.h" 00031 #include "basegfx.h" 00032 #include "ascstring.h" 00033 00034 // extern char loadpcxxy ( const ASCString& name, bool setpal, int xpos, int ypos, int* xsize = NULL, int* ysize = NULL ); 00035 // extern char loadpcxxy( pnstream stream, int x, int y, bool setpalette = false, int* xsize = NULL, int* ysize = NULL ); 00036 extern void writepcx ( const ASCString& name, int x1, int y1, int x2, int y2, dacpalette256 pal ); 00037 extern void writepcx ( const ASCString& name, const Surface& s ); 00038 extern void writepcx ( const ASCString& name, const Surface& s, const SDLmm::SRect& rect ); 00039 // extern int pcxGetColorDepth ( const ASCString& name, int* width = NULL, int* height= NULL ); 00040 00041 #endif
1.5.1