2008-09-14 22:40:26 +02:00
|
|
|
/****************************************************************************
|
2008-09-17 04:27:55 +02: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 08:01:04 +01:00
|
|
|
#ifndef __VIDEOGX_H__
|
|
|
|
#define __VIDEOGX_H__
|
2008-09-14 22:40:26 +02:00
|
|
|
|
2008-09-16 07:42:21 +02:00
|
|
|
void InitialiseVideo ();
|
2009-01-14 07:10:02 +01:00
|
|
|
void GX_Render_Init(int width, int height);
|
2008-09-14 22:40:26 +02:00
|
|
|
void GX_Render(int width, int height, u8 * buffer, int pitch);
|
2008-10-09 08:48:46 +02:00
|
|
|
void clearscreen ();
|
2008-09-16 07:42:21 +02:00
|
|
|
void showscreen ();
|
2008-10-09 08:48:46 +02:00
|
|
|
void zoom (float speed);
|
|
|
|
void zoom_reset ();
|
2008-10-10 07:28:16 +02:00
|
|
|
void ResetVideo_Menu ();
|
2008-10-24 08:16:15 +02:00
|
|
|
void ResetVideo_Emu ();
|
2008-09-14 22:40:26 +02:00
|
|
|
|
2009-03-04 08:01:04 +01: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 22:40:26 +02:00
|
|
|
#endif
|