tron@2186: /* $Id$ */ tron@2186: rubidium@9111: /** @file screenshot.h Functions to make screenshots. */ belugas@6420: tron@430: #ifndef SCREENSHOT_H tron@430: #define SCREENSHOT_H tron@430: rubidium@6247: void InitializeScreenshotFormats(); tron@430: tron@430: const char *GetScreenshotFormatDesc(int i); tron@430: void SetScreenshotFormat(int i); tron@430: rubidium@6248: enum ScreenshotType { belugas@4184: SC_NONE, belugas@4184: SC_VIEWPORT, belugas@4184: SC_WORLD rubidium@6248: }; belugas@4184: rubidium@6247: bool MakeScreenshot(); belugas@4184: void SetScreenshotType(ScreenshotType t); rubidium@6247: 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 */