snes9xgx/source/ngc/video.h
2009-03-11 17:28:37 +00:00

43 lines
982 B
C

/****************************************************************************
* Snes9x 1.51 Nintendo Wii/Gamecube Port
*
* softdev July 2006
* Michniewski 2008
*
* video.h
*
* Video routines
***************************************************************************/
#ifndef _GCVIDEOH_
#define _GCVIDEOH_
#include <ogcsys.h>
#include "snes9x.h"
void AllocGfxMem();
void FreeGfxMem();
void InitGCVideo ();
void StopGX();
void ResetVideo_Emu ();
void setGFX ();
void update_video (int width, int height);
void zoom (float speed);
void zoom_reset ();
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;
extern bool progressive;
extern u8 * gameScreenTex;
extern u8 * gameScreenTex2;
#endif