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
|
|
|
|
*
|
2009-04-08 09:08:12 +02:00
|
|
|
* Video routines
|
2008-09-17 04:27:55 +02:00
|
|
|
***************************************************************************/
|
|
|
|
|
2009-04-08 09:08:12 +02:00
|
|
|
#ifndef _GCVIDEOH_
|
|
|
|
#define _GCVIDEOH_
|
2008-09-14 22:40:26 +02:00
|
|
|
|
2009-04-08 09:08:12 +02:00
|
|
|
#include <ogcsys.h>
|
|
|
|
|
|
|
|
void InitializeVideo ();
|
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);
|
2009-04-08 09:08:12 +02:00
|
|
|
void StopGX();
|
|
|
|
void ResetVideo_Emu();
|
2008-10-09 08:48:46 +02:00
|
|
|
void zoom (float speed);
|
|
|
|
void zoom_reset ();
|
2009-04-08 09:08:12 +02:00
|
|
|
|
|
|
|
void ResetVideo_Menu();
|
|
|
|
void TakeScreenshot();
|
|
|
|
void Menu_Render();
|
|
|
|
void Menu_DrawImg(f32 xpos, f32 ypos, u16 width, u16 height, u8 data[], f32 degrees, f32 scaleX, f32 scaleY, u8 alphaF );
|
|
|
|
void Menu_DrawRectangle(f32 x, f32 y, f32 width, f32 height, GXColor color, u8 filled);
|
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;
|
2009-04-08 09:08:12 +02:00
|
|
|
extern u8 * gameScreenTex;
|
|
|
|
extern u8 * gameScreenTex2;
|
2009-06-27 22:06:26 +02:00
|
|
|
extern u32 FrameTimer;
|
2009-03-04 08:01:04 +01:00
|
|
|
|
2008-09-14 22:40:26 +02:00
|
|
|
#endif
|