2005-07-24 14:12:37 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2004-11-15 19:25:59 +00:00
|
|
|
#ifndef SCREENSHOT_H
|
|
|
|
#define SCREENSHOT_H
|
|
|
|
|
|
|
|
void InitializeScreenshotFormats(void);
|
|
|
|
|
|
|
|
const char *GetScreenshotFormatDesc(int i);
|
|
|
|
void SetScreenshotFormat(int i);
|
|
|
|
|
2006-07-28 21:51:00 +00:00
|
|
|
typedef enum ScreenshotType {
|
|
|
|
SC_NONE,
|
|
|
|
SC_VIEWPORT,
|
|
|
|
SC_WORLD
|
|
|
|
} ScreenshotType;
|
|
|
|
|
2004-11-15 19:25:59 +00:00
|
|
|
bool MakeScreenshot(void);
|
2006-07-28 21:51:00 +00:00
|
|
|
void SetScreenshotType(ScreenshotType t);
|
|
|
|
bool IsScreenshotRequested(void);
|
2004-11-15 19:25:59 +00:00
|
|
|
|
2005-07-19 06:47:07 +00:00
|
|
|
extern char _screenshot_format_name[8];
|
|
|
|
extern uint _num_screenshot_formats;
|
|
|
|
extern uint _cur_screenshot_format;
|
|
|
|
|
2005-09-18 20:56:44 +00:00
|
|
|
#endif /* SCREENSHOT_H */
|