Mercurial > hg > openttd
view src/screenshot.h @ 10515:7156262cf0c9 draft
(svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 29 Dec 2008 21:50:25 +0000 |
parents | d48433370037 |
children | bc7926153e19 |
line wrap: on
line source
/* $Id$ */ /** @file screenshot.h Functions to make screenshots. */ #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 */