00001 /* Grafx2 - The Ultimate 256-color bitmap paint program 00002 00003 Copyright 2008 Yves Rizoud 00004 Copyright 2007 Adrien Destugues 00005 Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud) 00006 00007 Grafx2 is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 as published by the Free Software Foundation; version 2 00010 of the License. 00011 00012 Grafx2 is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Grafx2; if not, see <http://www.gnu.org/licenses/> or 00019 write to the Free Software Foundation, Inc., 00020 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 #ifndef SDLSCREEN_H_INCLUDED 00023 #define SDLSCREEN_H_INCLUDED 00024 00025 #include <SDL.h> 00026 #include "struct.h" 00027 00028 void Set_Mode_SDL(int *,int *,int); 00029 00030 SDL_Rect ** Liste_Modes_Videos_SDL; 00031 byte* Ecran; 00032 00033 void UpdateRect(short X, short Y, unsigned short Largeur, unsigned short Hauteur); 00034 void Flush_update(void); 00035 byte * Surface_en_bytefield(SDL_Surface *Source, byte * Destination); 00036 SDL_Color Conversion_couleur_SDL(byte); 00037 byte Sdl_Get_pixel_8(SDL_Surface *Bmp, int X, int Y); 00038 00039 #endif // SDLSCREEN_H_INCLUDED
1.5.8