2005-07-24 16:12:37 +02:00
|
|
|
/* $Id$ */
|
|
|
|
|
2008-05-06 17:11:33 +02:00
|
|
|
/** @file screenshot.h Functions to make screenshots. */
|
2007-04-04 03:35:16 +02:00
|
|
|
|
2004-11-15 20:25:59 +01:00
|
|
|
#ifndef SCREENSHOT_H
|
|
|
|
#define SCREENSHOT_H
|
|
|
|
|
2007-03-07 12:47:46 +01:00
|
|
|
void InitializeScreenshotFormats();
|
2004-11-15 20:25:59 +01:00
|
|
|
|
|
|
|
const char *GetScreenshotFormatDesc(int i);
|
|
|
|
void SetScreenshotFormat(int i);
|
|
|
|
|
2007-03-07 13:11:48 +01:00
|
|
|
enum ScreenshotType {
|
2006-07-28 23:51:00 +02:00
|
|
|
SC_NONE,
|
|
|
|
SC_VIEWPORT,
|
|
|
|
SC_WORLD
|
2007-03-07 13:11:48 +01:00
|
|
|
};
|
2006-07-28 23:51:00 +02:00
|
|
|
|
2007-03-07 12:47:46 +01:00
|
|
|
bool MakeScreenshot();
|
2006-07-28 23:51:00 +02:00
|
|
|
void SetScreenshotType(ScreenshotType t);
|
2007-03-07 12:47:46 +01:00
|
|
|
bool IsScreenshotRequested();
|
2004-11-15 20:25:59 +01:00
|
|
|
|
2005-07-19 08:47:07 +02:00
|
|
|
extern char _screenshot_format_name[8];
|
|
|
|
extern uint _num_screenshot_formats;
|
|
|
|
extern uint _cur_screenshot_format;
|
|
|
|
|
2005-09-18 22:56:44 +02:00
|
|
|
#endif /* SCREENSHOT_H */
|