screenshot.h
author tron
Wed, 28 Jun 2006 05:47:55 +0000
changeset 4079 30cac8061fa2
parent 2436 177cb6a8339f
child 4184 f38abcb8b18d
permissions -rw-r--r--
(svn r5394) Allocate a small, fixed-size array on the stack instead of malloc()ing it
/* $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 /* SCREENSHOT_H */