00001 /* 00002 SDL_console: An easy to use drop-down console based on the SDL library 00003 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Clemens Wacha 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WHITOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library Generla Public 00016 License along with this library; if not, write to the Free 00017 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 00019 Clemens Wacha 00020 reflex-2000@gmx.net 00021 */ 00022 00023 #ifndef _internal_h_ 00024 #define _internal_h_ 00025 00026 00027 #define PRINT_ERROR(X) fprintf(stderr, "ERROR in %s:%s(): %s\n", __FILE__, __FUNCTION__, X) 00028 00029 Uint32 DT_GetPixel(SDL_Surface *surface, int x, int y); 00030 void DT_PutPixel(SDL_Surface *surface, int x, int y, Uint32 pixel); 00031 00032 00033 #endif /* _internal_h_ */ 00034 00035
1.3.2