screenshot.h
author tron
Mon, 12 Sep 2005 09:53:56 +0000
changeset 2420 0c1ee5dc7072
parent 2186 db48cf29b983
child 2436 7d5df545bd5d
permissions -rw-r--r--
(svn r2946) Remove redundant calls, simplify a check and terminate the argument list of execlp() as suggested by the manpage to make it correctly work on 64bit platforms
/* $Id$ */

#ifndef SCREENSHOT_H
#define SCREENSHOT_H

void InitializeScreenshotFormats(void);

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

bool MakeScreenshot(void);
bool MakeWorldScreenshot(int left, int top, int width, int height, int zoom);

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

#endif