fceugx/source/fceultra/video.h

31 lines
819 B
C
Raw Normal View History

2009-07-17 19:27:04 +02:00
int FCEU_InitVirtualVideo(void);
void FCEU_KillVirtualVideo(void);
int SaveSnapshot(void);
2010-08-29 23:15:42 +02:00
int SaveSnapshot(char[]);
uint32 GetScreenPixel(int x, int y, bool usebackup);
int GetScreenPixelPalette(int x, int y, bool usebackup);
2009-07-17 19:27:04 +02:00
extern uint8 *XBuf;
extern uint8 *XBackBuf;
extern int ClipSidesOffset;
extern struct GUIMESSAGE
{
//countdown for gui messages
int howlong;
//the current gui message
char errmsg[110];
//indicates that the movie should be drawn even on top of movies
bool isMovieMessage;
2010-08-29 23:15:42 +02:00
//in case of multiple lines, allow one to move the message
int linesFromBottom;
2009-07-17 19:27:04 +02:00
} guiMessage;
extern GUIMESSAGE subtitleMessage;
void FCEU_DrawNumberRow(uint8 *XBuf, int *nstatus, int cur);
2010-08-29 23:15:42 +02:00
std::string FCEUI_GetSnapshotAsName();
void FCEUI_SetSnapshotAsName(std::string name);