]> Shamusworld >> Repos - stargem2/blob - src/sdlemu_opengl.h
Virtual 6809 is close to being 100% at this point; at least StarGem works
[stargem2] / src / sdlemu_opengl.h
1 /*
2  * SDLEMU library - Free sdl related functions library
3  * Copyrigh(c) 1999-2002 sdlemu development crew
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #ifndef __SDLEMU_OPENGL_H__
21 #define __SDLEMU_OPENGL_H__
22
23 #include "SDL.h"
24 #include "SDL_opengl.h"
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 void sdlemu_init_opengl(SDL_Surface * src, SDL_Surface * dst, int texturetype, int filter, int src_bpp);
31 void sdlemu_draw_texture(SDL_Surface * dst, SDL_Surface * src, int texturetype);
32 void sdlemu_close_opengl(void);
33 void sdlemu_create_texture(SDL_Surface * src, SDL_Surface * dst, int filter, int src_bpp);
34 void * sdlemuGetOverlayPixels(void);
35 Uint32 sdlemuGetOverlayWidthInPixels(void);
36 void sdlemuEnableOverlay(void);
37 void sdlemuDisableOverlay(void);
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif