2008-09-14 20:40:26 +00:00
|
|
|
/****************************************************************************
|
2008-09-17 02:27:55 +00:00
|
|
|
* Visual Boy Advance GX
|
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
* softdev 2007
|
|
|
|
*
|
|
|
|
* video.h
|
|
|
|
*
|
|
|
|
* Generic GX Support for Emulators
|
|
|
|
* NGC GX Video Functions
|
|
|
|
* These are pretty standard functions to setup and use GX scaling.
|
|
|
|
***************************************************************************/
|
|
|
|
|
2009-03-04 07:01:04 +00:00
|
|
|
#ifndef __VIDEOGX_H__
|
|
|
|
#define __VIDEOGX_H__
|
2008-09-14 20:40:26 +00:00
|
|
|
|
2008-09-16 05:42:21 +00:00
|
|
|
void InitialiseVideo ();
|
2009-01-14 06:10:02 +00:00
|
|
|
void GX_Render_Init(int width, int height);
|
2008-09-14 20:40:26 +00:00
|
|
|
void GX_Render(int width, int height, u8 * buffer, int pitch);
|
2008-10-09 06:48:46 +00:00
|
|
|
void clearscreen ();
|
2008-09-16 05:42:21 +00:00
|
|
|
void showscreen ();
|
2008-10-09 06:48:46 +00:00
|
|
|
void zoom (float speed);
|
|
|
|
void zoom_reset ();
|
2008-10-10 05:28:16 +00:00
|
|
|
void ResetVideo_Menu ();
|
2008-10-24 06:16:15 +00:00
|
|
|
void ResetVideo_Emu ();
|
2008-09-14 20:40:26 +00:00
|
|
|
|
2009-03-04 07:01:04 +00:00
|
|
|
extern int screenheight;
|
|
|
|
extern int screenwidth;
|
|
|
|
extern s32 CursorX, CursorY;
|
|
|
|
extern bool CursorVisible;
|
|
|
|
extern bool CursorValid;
|
|
|
|
extern bool TiltScreen;
|
|
|
|
extern float TiltAngle;
|
|
|
|
|
2008-09-14 20:40:26 +00:00
|
|
|
#endif
|