tron@2186: /* $Id$ */ tron@2186: rubidium@10455: /** @file screenshot.h Functions to make screenshots. */ glx@9574: tron@430: #ifndef SCREENSHOT_H tron@430: #define SCREENSHOT_H tron@430: rubidium@6573: void InitializeScreenshotFormats(); tron@430: tron@430: const char *GetScreenshotFormatDesc(int i); tron@430: void SetScreenshotFormat(int i); tron@430: rubidium@6574: enum ScreenshotType { belugas@4184: SC_NONE, belugas@4184: SC_VIEWPORT, belugas@4184: SC_WORLD rubidium@6574: }; belugas@4184: rubidium@6573: bool MakeScreenshot(); belugas@4184: void SetScreenshotType(ScreenshotType t); rubidium@6573: bool IsScreenshotRequested(); tron@430: tron@2121: extern char _screenshot_format_name[8]; tron@2121: extern uint _num_screenshot_formats; tron@2121: extern uint _cur_screenshot_format; tron@2121: Darkvater@2436: #endif /* SCREENSHOT_H */