src/screenshot.h
changeset 5475 2e6990a8c7c4
parent 4184 541f819f2125
child 6247 7d81e3a5d803
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/screenshot.h	Tue Jan 02 19:19:48 2007 +0000
@@ -0,0 +1,25 @@
+/* $Id$ */
+
+#ifndef SCREENSHOT_H
+#define SCREENSHOT_H
+
+void InitializeScreenshotFormats(void);
+
+const char *GetScreenshotFormatDesc(int i);
+void SetScreenshotFormat(int i);
+
+typedef enum ScreenshotType {
+	SC_NONE,
+	SC_VIEWPORT,
+	SC_WORLD
+} ScreenshotType;
+
+bool MakeScreenshot(void);
+void SetScreenshotType(ScreenshotType t);
+bool IsScreenshotRequested(void);
+
+extern char _screenshot_format_name[8];
+extern uint _num_screenshot_formats;
+extern uint _cur_screenshot_format;
+
+#endif /* SCREENSHOT_H */