src/screenshot.h
author rubidium
Sun, 25 Mar 2007 15:22:56 +0000
branchnoai
changeset 9528 b2cc6f31363c
parent 6574 e1d1a12faaf7
child 6719 4cc327ad39d5
permissions -rw-r--r--
(svn r9448) [NoAI] -Codechange: extend the squirrel_export script to update ai_squirrel too.
/* $Id$ */

#ifndef SCREENSHOT_H
#define SCREENSHOT_H

void InitializeScreenshotFormats();

const char *GetScreenshotFormatDesc(int i);
void SetScreenshotFormat(int i);

enum ScreenshotType {
	SC_NONE,
	SC_VIEWPORT,
	SC_WORLD
};

bool MakeScreenshot();
void SetScreenshotType(ScreenshotType t);
bool IsScreenshotRequested();

extern char _screenshot_format_name[8];
extern uint _num_screenshot_formats;
extern uint _cur_screenshot_format;

#endif /* SCREENSHOT_H */