# screenshot.h

Go to the documentation of this file.

    00001 /* $Id: screenshot.h 9556 2007-04-04 01:35:16Z belugas $ */
    00002
    00005 #ifndef SCREENSHOT_H
    00006 #define SCREENSHOT_H
    00007
    00008 void InitializeScreenshotFormats();
    00009
    00010 const char *GetScreenshotFormatDesc(int i);
    00011 void SetScreenshotFormat(int i);
    00012
    00013 enum ScreenshotType {
    00014   SC_NONE,
    00015   SC_VIEWPORT,
    00016   SC_WORLD
    00017 };
    00018
    00019 bool MakeScreenshot();
    00020 void SetScreenshotType(ScreenshotType t);
    00021 bool IsScreenshotRequested();
    00022
    00023 extern char _screenshot_format_name[8];
    00024 extern uint _num_screenshot_formats;
    00025 extern uint _cur_screenshot_format;
    00026
    00027 #endif /* SCREENSHOT_H */