2008-08-06 03:09:59 +02:00
|
|
|
/****************************************************************************
|
2008-09-12 07:28:40 +02:00
|
|
|
* Snes9x 1.51 Nintendo Wii/Gamecube Port
|
2008-08-06 03:09:59 +02:00
|
|
|
*
|
|
|
|
* softdev July 2006
|
2008-09-23 06:13:33 +02:00
|
|
|
* Michniewski 2008
|
2008-09-11 06:41:58 +02:00
|
|
|
*
|
|
|
|
* video.h
|
|
|
|
*
|
|
|
|
* Video routines
|
2008-09-12 07:28:40 +02:00
|
|
|
***************************************************************************/
|
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#ifndef _GCVIDEOH_
|
|
|
|
|
|
|
|
#define _GCVIDEOH_
|
2008-09-11 06:41:58 +02:00
|
|
|
|
2008-08-06 03:39:43 +02:00
|
|
|
#include <ogcsys.h>
|
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#include "snes9x.h"
|
|
|
|
|
2009-03-11 18:28:37 +01:00
|
|
|
void AllocGfxMem();
|
|
|
|
void FreeGfxMem();
|
2008-08-06 03:09:59 +02:00
|
|
|
void InitGCVideo ();
|
2009-03-11 18:28:37 +01:00
|
|
|
void StopGX();
|
2008-08-24 01:15:58 +02:00
|
|
|
void ResetVideo_Emu ();
|
2008-08-06 03:09:59 +02:00
|
|
|
void setGFX ();
|
|
|
|
void update_video (int width, int height);
|
|
|
|
void zoom (float speed);
|
2008-08-24 01:15:58 +02:00
|
|
|
void zoom_reset ();
|
2008-08-06 03:09:59 +02:00
|
|
|
|
2009-03-11 18:28:37 +01: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);
|
|
|
|
|
|
|
|
extern int screenheight;
|
|
|
|
extern int screenwidth;
|
2008-09-11 06:41:58 +02:00
|
|
|
extern bool progressive;
|
2009-03-11 18:28:37 +01:00
|
|
|
extern u8 * gameScreenTex;
|
|
|
|
extern u8 * gameScreenTex2;
|
2008-09-11 06:41:58 +02:00
|
|
|
|
2008-08-06 03:09:59 +02:00
|
|
|
#endif
|